Commit 3981cc3
committed
docs: fix the header logo fill and align theme font weights
The logo SVG carried fill="none" only on the root element; Material's
.md-logo svg { fill: currentcolor } rule overrides a root presentation
attribute, so the three open stroke paths rendered as a solid filled shape.
Declaring fill="none" on each path wins over the inherited CSS value.
Font weights move from 600 to 700: the theme's Google Fonts request only
loads Inter at 300/400/700, so 600 was already substituting the 700 face
with the webfont while rendering a lighter true-600 on the system fallback
stack. The ltr/rtl rule pairs collapse into margin-inline-start and
border-inline-start, which tie Material's physical outdent at equal
specificity and win on source order.
Cap mkdocs-material below 10: extra.css deliberately overrides
theme-internal nav selectors, so a major bump should revisit it.1 parent 5733216 commit 3981cc3
4 files changed
Lines changed: 24 additions & 24 deletions
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 31 | + | |
| 32 | + | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
| |||
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
54 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
55 | 51 | | |
56 | | - | |
| 52 | + | |
57 | 53 | | |
58 | 54 | | |
59 | 55 | | |
| |||
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
| 69 | + | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | | - | |
| 73 | + | |
76 | 74 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments