renamed rem() function to pxToRem() to avoid conflicting with native css rem function (#1084)

This commit is contained in:
trean
2024-08-13 16:58:57 +02:00
committed by GitHub
parent 32aa793f28
commit 74172782a5
119 changed files with 988 additions and 988 deletions
@@ -17,8 +17,8 @@
}
&__description {
font-size: rem(18);
line-height: rem(27);
font-size: pxToRem(18);
line-height: pxToRem(27);
color: $neutral-70;
margin-bottom: $spacer;
}
@@ -29,7 +29,7 @@
left: 0;
bottom: -30px;
width: 100%;
height: rem(240);
height: pxToRem(240);
background-image: url('/img/blurred/blurred-light-14.svg');
background-position: center;
background-size: cover;
@@ -50,13 +50,13 @@
&__title {
font-size: $spacer * 4;
line-height: rem(76);
line-height: pxToRem(76);
}
&__description {
font-size: rem(20);
line-height: rem(30);
max-width: rem(640);
font-size: pxToRem(20);
line-height: pxToRem(30);
max-width: pxToRem(640);
margin-left: auto;
margin-right: auto;
}