|
1 | 1 | [data-md-color-scheme="slate"] { |
2 | | - --md-hue: 255; |
| 2 | + --md-hue: 255; |
3 | 3 | } |
4 | 4 |
|
5 | 5 | [data-md-color-scheme="slate"] img.invertible { |
6 | | - filter: invert(1) hue-rotate(180deg) brightness(2); |
7 | | - mix-blend-mode: screen; |
| 6 | + filter: invert(1) hue-rotate(180deg) brightness(2); |
| 7 | + mix-blend-mode: screen; |
8 | 8 | } |
9 | 9 |
|
10 | 10 | :root { |
11 | | - --md-primary-fg-color: #452897; |
12 | | - --md-primary-fg-color--light: #704ed2; |
13 | | - --md-primary-fg-color--dark: #1f0e4f; |
14 | | - --md-accent-fg-color: #452897; |
15 | | - --md-accent-fg-color--light: #704ed2; |
16 | | - --md-accent-fg-color--dark: #1f0e4f; |
17 | | - |
18 | | - --md-text-font: "Roboto", Arial, sans-serif; |
19 | | - --md-code-font: "Roboto Mono", monospace; |
| 11 | + --md-primary-fg-color: #452897; |
| 12 | + --md-primary-fg-color--light: #704ed2; |
| 13 | + --md-primary-fg-color--dark: #1f0e4f; |
| 14 | + --md-accent-fg-color: #452897; |
| 15 | + --md-accent-fg-color--light: #704ed2; |
| 16 | + --md-accent-fg-color--dark: #1f0e4f; |
| 17 | + |
| 18 | + --md-text-font: "Roboto", Arial, sans-serif; |
| 19 | + --md-code-font: "Roboto Mono", monospace; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | .md-banner a { |
23 | | - color: white; |
24 | | - text-decoration: underline; |
| 23 | + color: white; |
| 24 | + text-decoration: underline; |
25 | 25 | } |
26 | 26 |
|
27 | 27 | .md-banner a:hover { |
28 | | - color: white; |
29 | | - text-decoration: none; |
| 28 | + color: white; |
| 29 | + text-decoration: none; |
30 | 30 | } |
31 | 31 |
|
32 | 32 | /*Fonts*/ |
33 | 33 |
|
34 | 34 | @font-face { |
35 | | - font-family: 'Roboto'; |
36 | | - font-style: normal; |
37 | | - font-weight: 300; |
38 | | - font-display: fallback; |
39 | | - src: url(./Roboto/Roboto-Light.ttf); |
| 35 | + font-family: "Roboto"; |
| 36 | + font-style: normal; |
| 37 | + font-weight: 300; |
| 38 | + font-display: fallback; |
| 39 | + src: url(./Roboto/Roboto-Light.ttf); |
40 | 40 | } |
41 | 41 |
|
42 | 42 | @font-face { |
43 | | - font-family: 'Roboto'; |
44 | | - font-style: italic; |
45 | | - font-weight: 300; |
46 | | - font-display: fallback; |
47 | | - src: url(./Roboto/Roboto-LightItalic.ttf); |
| 43 | + font-family: "Roboto"; |
| 44 | + font-style: italic; |
| 45 | + font-weight: 300; |
| 46 | + font-display: fallback; |
| 47 | + src: url(./Roboto/Roboto-LightItalic.ttf); |
48 | 48 | } |
49 | 49 |
|
50 | 50 | @font-face { |
51 | | - font-family: 'Roboto'; |
52 | | - font-style: normal; |
53 | | - font-weight: 400; |
54 | | - font-display: fallback; |
55 | | - src: url(./Roboto/Roboto-Regular.ttf); |
| 51 | + font-family: "Roboto"; |
| 52 | + font-style: normal; |
| 53 | + font-weight: 400; |
| 54 | + font-display: fallback; |
| 55 | + src: url(./Roboto/Roboto-Regular.ttf); |
56 | 56 | } |
57 | 57 |
|
58 | 58 | @font-face { |
59 | | - font-family: 'Roboto'; |
60 | | - font-style: italic; |
61 | | - font-weight: 400; |
62 | | - font-display: fallback; |
63 | | - src: url(./Roboto/Roboto-Italic.ttf); |
| 59 | + font-family: "Roboto"; |
| 60 | + font-style: italic; |
| 61 | + font-weight: 400; |
| 62 | + font-display: fallback; |
| 63 | + src: url(./Roboto/Roboto-Italic.ttf); |
64 | 64 | } |
65 | 65 |
|
66 | 66 | @font-face { |
67 | | - font-family: 'Roboto'; |
68 | | - font-style: normal; |
69 | | - font-weight: 700; |
70 | | - font-display: fallback; |
71 | | - src: url(./Roboto/Roboto-Bold.ttf); |
| 67 | + font-family: "Roboto"; |
| 68 | + font-style: normal; |
| 69 | + font-weight: 700; |
| 70 | + font-display: fallback; |
| 71 | + src: url(./Roboto/Roboto-Bold.ttf); |
72 | 72 | } |
73 | 73 |
|
74 | 74 | @font-face { |
75 | | - font-family: 'Roboto'; |
76 | | - font-style: italic; |
77 | | - font-weight: 700; |
78 | | - font-display: fallback; |
79 | | - src: url(./Roboto/Roboto-BoldItalic.ttf); |
| 75 | + font-family: "Roboto"; |
| 76 | + font-style: italic; |
| 77 | + font-weight: 700; |
| 78 | + font-display: fallback; |
| 79 | + src: url(./Roboto/Roboto-BoldItalic.ttf); |
80 | 80 | } |
81 | 81 |
|
82 | | - |
83 | 82 | /*Roboto Mono*/ |
84 | 83 |
|
85 | 84 | @font-face { |
86 | | - font-family: 'Roboto Mono'; |
87 | | - font-style: normal; |
88 | | - font-weight: 400; |
89 | | - font-display: fallback; |
90 | | - src: url(./Roboto_Mono/RobotoMono-Regular.ttf); |
| 85 | + font-family: "Roboto Mono"; |
| 86 | + font-style: normal; |
| 87 | + font-weight: 400; |
| 88 | + font-display: fallback; |
| 89 | + src: url(./Roboto_Mono/RobotoMono-Regular.ttf); |
91 | 90 | } |
92 | 91 |
|
93 | 92 | @font-face { |
94 | | - font-family: 'Roboto Mono'; |
95 | | - font-style: italic; |
96 | | - font-weight: 400; |
97 | | - font-display: fallback; |
98 | | - src: url(./Roboto_Mono/RobotoMono-Italic.ttf); |
| 93 | + font-family: "Roboto Mono"; |
| 94 | + font-style: italic; |
| 95 | + font-weight: 400; |
| 96 | + font-display: fallback; |
| 97 | + src: url(./Roboto_Mono/RobotoMono-Italic.ttf); |
99 | 98 | } |
100 | 99 |
|
101 | 100 | @font-face { |
102 | | - font-family: 'Roboto Mono'; |
103 | | - font-style: normal; |
104 | | - font-weight: 700; |
105 | | - font-display: fallback; |
106 | | - src: url(./Roboto_Mono/RobotoMono-Bold.ttf); |
| 101 | + font-family: "Roboto Mono"; |
| 102 | + font-style: normal; |
| 103 | + font-weight: 700; |
| 104 | + font-display: fallback; |
| 105 | + src: url(./Roboto_Mono/RobotoMono-Bold.ttf); |
107 | 106 | } |
108 | 107 |
|
109 | 108 | @font-face { |
110 | | - font-family: 'Roboto Mono'; |
111 | | - font-style: italic; |
112 | | - font-weight: 700; |
113 | | - font-display: fallback; |
114 | | - src: url(./Roboto_Mono/RobotoMono-BoldItalic.ttf); |
| 109 | + font-family: "Roboto Mono"; |
| 110 | + font-style: italic; |
| 111 | + font-weight: 700; |
| 112 | + font-display: fallback; |
| 113 | + src: url(./Roboto_Mono/RobotoMono-BoldItalic.ttf); |
| 114 | +} |
| 115 | + |
| 116 | +/* Prevent smallcaps in headers */ |
| 117 | +.md-typeset h1, |
| 118 | +.md-typeset h2, |
| 119 | +.md-typeset h3, |
| 120 | +.md-typeset h4, |
| 121 | +.md-typeset h5, |
| 122 | +.md-typeset h6 { |
| 123 | + color: var(--md-typeset-color); |
| 124 | + text-transform: none; |
| 125 | +} |
| 126 | + |
| 127 | +.md-typeset h5, |
| 128 | +.md-typeset h6 { |
| 129 | + font-size: 1em; |
115 | 130 | } |
0 commit comments