Align menu elements vertically. Align footer bottom of the viewport.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div style="min-height: 100%; position: relative;">
|
||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
|
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+9
-1
@@ -1,3 +1,6 @@
|
|||||||
|
html {height: 100%;}
|
||||||
|
body{ height: 100%; margin: 0;}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Site header
|
* Site header
|
||||||
*/
|
*/
|
||||||
@@ -40,6 +43,8 @@
|
|||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-query($on-palm) {
|
@include media-query($on-palm) {
|
||||||
@@ -93,7 +98,10 @@
|
|||||||
*/
|
*/
|
||||||
.site-footer {
|
.site-footer {
|
||||||
border-top: 5px solid #1B73BA;
|
border-top: 5px solid #1B73BA;
|
||||||
background-color: #2388DB
|
background-color: #2388DB;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-heading {
|
.footer-heading {
|
||||||
|
|||||||
Reference in New Issue
Block a user