move title styles to global file

This commit is contained in:
2023-06-20 20:06:54 +02:00
parent cf69b92934
commit 6625a5b9de
2 changed files with 30 additions and 30 deletions
+30
View File
@@ -82,3 +82,33 @@ body {
filter: brightness(1.2); filter: brightness(1.2);
} }
} }
.title {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-block: 2.5rem;
text-align: center;
width: 100%;
max-width: 45rem;
gap: 0.5rem;
h1 {
font-size: 4rem;
line-height: 0.75;
white-space: pre-wrap;
margin: 0;
}
h3 {
margin: 0;
line-height: 0.9;
}
small {
font-size: 0.9rem;
font-weight: bold;
line-height: 0.25;
}
}
-30
View File
@@ -80,36 +80,6 @@ main {
} }
} }
.title {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-block: 2.5rem;
text-align: center;
width: 100%;
max-width: 45rem;
gap: 0.5rem;
h1 {
font-size: 4rem;
line-height: 0.75;
white-space: pre-wrap;
margin: 0;
}
h3 {
margin: 0;
line-height: 0.9;
}
small {
font-size: 0.9rem;
font-weight: bold;
line-height: 0.25;
}
}
.coffer { .coffer {
text-align: center; text-align: center;