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 <matus@namesny.com>2020-05-16 15:29:15 +0300
committerLordMathis <matus@namesny.com>2020-05-16 15:29:15 +0300
commitff7b13959bb1b60bf5725b0907d9a093d7a86903 (patch)
tree3653ffb9a5d11108653429b619599712f769498d /static
parent9e42dc88f1b37580a35b266705ccc1700bc3d5b5 (diff)
Fix footer margin in mobile view
Diffstat (limited to 'static')
-rw-r--r--static/css/nix.css19
1 files changed, 13 insertions, 6 deletions
diff --git a/static/css/nix.css b/static/css/nix.css
index 52a0791..f60e613 100644
--- a/static/css/nix.css
+++ b/static/css/nix.css
@@ -11,13 +11,19 @@ body {
height: 100%;
font-family: 'Open Sans', sans-serif;
font-size: 1.5em;
- padding-top: 70px;
}
img {
max-width: 100%;
}
+.flex-wrapper {
+ display: flex;
+ min-height: 100vh;
+ flex-direction: column;
+ justify-content: space-between;
+ padding-top: 70px;
+}
#green-terminal {
color: #00ff00;
@@ -119,19 +125,20 @@ i {
.wrapper {
min-height: 100%;
- margin: 0 auto -50px;
+ margin: 0 auto;
}
.footer {
background-color: #F5F5F5;
- display: block;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
width: 100%;
padding: 10px;
- height: 50px;
}
-.push {
- height: 50px;
+.footer p {
+ margin: 0 !important;
}
.col-centered{