Skip to content

Commit 2decf37

Browse files
committed
add fonts
1 parent c9b29e3 commit 2decf37

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

docs/_static/css/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@font-face {
2+
font-family: 'FactorA-Variable';
3+
src:
4+
url('../fonts/FactorA-Variable.woff2') format('woff2'),
5+
url('../fonts/FactorA-Variable.woff') format('woff');
6+
font-weight: 400;
7+
font-style: normal;
8+
font-display: swap;
9+
}
10+
11+
body {
12+
font-family: 'FactorA-Variable', system-ui, "Lato", "proxima-nova", "Helvetica Neue", "Arial", sans-serif;
13+
}
413 KB
Binary file not shown.
335 KB
Binary file not shown.

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@
5353
# relative to this directory. They are copied after the builtin static files,
5454
# so a file named "default.css" will overwrite the builtin "default.css".
5555
html_static_path = ["_static"]
56+
html_css_files = [
57+
'css/custom.css',
58+
]
5659

5760
html_title = "Python Lokalise API client"
5861
html_short_title = "Lokalise API client"

0 commit comments

Comments
 (0)