8000 style(annotation): fix using system fonts without workaround · eknathk/complete-python-course@e4965cb · GitHub
[go: up one dir, main page]

Skip to content

Commit e4965cb

Browse files
committed
style(annotation): fix using system fonts without workaround
Also fix annotation style
1 parent bb4c51e commit e4965cb

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

course_contents/stylesheets/extra.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
:root {
2-
/* use the system font stack */
3-
--md-text-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
4-
}
5-
61
h1, h2 {
72
font-weight: 800 !important;
83
}
94

105
h3 {
116
font-weight: 600 !important;
7+
}
8+
9+
.md-annotation__index [data-md-annotation-id]::before {
10+
vertical-align: -0.05em;
11+
}
12+
13+
.md-annotation__index::after {
14+
margin: 0 -.35ch;
1215
}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ markdown_extensions:
2525
theme:
2626
name: material
2727
custom_dir: overrides
28+
font: false
2829
features:
2930
- navigation.sections
3031
- navigation.tabs

0 commit comments

Comments
 (0)
0