added mobile version

This commit is contained in:
silas
2020-12-04 16:45:45 +01:00
parent f0a46aaae6
commit 2f10a6e65d
14 changed files with 201 additions and 49 deletions

View File

@@ -83,12 +83,17 @@ a.hidden-link, a.hidden-link:hover {
h1 {
font-family: WinterSunrise, serif;
font-size: 3rem;
@include breakpoint(medium) {
@include breakpoint(large) {
font-size: 4.5rem;
}
}
#home-img-container {
&.hide-for-medium #start-text-img-overlay {
display: none;
}
#home-img {
width: 100%;
height: 100%;
@@ -140,7 +145,28 @@ img.full-screen-width {
.site-content {
padding: 2rem 0.625rem;
@include breakpoint(medium) {
@include breakpoint(large) {
padding: 3rem 2rem;
}
}
.fill-height {
height: calc(100vh - 5rem);
@include breakpoint(small only) {
height: calc(100vh - 3rem);
}
}
.fill-height-medium-up {
@include breakpoint(medium) {
height: calc(100vh - 5rem);
}
}
.img-column {
max-width: 40%;
img {
object-fit: cover;
}
}