Skip to content

Commit 3cb68e7

Browse files
committed
add fonts
1 parent e269223 commit 3cb68e7

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

docs/_static/css/custom.css

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,41 @@
11
@font-face {
2-
font-family: 'FactorA-Regular';
3-
src:
4-
url('../fonts/FactorA-Regular.woff2') format('woff2'),
5-
url('../fonts/FactorA-Regular.woff') format('woff');
2+
font-family: "FactorA-Regular";
3+
src: url("../fonts/FactorA-Regular.woff2") format("woff2"),
4+
url("../fonts/FactorA-Regular.woff") format("woff");
65
font-weight: 400;
76
font-style: normal;
87
font-display: swap;
98
}
109

1110
@font-face {
12-
font-family: 'FactorA-Medium';
13-
src:
14-
url('../fonts/FactorA-Medium.woff2') format('woff2'),
15-
url('../fonts/FactorA-Medium.woff') format('woff');
11+
font-family: "FactorA-Medium";
12+
src: url("../fonts/FactorA-Medium.woff2") format("woff2"),
13+
url("../fonts/FactorA-Medium.woff") format("woff");
1614
font-weight: 600;
1715
font-style: normal;
1816
font-display: swap;
1917
}
2018

2119
body {
22-
font-family: 'FactorA-Regular', system-ui, "Lato", "proxima-nova", "Helvetica Neue", "Arial", sans-serif;
20+
font-family: "FactorA-Regular", system-ui, "Lato", "proxima-nova",
21+
"Helvetica Neue", "Arial", sans-serif;
2322
}
2423

25-
h1, h2, h3, h4, h5, h6,
24+
h1,
25+
h2,
26+
h3,
27+
h4,
28+
h5,
29+
h6,
2630
.rst-content .toctree-wrapper > p.caption,
27-
.wy-menu-vertical, div.sphinxsidebar h3, div.sphinxsidebar h4 {
28-
font-family: 'FactorA-Medium', inherit;
29-
}
31+
.wy-menu-vertical,
32+
div.sphinxsidebar h3,
33+
div.sphinxsidebar h4,
34+
div.body h1,
35+
div.body h2,
36+
div.body h3,
37+
div.body h4,
38+
div.body h5,
39+
div.body h6 {
40+
font-family: 'FactorA-Medium', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
41+
}

0 commit comments

Comments
 (0)