Skip to content

Commit 9156739

Browse files
committed
Adjust css
1 parent 40e4ec9 commit 9156739

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

docs/assets/extra.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/* CSS custom properties replacing Sass variables */
2+
:root {
3+
}
4+
5+
body {
6+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted",
7+
"Segoe UI", "Liberation Sans", sans-serif;
8+
}
9+
10+
/* Change header fonts */
11+
.md-typeset h1,
12+
.md-typeset h2,
13+
.md-typeset h3,
14+
.md-typeset h4,
15+
.md-typeset h5,
16+
.md-typeset h6 {
17+
font-weight: 600;
18+
color: #111;
19+
}
20+
21+
.md-typeset h1 {
22+
font-style: normal;
23+
letter-spacing: -0.5px;
24+
line-height: 130%;
25+
26+
margin: 1em 0 0.5 0;
27+
@media screen and (max-width: var(--on-palm)) {
28+
margin-top: calc(var(--vspace) * 1.5);
29+
}
30+
}
31+
32+
.md-typeset h2 {
33+
margin: 1.5em 0 1em 0;
34+
font-style: normal;
35+
letter-spacing: -0.5px;
36+
line-height: 100%;
37+
font-size: 120%;
38+
}
39+
40+
.md-typeset h3 {
41+
margin: 2em 0 1em 0;
42+
font-style: normal;
43+
letter-spacing: -0.5px;
44+
line-height: 100%;
45+
font-size: 110%;
46+
}

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: SuperStack
2-
site_url: https://explodinglabs.com/superstack/
2+
site_url: https://www.explodinglabs.com/superstack/
33
repo_url: https://github.com/explodinglabs/superstack
44
theme:
55
name: material
@@ -31,6 +31,8 @@ theme:
3131
toggle:
3232
icon: material/brightness-4
3333
name: Switch to system preference
34+
extra_css:
35+
- assets/extra.css
3436
plugins:
3537
- search
3638
- mermaid2

0 commit comments

Comments
 (0)