Skip to content

Commit 9e3a422

Browse files
committed
docs: use rem font size units
1 parent a4d9345 commit 9e3a422

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/overrides/stylesheets/extra.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
/* Light mode - very light yellow header */
1111
[data-md-color-scheme="default"] .md-header {
1212
background-color: #d0d6da; /* Very light yellow background color */
13-
height: 8em;
13+
height: 4rem;
1414
}
1515

1616

1717
[data-md-color-scheme="default"] .md-header__title {
1818
color: #23231c;
19-
padding-left: 2em;
19+
padding-left: 2rem;
2020
}
2121

2222
/* Dark mode - dark gray header */
@@ -26,12 +26,12 @@
2626
/*background-repeat: no-repeat;*/
2727
/*background-position: center center;*/
2828
/*background-size: auto 90%;*/
29-
height: 8em;
29+
height: 4rem;
3030
}
3131

3232
[data-md-color-scheme="slate"] .md-header__title {
3333
color: #af0d0d;
34-
padding-left: 2em;
34+
padding-left: 2rem;
3535
}
3636

3737
.md-header__title {
@@ -75,5 +75,5 @@ h1, h2, h3, h4, h5, h6 {
7575

7676
.md-typeset .admonition,
7777
.md-typeset details {
78-
font-size: 16px
78+
font-size: 0.75rem
7979
}

0 commit comments

Comments
 (0)