Skip to content

Commit 85e7e19

Browse files
committed
docs: Change code font to Adobe Source Code Pro
1 parent 86abbbe commit 85e7e19

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/source/_static/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ a.icon.icon-home:visited {
3232
.rst-content .linenodiv pre,
3333
.rst-content div[class^="highlight"] pre,
3434
.rst-content pre.literal-block {
35-
font-family: Fira Mono, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
35+
font-family: Source Code Pro, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, Courier, monospace;
3636
}

docs/source/_templates/layout.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
<link rel="stylesheet" href="{{ pathto('_static/css/theme.css', 1)|e }}" type="text/css" />
4141
<link rel="stylesheet" href="{{ pathto('_static/css/custom.css', 1)|e }}" type="text/css" />
4242

43-
<link rel="preconnect" href="https://fonts.googleapis.com">
44-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
45-
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono&display=swap" rel="stylesheet">
43+
<link href="https://adobe-fonts.github.io/source-code-pro/source-code-pro.css" rel="stylesheet">
4644

4745
{%- for cssfile in extra_css_files %}
4846
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />

0 commit comments

Comments
 (0)