Skip to content

Commit c1a0a1e

Browse files
committed
Use Google-hosted PT Sans for Russian
1 parent 756bc23 commit c1a0a1e

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

docs/_static/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
2+
3+
html[lang="ru"] body {
4+
font-family: 'PT Sans', Arial, sans-serif;
5+
}

docs/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,8 @@
4848
"collapse_navigation": False,
4949
"navigation_depth": 2,
5050
}
51+
52+
53+
def setup(app):
54+
"""Add custom CSS files."""
55+
app.add_css_file("custom.css")

0 commit comments

Comments
 (0)