improve mobile styles

This commit is contained in:
Philipp Kühn
2021-02-04 10:39:57 +01:00
parent 8d7cca28d9
commit cf278f3d1c

View File

@@ -97,7 +97,6 @@ code {
height: 100vh !important; height: 100vh !important;
} }
.text { .text {
$spacing: 0.75em; $spacing: 0.75em;
@@ -152,13 +151,21 @@ code {
> h1, > h1,
> .is-h1 { > .is-h1 {
font-size: 2.75rem; font-size: 2rem;
line-height: 1.15; line-height: 1.15;
@media (min-width: 600px) {
font-size: 2.75rem;
}
&.is-large { &.is-large {
font-size: 3rem;
@media (min-width: 600px) {
font-size: 3.75rem; font-size: 3.75rem;
} }
} }
}
> h2, > h2,
> .is-h2 { > .is-h2 {
@@ -356,6 +363,7 @@ code {
&:hover { &:hover {
background: rgba($colorBlack, 0.03); background: rgba($colorBlack, 0.03);
background: $colorYellow;
} }
} }
} }