General styles

This commit is contained in:
Fede Álvarez 2022-05-20 16:33:20 +02:00
parent ff82133a4c
commit 921aef58ea
6 changed files with 10 additions and 1 deletions

View File

@ -38,6 +38,11 @@
}
h1 {
@include respond-to('mobile') {
line-height: 104%;
}
line-height: 110%;
max-width: tovw(900px, 'default', 900px);
}

View File

@ -16,7 +16,7 @@ const Hero = ({ data }: HeroProps) => {
return (
<Section className={s['section']} disableFadeIn>
<span className={s.date}>{formatDate(data.date)}</span>
<Heading as="h1" variant="xl" centered>
<Heading as="h1" variant="lg" centered>
{data.title}
</Heading>
<span className={clsx(s.author, 'hide-on-desktop')}>

View File

@ -33,6 +33,7 @@
align-self: center;
position: relative;
margin-top: tovw(-165px, 'default');
margin-bottom: tovw(-140px, 'default');
padding-top: tovw(30px, 'default', 20px);
width: 82%;
mix-blend-mode: lighten;

View File

@ -67,6 +67,7 @@
.form__container {
@include respond-to('mobile') {
padding: tovw(56px, 'default', 32px) tovw(56px, 'default', 16px);
padding-bottom: tovw(40px, 'mobile');
border-radius: tovw(16px, 'default', 16px);
}

View File

@ -114,6 +114,7 @@
p {
margin: tovw(25px, 'default', 10px) 0;
font-size: tovw(30px, 'default', 18px);
line-height: 1.3;
}
ol {

View File

@ -28,6 +28,7 @@
align-self: center;
position: relative;
margin-top: tovw(-165px, 'default');
margin-bottom: tovw(-140px, 'default');
padding-top: tovw(30px, 'default', 20px);
width: 82%;
mix-blend-mode: lighten;