Add a footer to the html pages

This commit is contained in:
yflory
2017-02-03 16:52:55 +01:00
parent 02439e0f61
commit 9c4c378d6a
13 changed files with 676 additions and 388 deletions

View File

@@ -6,6 +6,7 @@
@import "./loading.less";
@import "./dropdown.less";
@import "./topbar.less";
@import "./footer.less";
html.cp, .cp body {
font-size: .875em;
@@ -127,6 +128,8 @@ p, pre, td, a, table, tr {
}
body.html {
display:flex;
flex-flow: column;
}
// Main page
@@ -282,6 +285,8 @@ body.html {
background-size: cover;
background-attachment: fixed;
background-position: center;
height: ~"calc(100vh - 115px)";
min-height: 450px;
.hidden {
display: none !important;
}
@@ -295,12 +300,14 @@ body.html {
margin-top: 5px;
}
#mainBlock {
flex: 1;
}
#main, #main_other {
position: relative;
left: 0;
right: 0;
height: ~"calc(100vh - 115px)";
min-height: 450px;
margin: auto;
z-index: 1;

View File

@@ -0,0 +1,7 @@
@import "./variables.less";
footer {
background: @dark-base;
font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
padding-top: 1em;
}