Skip to content

Commit 54fcf32

Browse files
committed
Switch to the company font
1 parent 8f047a9 commit 54fcf32

11 files changed

Lines changed: 7 additions & 40 deletions

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
([#452](https://github.com/python-attrs/cattrs/pull/452))
1111
- Imports are now sorted using Ruff.
1212
- Tests are run with the pytest-xdist plugin by default.
13+
- The docs now use the Inter font.
1314

1415
## 23.2.2 (2023-11-21)
1516

docs/_static/custom.css

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,11 @@
1-
/* roboto-regular - latin-ext_latin */
2-
@font-face {
3-
font-family: "Roboto";
4-
font-style: normal;
5-
font-weight: 400;
6-
src: local(""),
7-
url("./fonts/roboto-v30-latin-ext_latin-regular.woff2") format("woff2"),
8-
/* Chrome 26+, Opera 23+, Firefox 39+ */
9-
url("./fonts/roboto-v30-latin-ext_latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
10-
}
1+
@import url('https://rsms.me/inter/inter.css');
112

12-
/* roboto-italic - latin-ext_latin */
13-
@font-face {
14-
font-family: "Roboto";
15-
font-style: italic;
16-
font-weight: 400;
17-
src: local(""),
18-
url("./fonts/roboto-v30-latin-ext_latin-italic.woff2") format("woff2"),
19-
/* Chrome 26+, Opera 23+, Firefox 39+ */
20-
url("./fonts/roboto-v30-latin-ext_latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
3+
:root {
4+
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
215
}
226

23-
/* roboto-700 - latin-ext_latin */
24-
@font-face {
25-
font-family: "Roboto";
26-
font-style: normal;
27-
font-weight: 700;
28-
src: local(""),
29-
url("./fonts/roboto-v30-latin-ext_latin-700.woff2") format("woff2"),
30-
/* Chrome 26+, Opera 23+, Firefox 39+ */
31-
url("./fonts/roboto-v30-latin-ext_latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
32-
}
33-
34-
/* roboto-700italic - latin-ext_latin */
35-
@font-face {
36-
font-family: "Roboto";
37-
font-style: italic;
38-
font-weight: 700;
39-
src: local(""),
40-
url("./fonts/roboto-v30-latin-ext_latin-700italic.woff2") format("woff2"),
41-
/* Chrome 26+, Opera 23+, Firefox 39+ */
42-
url("./fonts/roboto-v30-latin-ext_latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
7+
@supports (font-variation-settings: normal) {
8+
:root { font-family: InterVariable, sans-serif; }
439
}
4410

4511
/* ubuntu-mono-regular - latin */
-28.3 KB
Binary file not shown.
-22.1 KB
Binary file not shown.
-30.1 KB
Binary file not shown.
-23.7 KB
Binary file not shown.
-30.2 KB
Binary file not shown.
-23.9 KB
Binary file not shown.
-28.2 KB
Binary file not shown.
-22 KB
Binary file not shown.

0 commit comments

Comments
 (0)