Skip to content

Commit b32182b

Browse files
committed
Extend footer-color beyond the site on mobile
On mobile, with a bit of dedication, you can scroll past the footer and see the horrendous gray background... Idk why, but it always bothered me... so to fix this, I make the body bg black but the flax wrapper is gray
1 parent 7efe01d commit b32182b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

assets/scss/styles.scss

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
$bg-color: #2e2e2e;
2222
$lightGray: #7B7B7B;
23+
$footer-color: black;
2324

2425
* {
2526
padding: 0;
@@ -39,6 +40,14 @@ body {
3940
overflow: overlay;
4041
}
4142

43+
.flex-wrapper {
44+
background-color: $bg-color;
45+
display: flex;
46+
min-height: 100vh;
47+
flex-direction: column;
48+
justify-content: flex-start;
49+
}
50+
4251
a {
4352
color: $color4;
4453
}
@@ -473,13 +482,6 @@ figcaption {
473482
padding-right: 10px;
474483
}
475484

476-
.flex-wrapper {
477-
display: flex;
478-
min-height: 100vh;
479-
flex-direction: column;
480-
justify-content: flex-start;
481-
}
482-
483485
.permalink {
484486
opacity: 30%;
485487
top: 5px;
@@ -524,7 +526,7 @@ footer {
524526
display: flex;
525527
flex-direction: column;
526528
align-items: center;
527-
background-color: black;
529+
background-color: $footer-color;
528530
width: 100%;
529531
padding: 10px;
530532
position: static;

0 commit comments

Comments
 (0)