projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Layout des Seitenkopfes sauber von der Seitenaufteilung getrennt
[website]
/
src
/
main
/
webapp
/
less
/
screen
/
layout.less
diff --git
a/src/main/webapp/less/screen/layout.less
b/src/main/webapp/less/screen/layout.less
index
cad786e
..
16dcfb2
100644
(file)
--- a/
src/main/webapp/less/screen/layout.less
+++ b/
src/main/webapp/less/screen/layout.less
@@
-1,17
+1,22
@@
-@import '../variables.less';
-
body
{
body
{
- padding: 1em 3em 1em 5em;
+ padding: 0 3em 0 5em;
+}
+
+#header
+{
+ margin-left: -2.125em;
}
.content
{
position: relative;
}
.content
{
position: relative;
+ height: 100%;
+ padding-bottom: 7.1875em; /** 115px (gemessene Gesamthöhe des Footers - mit Abstand und Margin) */
}
.cols_2 > .content
{
}
.cols_2 > .content
{
- padding
: 0 27em 0 0
;
+ padding
-right: 27em
;
margin-right: -24.375em;
}
.cols_2 > .content > .main
margin-right: -24.375em;
}
.cols_2 > .content > .main
@@
-21,6
+26,11
@@
body
position: relative;
width: 100%;
}
position: relative;
width: 100%;
}
+.cols_1 > .content > .marginal
+{
+ margin-top: 3em;
+ background-color: @heller;
+}
.cols_2 > .content > .marginal
{
float: left;
.cols_2 > .content > .marginal
{
float: left;
@@
-30,17
+40,29
@@
body
width: 20.375em;
background-color: @heller;
}
width: 20.375em;
background-color: @heller;
}
-.co
ls_2 > .co
ntent > .marginal h1,
-.co
ls_2 > .co
ntent > .marginal h2,
-.co
ls_2 > .co
ntent > .marginal h3,
-.co
ls_2 > .co
ntent > .marginal h4
+.content > .marginal h1,
+.content > .marginal h2,
+.content > .marginal h3,
+.content > .marginal h4
{
color: @hintergrund;
}
{
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 aside.m
+{
+ padding: 2em;
+}
.content #nav
{
position: absolute;
top: 0;
.content #nav
{
position: absolute;
top: 0;
+ right: 0; /** Hier eigentlich nicht nötig, aber für Tablet-Style erforderrlich! */
width: 100%;
}
.cols_2 > .content #nav
width: 100%;
}
.cols_2 > .content #nav
@@
-69,16
+91,37
@@
body { overflow-y: scroll; }
#page
{
max-width: 62.375em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
#page
{
max-width: 62.375em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
- position: relative;
margin: 0 auto;
}
margin: 0 auto;
}
+/** Make the footer sticky */
+html, body
+{
+ height: 100%;
+}
+#page
+{
+ position: relative;
+ min-height: 100%;
+}
+#footer
+{
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: 0;
+}
+
/** Faux-Column-Hack-Eigengewächs */
#page.cols_2
{
max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
border-right: 24.375em solid @heller;
}
/** Faux-Column-Hack-Eigengewächs */
#page.cols_2
{
max-width: 38em; /** 608px + 390px (Marginalspalte) = ca. 1000px */
border-right: 24.375em solid @heller;
}
+#header
+{
+ padding-top: 1em;
+}
.cols_2 > #header
{
margin-right: -24.375em;
.cols_2 > #header
{
margin-right: -24.375em;