Fix some responsive font sizes and margins

This commit is contained in:
2022-08-21 11:52:24 +02:00
parent 2fd2d252ca
commit 1057c5728a
3 changed files with 11 additions and 5 deletions

View File

@@ -74,7 +74,7 @@
font-weight: 400;
line-height: 1.3;
@include bp (sm) {
@include bp (sd) {
font-size: rem(32px);
}
}
@@ -114,7 +114,7 @@
font-size: rem(24px);
line-height: 1.5;
}
@include bp (md) {
@include bp (sd) {
font-size: rem(28px);
}
}
@@ -123,10 +123,14 @@
.text-normal {
font-size: rem(18px);
font-weight: 400;
line-height: 1.5;
line-height: 1.4;
@include bp (sm) {
font-size: rem(20px);
}
@include bp (sd) {
font-size: rem(22px);
line-height: 1.5;
}
}
@@ -136,7 +140,7 @@
font-weight: 400;
line-height: 1.4;
@include bp (sm) {
@include bp (sd) {
font-size: rem(20px);
line-height: 1.5;
}

View File

@@ -54,6 +54,8 @@
}
@include bp (sm) {
display: flex;
}
@include bp (sd) {
font-size: rem(96px);
}

View File

@@ -15,7 +15,7 @@
color: $color-secondary;
@include bp (sm) {
margin-top: 160px;
margin-top: clamp(80px, 9vw, 160px);
}
}