Skip to content

Commit a3147e1

Browse files
committed
docs: move font into conf.py [skip ci]
1 parent ca5f45a commit a3147e1

File tree

2 files changed

+8
-22
lines changed

2 files changed

+8
-22
lines changed

docs/_static/my-styles.css

+3-20
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400;1,600&display=swap');
2-
3-
h1, h2, h3 {
4-
font-family: 'IBM Plex Mono', monospace;
5-
font-weight: bold;
6-
}
1+
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Spline+Sans+Mono:ital,wght@0,300..700;1,300..700&display=swap');
72

83
h1 {
94
font-size: 2.0rem;
@@ -21,28 +16,16 @@ h3 {
2116
font-size: 0.85rem;
2217
}
2318

24-
body {
25-
font-family: 'Atkinson Hyperlegible', sans-serif;
26-
}
27-
2819
article {
2920
font-size: 0.9rem;
3021
}
3122

32-
code, kbd, pre, samp {
33-
font-family: 'IBM Plex Mono', monospace;
34-
}
35-
/*
36-
code.literal {
37-
color: hsl(191, 85%, 50%);
38-
} */
39-
4023
div.cell div.cell_input {
4124
padding-left: 0em;
4225
padding-right: 0em;
4326
border: 1px rgba(127, 127, 127, 0.1) solid;
4427
background-color: rgba(127, 127, 127, 0.1);
45-
border-left-color: green;
28+
border-left-color: hsl(126, 25%, 45%);
4629
border-left-width: medium;
4730
}
4831

@@ -70,4 +53,4 @@ div.cell div.cell_input {
7053
padding-left: 1em;
7154
padding-right: 0em;
7255
margin-top: 0em;
73-
}
56+
}

docs/conf.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@
6060

6161
html_theme_options = {
6262
"sidebar_hide_name": True,
63-
# "light_css_variables": {
63+
"light_css_variables": {
6464
# "color-brand-primary": "hsl(72, 75%, 40%)",
6565
# "color-brand-content": "hsl(238, 50%, 60%)",
66-
# },
66+
"font-stack": "Atkinson Hyperlegible, sans-serif",
67+
"font-stack--monospace": "Spline Sans Mono, monospace",
68+
"font-stack--headings": "Spline Sans Mono, monospace",
69+
},
6770
# "dark_css_variables": {
6871
# "color-brand-primary": "hsl(72, 75%, 60%)",
6972
# "color-brand-content": "hsl(238, 75%, 70%)",

0 commit comments

Comments
 (0)