Create global style for big sans serif title + change some responsive fonts

This commit is contained in:
2022-09-09 23:26:58 +02:00
parent 35b1e27e7c
commit 8cc38065ce
5 changed files with 21 additions and 19 deletions

View File

@@ -80,18 +80,14 @@
transform: translate3d(-50%, -50%, 0);
@include bp (sm) {
// top: clamp(#{rem(40px)}, 16vw, #{rem(144px)});
top: 40%;
left: 0;
transform: none;
}
:global(h1) {
font-size: clamp(#{rem(48px)}, 7vw, #{rem(56px)});
font-weight: 400;
text-shadow: 0px 8px 12px rgba(#000, 0.25);
text-align: center;
letter-spacing: -0.02em;
text-shadow: 0px 8px 12px rgba(#000, 0.25);
:global(span), :global(strong) {
color: #fff;