Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/LordMathis/hugo-theme-nix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorLordMathis <namesny.matus@gmail.com>2016-10-02 13:03:21 +0300
committerLordMathis <namesny.matus@gmail.com>2016-10-02 13:03:21 +0300
commit8fdf062f863973b6350a51400eab4af5d8c0cd37 (patch)
tree58263207b9f261bf2f1812c7b07ce752006a95aa /static
parentd238ca5ff925bdc841efb27d137ef8867c0e2ebf (diff)
Fixed footer
Diffstat (limited to 'static')
-rw-r--r--static/css/nix.css23
1 files changed, 19 insertions, 4 deletions
diff --git a/static/css/nix.css b/static/css/nix.css
index 7d1a420..833c6c4 100644
--- a/static/css/nix.css
+++ b/static/css/nix.css
@@ -1,6 +1,12 @@
+* {
+ margin: 0;
+}
+
+html {
+ height: 100%;
+}
+
body {
- margin-top: 50px;
- margin-bottom: 50px;
background-color: #fdfdfd;
height: 100%;
font-family: 'Open Sans', sans-serif;
@@ -37,6 +43,7 @@ h1,h2,h3,h4,h5,h6 {
border-width: 5px;
border-color: #292929;
margin-top: 10em;
+ margin-bottom: 1em;
}
i {
@@ -74,13 +81,21 @@ i {
border-color: #292929;
}
+.wrapper {
+ min-height: 100%;
+ margin: 0 auto -50px;
+ padding-top: 50px;
+}
+
.footer {
background-color: #F5F5F5;
display: block;
width: 100%;
padding: 10px;
- position: absolute;
- bottom: 0;
+ height: 50px;
+}
+
+.push {
height: 50px;
}