-@import '../variables.less';
+/** Seite gesamt (Abmessungen, Aussenabstände etc.) */
-.content
+body
{
- position: relative;
+ padding: 0;
+ overflow-y: scroll; /** Die vertikale Scroll-Leiste stets anzeigen */
+}
+#page
+{
+ margin: 0 auto; /** Seiteninhalte zentrieren, wenn max-width des Inhalts (s.u.) erreicht ist */
+}
+
+
+/** Seitenaufteilung mit Menü (Zweispaltig) */
+
+body.menu
+{
+ padding: 0 3em 0 5em;
}
-.content.cols_2
+.menu .content
{
- padding: 0 27em 0 0;
- background-image: url('../../img/bg.gif');
- background-repeat: repeat-y;
- background-position: right top;
+ position: relative;
+ padding: 0 27em 7.1875em 0; /** Unten: 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */
}
-.content.cols_2 > .main
+.menu .content > .main
{
float: left;
min-height: 1em;
position: relative;
width: 100%;
}
-.content.cols_2 > .marginal
+.menu .content > .marginal
{
float: left;
margin: 0 -27em 0 2.625em;
width: 20.375em;
background-color: @heller;
}
-.content #nav
+
+/** Anpassungen für Seiten ohne Menü (Einspaltig) */
+
+.nomenu #page
+{
+ max-width: 62.375em;
+ padding: 0 3em 0 5em;
+ overflow: hidden;
+}
+.nomenu .content
+{
+ position: relative;
+ padding: 0 0 7.1875em 0; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */
+}
+.nomenu .content > .main
+{
+ margin-bottom: 7em;
+}
+
+
+/** Seitenkopf positionieren */
+
+#header
+{
+ margin-left: -2.125em;
+}
+#header > hr.h
+{
+ display: none;
+}
+
+
+/** Bereichsauswahl positionieren und stylen */
+
+#nav
{
position: absolute;
top: 0;
+ right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
width: 100%;
}
-.content.cols_2 #nav
+#nav > hr.n
+{
+ display: none;
+}
+.menu #nav
{
position: relative;
top: auto;
right: auto;
width: 22.375em; /** 358px = 326px + 32px*/
}
-.content.cols_2 #nav > #menu
+#menu
{
+ position: relative;
+ width: 200%;
+ top: -7em; /** 112px */
+ right: 100%;
+ text-align: right;
+ list-style-type: none;
margin: 0 0 -2.125em 0; /** 0 0 -34px 0 */
+ padding: 0;
+ border-style: none;
+}
+#menu > li.m
+{
+ display: inline-block;
+ padding: 0 0 0 4em;
+}
+#menu > li.m > .m
+{
+ font-size: 250%; /** 40px */
+ color: @normal;
+}
+#menu > li.m > a.m
+{
+ border-color: @normal;
+}
+#menu > li.m > a.m:hover
+{
+ border-color: @dunkler;
}
-.content.cols_1 #nav > #menu
+#menu > li.m > a.m:hover,
+#menu > li.m > strong.m
+{
+ border-style: solid;
+}
+#menu > li.m > a.m.selected
+{
+ color: @normal;
+}
+#menu > li.m > a.m:hover
+{
+ color: @dunkler;
+}
+#menu > li.m > a.m:hover:before,
+#menu > li.m > a.m.selected:before,
+#menu > li.m > strong.m:before
+{
+ content: '> ';
+ margin-left: -.92em;
+}
+
+/** Anpassungen der Bereichsauswahl für Seiten ohne Menü */
+
+.nomenu #menu
{
position: absolute;
- top: -7em; /** 112px */
right: 0;
- margin: 0;
}
-/** Always display vertical scroll-bars */
-body { overflow-y: scroll; }
+
+/** Breadcrump positionieren */
+
+#breadcrumb
+{
+ position: absolute;
+ top: 8.375em;
+ left: 6.9em;
+ z-index: 3;
+}
+.nomenu #breadcrumb
+{
+ left: 11.9em;
+}
+#breadcrumb > a.hide
+{
+ position: absolute;
+}
+#breadcrumb > hr.b
+{
+ display: none;
+}
+
+
+/** Footer positionieren */
+
+#footer
+{
+ padding: 2em 0;
+}
+.nomenu #footer
+{
+ padding: 0 3em 2em 5em;
+}
+#footer > hr.f
+{
+ display: none;
+}
+
+
+/** Marginal-Inhalte anpassen... */
+
+.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;
+}