X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=src%2Fmain%2Fwebapp%2Fless%2Fscreen%2Flayout.less;h=a4fd785e60d9690fb19293b039aad908673de161;hp=92cc19ac845bf2e1173c6e08a03f7dba1909e2c2;hb=a06a8f90ea1c87ca482ac7de085883a6d92cd213;hpb=687c0f2b0e183abdbfcd5e262d2ba7977d910a28 diff --git a/src/main/webapp/less/screen/layout.less b/src/main/webapp/less/screen/layout.less index 92cc19ac..a4fd785e 100644 --- a/src/main/webapp/less/screen/layout.less +++ b/src/main/webapp/less/screen/layout.less @@ -14,24 +14,31 @@ body height: 100%; padding-bottom: 7.1875em; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */ } -.cols_2 > .content +.menu .content { padding-right: 27em; margin-right: -24.375em; } -.cols_2 > .content > .main +.menu .content > .main { float: left; min-height: 1em; position: relative; width: 100%; } -.cols_1 > .content > .marginal +.nomenu .content > .main { - margin-top: 3em; + margin-bottom: 7em; +} +.nomenu .content > .marginal aside.m +{ + margin: 3.5em 0 -999em 0; + padding: 2em 2em 995em 2em; background-color: @heller; + position: relative; + top: -4.5em; } -.cols_2 > .content > .marginal +.menu .content > .marginal { float: left; margin: 0 -27em 0 2.625em; @@ -54,10 +61,6 @@ body { margin-top: 0; } -.cols_1 > .content > .marginal aside.m -{ - padding: 2em; -} #nav { position: absolute; @@ -65,18 +68,18 @@ body right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */ width: 100%; } -.cols_2 #nav +.menu #nav { position: relative; top: auto; right: auto; width: 22.375em; /** 358px = 326px + 32px*/ } -.cols_2 #menu +.menu #menu { margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */ } -.cols_1 #menu +.nomenu #menu { position: absolute; top: -7em; /** 112px */ @@ -95,7 +98,7 @@ body { overflow-y: scroll; } } /** Faux-Column-Hack-Eigengewächs */ -#page.cols_2 +.menu #page { max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */ border-right: 24.375em solid @heller; @@ -104,16 +107,21 @@ body { overflow-y: scroll; } { padding-top: 1em; } -.cols_2 > #header +.menu #header { margin-right: -24.375em; background-color: @hintergrund; } -.cols_2 > #breadcrumb +.menu #breadcrumb { right: -24.375em; /** Weil der Breadcrumb sonst an der Faux-Column umbricht! */ } -.cols_2 > #footer +.nomenu #footer +{ + border-top: 1.5em solid @hintergrund; + background-color: @hintergrund; +} +.menu #footer { margin-right: -24.375em; background-color: @hintergrund;