|
1 | 1 |
|
2 | | -.md-header { |
| 2 | +/* Dark mode styles - only apply when Material theme is in dark mode (slate scheme) */ |
| 3 | +[data-md-color-scheme="slate"] .md-header { |
3 | 4 | background-color: #02030C !important; |
4 | 5 | } |
5 | | -.md-search__input { |
| 6 | +[data-md-color-scheme="slate"] .md-search__input { |
6 | 7 | background-color: rgba(22, 18, 48, 0.40) !important; |
7 | 8 | color: rgba(233, 219, 189, 0.90) !important; |
8 | 9 | } |
9 | | -.md-search__input::placeholder { |
| 10 | +[data-md-color-scheme="slate"] .md-search__input::placeholder { |
10 | 11 | color: rgba(233, 219, 189, 0.60) !important; |
11 | 12 | opacity: 1; |
12 | 13 | } |
13 | | -.md-tabs { |
| 14 | +[data-md-color-scheme="slate"] .md-tabs { |
14 | 15 | background-color: #02030C !important; |
15 | 16 | } |
16 | | -.md-ellipsis{ |
| 17 | +[data-md-color-scheme="slate"] .md-ellipsis{ |
17 | 18 | color: rgba(233, 219, 189, 0.90) !important; |
18 | 19 | } |
19 | | -.md-footer { |
| 20 | +[data-md-color-scheme="slate"] .md-footer { |
20 | 21 | background-color: #02030C !important; |
21 | 22 | } |
22 | | -.md-footer-meta{ |
| 23 | +[data-md-color-scheme="slate"] .md-footer-meta{ |
23 | 24 | background-color: #02030C !important; |
24 | 25 | } |
25 | 26 | /* General Markdown background and text colors */ |
26 | | -body { |
27 | | - background-color: #02030C; |
| 27 | +[data-md-color-scheme="slate"] body { |
| 28 | + background-color: #02030C !important; |
28 | 29 | color: rgba(233, 219, 189, 0.90) !important; |
29 | 30 | font-family: 'Arial', sans-serif; |
30 | 31 | } |
31 | 32 |
|
| 33 | +/* Main content area background */ |
| 34 | +[data-md-color-scheme="slate"] .md-main { |
| 35 | + background-color: #02030C !important; |
| 36 | +} |
| 37 | + |
| 38 | +[data-md-color-scheme="slate"] .md-content { |
| 39 | + background-color: #02030C !important; |
| 40 | +} |
| 41 | + |
| 42 | +[data-md-color-scheme="slate"] .md-content__inner { |
| 43 | + background-color: #02030C !important; |
| 44 | +} |
| 45 | + |
| 46 | +[data-md-color-scheme="slate"] .md-typeset { |
| 47 | + background-color: #02030C !important; |
| 48 | + color: rgba(233, 219, 189, 0.90) !important; |
| 49 | +} |
| 50 | + |
32 | 51 | /* Headings */ |
33 | | -h1, h2, h3, h4, h5, h6 { |
| 52 | +[data-md-color-scheme="slate"] h1, |
| 53 | +[data-md-color-scheme="slate"] h2, |
| 54 | +[data-md-color-scheme="slate"] h3, |
| 55 | +[data-md-color-scheme="slate"] h4, |
| 56 | +[data-md-color-scheme="slate"] h5, |
| 57 | +[data-md-color-scheme="slate"] h6 { |
34 | 58 | color: rgba(233, 219, 189, 0.90) !important; |
35 | 59 | } |
36 | 60 |
|
37 | 61 | /* Links */ |
38 | | -a { |
| 62 | +[data-md-color-scheme="slate"] a { |
39 | 63 | color: rgba(233, 219, 189, 0.90) !important; |
40 | | - |
41 | 64 | } |
42 | | -a:hover { |
| 65 | +[data-md-color-scheme="slate"] a:hover { |
43 | 66 | color: rgba(233, 219, 189, 0.90) !important; |
44 | 67 | } |
45 | 68 |
|
46 | 69 | /* Code blocks */ |
47 | | -pre, code { |
| 70 | +[data-md-color-scheme="slate"] pre, |
| 71 | +[data-md-color-scheme="slate"] code { |
48 | 72 | background-color: rgba(22, 18, 48, 0.40) !important; |
49 | 73 | color: rgba(233, 219, 189, 0.90) !important; |
50 | 74 | } |
51 | 75 |
|
52 | 76 | /* Blockquotes */ |
53 | | -blockquote { |
| 77 | +[data-md-color-scheme="slate"] blockquote { |
54 | 78 | border-left: 4px solid rgba(233, 219, 189, 0.90); |
55 | 79 | background-color: #02030C !important; |
56 | 80 | color: rgba(233, 219, 189, 0.90) !important; |
57 | 81 | } |
58 | 82 |
|
59 | | - |
60 | 83 | /* Tables */ |
61 | | -table { |
| 84 | +[data-md-color-scheme="slate"] table { |
62 | 85 | background-color: rgba(22, 18, 48, 0.40) !important; |
63 | 86 | color: rgba(233, 219, 189, 0.90) !important; |
64 | 87 | } |
65 | | -th, td { |
| 88 | +[data-md-color-scheme="slate"] th, |
| 89 | +[data-md-color-scheme="slate"] td { |
66 | 90 | background-color: rgba(22, 18, 48, 0.40) !important; |
67 | 91 | color: rgba(233, 219, 189, 0.90) !important; |
68 | 92 | border: 1px solid rgba(210, 198, 172, 0.08) !important; |
69 | 93 | } |
70 | 94 | /* Horizontal rules */ |
71 | | -hr { |
| 95 | +[data-md-color-scheme="slate"] hr { |
72 | 96 | background-color: rgba(22, 18, 48, 0.40) !important; |
73 | 97 | } |
74 | | -.md-search__icon.md-icon { |
| 98 | +[data-md-color-scheme="slate"] .md-search__icon.md-icon { |
75 | 99 | color: rgba(233, 219, 189, 0.90) !important; |
76 | 100 | } |
77 | 101 |
|
78 | | -.md-search__icon.md-icon:hover { |
| 102 | +[data-md-color-scheme="slate"] .md-search__icon.md-icon:hover { |
79 | 103 | color: rgba(233, 219, 189, 0.90) !important; |
80 | 104 | } |
81 | | -.card { |
| 105 | +[data-md-color-scheme="slate"] .card { |
82 | 106 | background-color: rgba(22, 18, 48, 0.40) !important; |
83 | 107 | border: 1px solid rgba(210, 198, 172, 0.08) !important; |
84 | 108 | } |
85 | 109 |
|
86 | | -details { |
| 110 | +[data-md-color-scheme="slate"] details { |
87 | 111 | border: 1.65px solid rgba(210, 198, 172, 0.08) !important; |
88 | 112 | background-color: rgba(22, 18, 48, 0.40) !important; |
89 | 113 | color: rgba(233, 219, 189, 0.90) !important; |
90 | 114 | } |
91 | | -summary { |
| 115 | +[data-md-color-scheme="slate"] summary { |
92 | 116 | background-color: rgba(22, 18, 48, 0.40) !important; |
93 | 117 | color: rgba(233, 219, 189, 0.90) !important; |
94 | 118 | } |
95 | | -.md-header__button { |
| 119 | +[data-md-color-scheme="slate"] .md-header__button { |
96 | 120 | color: rgba(233, 219, 189, 0.90) !important; |
97 | 121 | } |
98 | | -.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link { |
| 122 | +[data-md-color-scheme="slate"] .md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link { |
99 | 123 | background: none !important; |
100 | 124 | box-shadow: none !important; |
101 | 125 | } |
102 | | -.md-nav--secondary .md-nav__title { |
103 | | - background: none !important; |
| 126 | +[data-md-color-scheme="slate"] .md-nav--secondary .md-nav__title { |
| 127 | + background: #02030C !important; |
104 | 128 | box-shadow: none !important; |
105 | 129 | color: rgba(233, 219, 189, 0.90) !important; |
106 | 130 | } |
0 commit comments