Skip to content

Commit 2f9f1f4

Browse files
To1nedscho
authored andcommitted
css: fluid sizing of the tagline
Make the tagline scale nicely on every screen size. Signed-off-by: Toon Claes <[email protected]>
1 parent ba78582 commit 2f9f1f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

assets/sass/layout.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ header {
132132
#tagline {
133133
display: block;
134134
margin-left: 8px;
135-
font-size: 24px;
135+
font-size: clamp(0.8rem, 2vw, 1.3rem);
136136
line-height: 24px;
137137
color: var(--light-font-color);
138138

@@ -491,9 +491,7 @@ table.benchmarks {
491491
header {
492492
padding-bottom: 3rem;
493493
#tagline {
494-
font-size: 0.8rem;
495-
top: 0;
496-
padding-right: 1rem;
494+
font-size: clamp(0.8rem, 3vw, 1.3rem);
497495
}
498496
flex-direction: column;
499497
}

0 commit comments

Comments
 (0)