Skip to content

Commit e4f9946

Browse files
committed
Fix viewport + footer nav links in responsive view.
1 parent e431505 commit e4f9946

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

site/static/style.css

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ button:hover,
166166

167167
.home .container {
168168
max-width: 700px;
169+
margin: auto;
169170
}
170171

171172
.logo a {
@@ -592,12 +593,11 @@ button:hover,
592593
}
593594

594595
/* Homepage */
595-
596596
.home {
597597
display: flex;
598598
justify-content: center;
599-
align-items: center;
600-
height: 100%;
599+
min-height: 100%;
600+
padding: 15px 0;
601601
}
602602

603603
.home .header {
@@ -632,6 +632,7 @@ button:hover,
632632
border-top: 0;
633633
box-shadow: 2px 2px 2px #eee;
634634
text-align: left;
635+
z-index: 100;
635636
}
636637

637638
.autocomp-item {
@@ -678,6 +679,15 @@ button:hover,
678679
.header {
679680
margin-bottom: 0;
680681
}
682+
683+
.footer a, .nav a {
684+
display: block;
685+
line-height: 1.4rem;
686+
}
687+
688+
.footer a.icon {
689+
display: inline-block;
690+
}
681691
}
682692

683693
@media screen and (max-width: 320px) {
@@ -712,13 +722,4 @@ button:hover,
712722
.entries .defs:not(:last-child) {
713723
margin-bottom: 15px;
714724
}
715-
716-
.footer a {
717-
display: block;
718-
}
719-
720-
.footer a.icon {
721-
display: inline-block;
722-
}
723-
724-
}
725+
}

0 commit comments

Comments
 (0)