Skip to content

Commit 0cee613

Browse files
committed
Cheat Sheet: define font sizes relative to container, not root
This allows overriding the font sizes for the Cheat Sheet specifically when printing. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a229edb commit 0cee613

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

assets/sass/cheat-sheet.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
border-radius: 10px;
1010
border: 1px solid var(--callout-color);
1111
display: flex;
12-
font-size: 1rem;
12+
font-size: 1em;
1313
flex-direction: column;
1414
gap: 5px;
1515

1616
p {
17-
font-size: 1rem;
17+
font-size: 1em;
1818
margin: 0 8px;
1919
}
2020

2121
h3 {
2222
color: var(--font-color);
2323
line-height: 1em;
24-
font-size: 1.1rem;
24+
font-size: 1.1em;
2525
margin-bottom: 8px;
2626
font-weight: 500;
2727
}
@@ -71,7 +71,7 @@
7171
grid-column: 1/3;
7272

7373
margin-top: 0;
74-
font-size: 1.2rem;
74+
font-size: 1.2em;
7575
font-weight: 700;
7676
line-height: 1.2;
7777
color: var(--orange);

0 commit comments

Comments
 (0)