mirror of
https://github.com/Kugelschieber/schnittfest.git
synced 2026-11-12 09:02:01 +01:00
Optimized content and fixed a few mobile issues.
This commit is contained in:
@@ -22,6 +22,7 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
counter-reset: section;
|
||||
min-height: 100vh;
|
||||
color: $ink;
|
||||
background: $beige;
|
||||
@@ -30,6 +31,7 @@ body {
|
||||
line-height: 1.6;
|
||||
font-weight: 500;
|
||||
overflow-x: hidden;
|
||||
overflow-x: clip;
|
||||
|
||||
// film grain
|
||||
&::after {
|
||||
@@ -90,11 +92,13 @@ em, i { font-style: italic; }
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
font-size: clamp(40px, 7vw, 88px);
|
||||
font-size: clamp(36px, 6vw, 76px);
|
||||
line-height: 1;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.03em;
|
||||
|
||||
counter-increment: section;
|
||||
|
||||
&__nr {
|
||||
flex: none;
|
||||
margin-top: 0.35em;
|
||||
@@ -106,6 +110,10 @@ em, i { font-style: italic; }
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
font-variant-numeric: tabular-nums;
|
||||
|
||||
&::before {
|
||||
content: counter(section, decimal-leading-zero);
|
||||
}
|
||||
}
|
||||
|
||||
&--light {
|
||||
|
||||
Reference in New Issue
Block a user