Skip to content

Commit 61e5f1a

Browse files
committed
Adjust front page presentation to scale better
Especially at smaller viewport height.
1 parent b40b52b commit 61e5f1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

assets/css/home.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
#header img {
1414
display: block;
1515
width: auto;
16-
height: 60vh;
16+
height: calc(70vh - 12em);
1717
margin: auto;
1818
padding-top: 5vh;
19+
min-height: 200px;
1920
}
2021

2122
#user-resources, #dev-resources {

assets/css/layout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ $leftColumnArrowOffset: $sidebarWidth - 2*$sidebarMargin - 2*$sidebarPadding - 3
601601
}
602602

603603
#header p {
604-
margin: 2.7em 0 0 0;
604+
margin: 1.5em 0 0 0;
605605
font-size: 1.3em;
606606
position: absolute;
607607
width: 100%;

0 commit comments

Comments
 (0)