body { padding: 0 3em 0 5em; } #header { margin-left: -2.125em; } .content { position: relative; height: 100%; padding-bottom: 7.1875em; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */ } .menu .content { padding-right: 27em; margin-right: -24.375em; } .menu .content > .main { float: left; min-height: 1em; position: relative; width: 100%; } .nomenu .content > .main { 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; } .menu .content > .marginal { float: left; margin: 0 -27em 0 2.625em; padding: 0 2em 1.0625em 2em; position: relative; width: 20.375em; background-color: @heller; } .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; } #nav { position: absolute; top: 0; right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */ width: 100%; } .menu #nav { position: relative; top: auto; right: auto; width: 22.375em; /** 358px = 326px + 32px*/ } .menu #menu { margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */ } .nomenu #menu { position: absolute; top: -7em; /** 112px */ right: 0; margin: 0; } /** Always display vertical scroll-bars */ body { overflow-y: scroll; } /** Center content, when screen is bigger than 1240 */ #page { max-width: 62.375em; /** 608px + 390px (Marginalspalte) = ca. 1000px */ margin: 0 auto; } /** Faux-Column-Hack-Eigengewächs */ .menu #page { max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */ border-right: 24.375em solid @heller; } #header { padding-top: 1em; } .menu #header { margin-right: -24.375em; background-color: @hintergrund; } .menu #breadcrumb { right: -24.375em; /** Weil der Breadcrumb sonst an der Faux-Column umbricht! */ } .nomenu #footer { border-top: 1.5em solid @hintergrund; background-color: @hintergrund; } .menu #footer { margin-right: -24.375em; background-color: @hintergrund; }