From: Kai Moritz Date: Sat, 21 Dec 2013 17:32:14 +0000 (+0100) Subject: Die Marginalspalte auch auf Seiten mit einspaltigem Layout hervorgehoben X-Git-Tag: thymeroot-2.0.0~159 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=173a4c37630f1d30aacc1ab5af8d0f57adc234b3;p=website Die Marginalspalte auch auf Seiten mit einspaltigem Layout hervorgehoben --- diff --git a/src/main/webapp/less/screen/footer.less b/src/main/webapp/less/screen/footer.less index baedc495..513fdd26 100644 --- a/src/main/webapp/less/screen/footer.less +++ b/src/main/webapp/less/screen/footer.less @@ -4,6 +4,10 @@ { padding: 2em 0; } +.cols_1 > #footer +{ + padding-top: 0; +} #footer > hr { display: none; diff --git a/src/main/webapp/less/screen/layout.less b/src/main/webapp/less/screen/layout.less index cad786e4..e99be044 100644 --- a/src/main/webapp/less/screen/layout.less +++ b/src/main/webapp/less/screen/layout.less @@ -21,6 +21,11 @@ body position: relative; width: 100%; } +.cols_1 > .content > .marginal +{ + margin: 3em 0; + background-color: @heller; +} .cols_2 > .content > .marginal { float: left; @@ -30,13 +35,24 @@ body width: 20.375em; background-color: @heller; } -.cols_2 > .content > .marginal h1, -.cols_2 > .content > .marginal h2, -.cols_2 > .content > .marginal h3, -.cols_2 > .content > .marginal h4 +.content > .marginal h1, +.content > .marginal h2, +.content > .marginal h3, +.content > .marginal h4 { color: @hintergrund; } +.content > .marginal h1:first-child, +.content > .marginal h2:first-child, +.content > .marginal h3:first-child, +.content > .marginal h4:first-child +{ + margin-top: 0; +} +.cols_1 > .content > .marginal div.m +{ + padding: 2em; +} .content #nav { position: absolute;