projects
/
website
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
173a4c3
)
Sticke Footer
author
Kai Moritz
<km@feder-software.de>
Sat, 21 Dec 2013 19:40:15 +0000
(20:40 +0100)
committer
Kai Moritz
<kai@juplo.de>
Tue, 19 Jan 2016 16:45:40 +0000
(17:45 +0100)
src/main/webapp/WEB-INF/views/contact.jsp
patch
|
blob
|
history
src/main/webapp/WEB-INF/views/impressum.jsp
patch
|
blob
|
history
src/main/webapp/less/screen/layout.less
patch
|
blob
|
history
src/main/webapp/less/screen/navigation.less
patch
|
blob
|
history
diff --git
a/src/main/webapp/WEB-INF/views/contact.jsp
b/src/main/webapp/WEB-INF/views/contact.jsp
index
330b653
..
c9d72f5
100644
(file)
--- a/
src/main/webapp/WEB-INF/views/contact.jsp
+++ b/
src/main/webapp/WEB-INF/views/contact.jsp
@@
-10,5
+10,6
@@
<li class="b"><a class="b" href="${base}index.html">Home</a></li>
<li class="b"><strong class="b">Contact</strong></li>
</t:putAttribute>
<li class="b"><a class="b" href="${base}index.html">Home</a></li>
<li class="b"><strong class="b">Contact</strong></li>
</t:putAttribute>
+ <t:putAttribute name="maincontent" type="string" value="TODO..."/>
<t:putAttribute name="marginalcontent" type="string" value=""/>
</t:insertDefinition>
<t:putAttribute name="marginalcontent" type="string" value=""/>
</t:insertDefinition>
diff --git
a/src/main/webapp/WEB-INF/views/impressum.jsp
b/src/main/webapp/WEB-INF/views/impressum.jsp
index
cdbd978
..
23a6b59
100644
(file)
--- a/
src/main/webapp/WEB-INF/views/impressum.jsp
+++ b/
src/main/webapp/WEB-INF/views/impressum.jsp
@@
-10,5
+10,6
@@
<li class="b"><a class="b" href="${base}index.html">Home</a></li>
<li class="b"><strong class="b">Impressum</strong></li>
</t:putAttribute>
<li class="b"><a class="b" href="${base}index.html">Home</a></li>
<li class="b"><strong class="b">Impressum</strong></li>
</t:putAttribute>
+ <t:putAttribute name="maincontent" type="string" value="TODO..."/>
<t:putAttribute name="marginalcontent" type="string" value=""/>
</t:insertDefinition>
<t:putAttribute name="marginalcontent" type="string" value=""/>
</t:insertDefinition>
diff --git
a/src/main/webapp/less/screen/layout.less
b/src/main/webapp/less/screen/layout.less
index
e99be04
..
434e61c
100644
(file)
--- a/
src/main/webapp/less/screen/layout.less
+++ b/
src/main/webapp/less/screen/layout.less
@@
-2,16
+2,17
@@
body
{
body
{
- padding:
1em 3em 1em
5em;
+ padding:
0 3em 0
5em;
}
.content
{
position: relative;
}
.content
{
position: relative;
+ 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
@@
-23,7
+24,7
@@
body
}
.cols_1 > .content > .marginal
{
}
.cols_1 > .content > .marginal
{
- margin
: 3em 0
;
+ margin
-top: 3em
;
background-color: @heller;
}
.cols_2 > .content > .marginal
background-color: @heller;
}
.cols_2 > .content > .marginal
@@
-85,16
+86,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;
diff --git
a/src/main/webapp/less/screen/navigation.less
b/src/main/webapp/less/screen/navigation.less
index
3400c24
..
52c2b43
100644
(file)
--- a/
src/main/webapp/less/screen/navigation.less
+++ b/
src/main/webapp/less/screen/navigation.less
@@
-58,7
+58,7
@@
#breadcrumb
{
position: absolute;
#breadcrumb
{
position: absolute;
- top:
7
.375em;
+ top:
8
.375em;
left: 6.9em;
z-index: 3;
}
left: 6.9em;
z-index: 3;
}