Fix some responsive font sizes and margins
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sd) {
|
||||||
font-size: rem(32px);
|
font-size: rem(32px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
font-size: rem(24px);
|
font-size: rem(24px);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
@include bp (md) {
|
@include bp (sd) {
|
||||||
font-size: rem(28px);
|
font-size: rem(28px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -123,10 +123,14 @@
|
|||||||
.text-normal {
|
.text-normal {
|
||||||
font-size: rem(18px);
|
font-size: rem(18px);
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.5;
|
line-height: 1.4;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
|
font-size: rem(20px);
|
||||||
|
}
|
||||||
|
@include bp (sd) {
|
||||||
font-size: rem(22px);
|
font-size: rem(22px);
|
||||||
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,7 +140,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sd) {
|
||||||
font-size: rem(20px);
|
font-size: rem(20px);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,6 +54,8 @@
|
|||||||
}
|
}
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
}
|
||||||
|
@include bp (sd) {
|
||||||
font-size: rem(96px);
|
font-size: rem(96px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
color: $color-secondary;
|
color: $color-secondary;
|
||||||
|
|
||||||
@include bp (sm) {
|
@include bp (sm) {
|
||||||
margin-top: 160px;
|
margin-top: clamp(80px, 9vw, 160px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user