Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9916043

Browse files
authored
Merge pull request#176 from hugovk/sfs
Modernise font: use system font stack to improve text readability and webpage performance
2 parentsa08b380 +5f063bd commit9916043

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎python_docs_theme/static/pydoctheme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ div.sphinxsidebar a:hover {
170170
form.inline-searchinput,
171171
div.sphinxsidebarinput,
172172
div.relatedinput {
173-
font-family:'Lucida Grande', Arial, sans-serif;
173+
font-family:-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
174174
border:1px solid#999999;
175175
font-size: smaller;
176176
border-radius:3px;
@@ -258,7 +258,7 @@ div.body a:hover {
258258
}
259259

260260
tt,code,pre {
261-
font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono","Liberation Mono", Menlo, Monaco, Consolas, monospace;
261+
font-family:Menlo, Consolas, Monaco,Liberation Mono, Lucida Console, monospace;
262262
font-size:96.5%;
263263
}
264264

@@ -362,7 +362,7 @@ div.genindex-jumpbox a {
362362
top:0;
363363
right:0;
364364
text-size:75%;
365-
font-family: monospace;
365+
font-family:Menlo, Consolas, Monaco, Liberation Mono, Lucida Console,monospace;
366366
padding-left:0.2em;
367367
padding-right:0.2em;
368368
border-radius:03px00;

‎python_docs_theme/theme.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ pygments_style = default
55
pygments_dark_style = monokai
66

77
[options]
8-
bodyfont ='Lucida Grande', Arial, sans-serif
9-
headfont ='Lucida Grande', Arial, sans-serif
8+
bodyfont =-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif
9+
headfont =-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif
1010
footerbgcolor = white
1111
footertextcolor = #555555
1212
relbarbgcolor = white

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp