Skip to content

Commit c90de32

Browse files
kinowmr-c
authored andcommitted
Copy fonts style from commonwl.org
1 parent ea6ba8e commit c90de32

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/_static/css/custom.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
body {
2+
/*
3+
* These settings are copied from the https://commonwl.org website style
4+
* for consistency.
5+
*/
6+
font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
7+
font-size: 16px;
8+
line-height: 24px;
9+
color: rgb(33, 37, 41);
10+
}

src/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@
157157
# so a file named "default.css" will overwrite the builtin "default.css".
158158
html_static_path = ['_static']
159159

160+
html_css_files = [
161+
'css/custom.css',
162+
]
163+
160164
html_logo = '_static/images/logos/cwl/CWL-Logo-HD-cropped2.png'
161165
html_favicon = '_static/images/favicons/cwl/favicon.ico'
162166

0 commit comments

Comments
 (0)