Skip to content

Commit e72f770

Browse files
committed
Mobile view tweaks
Signed-off-by: Marcus Noble <[email protected]>
1 parent 59ef6bc commit e72f770

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

assets/css/screen.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@import "site/switch.css";
66
@import "site/layout.css";
77
@import "site/term.css";
8+
@import "site/footer.css";
89
@import "blog/post.css";
910
@import "blog/pagination.css";
1011
@import "blog/single.css";

assets/css/site/footer.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@media (max-width: 767px) {
2+
.gh-powered-by, .gh-foot-menu {
3+
display: none;
4+
}
5+
6+
}

assets/css/site/header.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
font-weight: 600;
88
}
99

10-
.gh-head.gh-outer {
11-
background-color: #a3c2e0;
10+
.gh-head.gh-outer,
11+
.is-head-open:not(.is-head-brand):not(.is-head-dark):not(.is-head-transparent) #gh-head,
12+
.is-head-open:not(.is-head-brand):not(.is-head-dark):not(.is-head-transparent) #gh-head .gh-head-actions {
13+
background-color: #a3c2e0 !important;
1214
}
1315

1416
.gh-head-logo img {

0 commit comments

Comments
 (0)