|
1 | 1 | html {
|
2 |
| - --page-background: white; |
3 |
| - --footer-background: rgba(0, 0, 0, 0.02); |
4 |
| - --primary-color: rgb(44, 62, 80); |
5 |
| - --primary-color-lighter: #449ad7; |
6 |
| - --primary-color-darker: #1a5285; |
7 |
| - --primary-color-accent: #cee5f6; |
8 |
| - --contrast-color-light: #fff; |
| 2 | + --button-one-hover: #436eff; |
| 3 | + --button-one: #2758ff; |
| 4 | + --button-two-hover: #444; |
| 5 | + --button-two: black; |
| 6 | + --code-button-background: var(--markdown-table-row-odd-background-color); |
| 7 | + --code-button-focus-background: var(--markdown-syntax-background-color); |
| 8 | + --code-tabs-tabs-background: var(--page-background); |
9 | 9 | --contrast-color-dark: #1d3557;
|
10 |
| - --primary-text-color: #2c3e50; |
11 |
| - --primary-lines-color: #ccc; |
12 |
| - --markdown-link-color: #2758ff; |
| 10 | + --contrast-color-light: #fff; |
| 11 | + --footer-background: rgba(0, 0, 0, 0.02); |
13 | 12 | --header-color: white;
|
| 13 | + --markdown-link-color: #2758ff; |
14 | 14 | --owc-active-color: #2758ff;
|
15 | 15 | --owc-hover-color: #436eff;
|
16 |
| - --button-one: #2758ff; |
17 |
| - --button-one-hover: #436eff; |
18 |
| - --button-two: black; |
19 |
| - --button-two-hover: #444; |
20 |
| - --code-tabs-tabs-background: var(--page-background); |
21 |
| - --code-button-focus-background: var(--markdown-syntax-background-color); |
22 |
| - --code-button: var(--markdown-table-row-odd-background-color); |
| 16 | + --page-background: white; |
| 17 | + --primary-color-accent: #cee5f6; |
| 18 | + --primary-color-darker: #1a5285; |
| 19 | + --primary-color-lighter: #449ad7; |
| 20 | + --primary-color: rgb(44, 62, 80); |
| 21 | + --primary-lines-color: #ccc; |
| 22 | + --primary-text-color: #2c3e50; |
23 | 23 | }
|
24 | 24 |
|
25 | 25 | @media (prefers-color-scheme: dark) {
|
|
58 | 58 | --markdown-kbd-border-bottom-color: #959da5;
|
59 | 59 | --markdown-kbd-color: #444d56;
|
60 | 60 | --markdown-heading-color-6: #6a737d;
|
61 |
| - --markdown-table-background-color: #fff; |
62 | 61 | --markdown-table-border-color: #c6cbd1;
|
63 |
| - --markdown-table-row-odd-background-color: #f6f8fa; |
| 62 | + --markdown-table-background-color: #212121; |
| 63 | + --markdown-table-row-odd-background-color: var(--markdown-syntax-background-color); |
64 | 64 | --markdown-code-background-color: rgba(27, 31, 35, 0.05);
|
65 | 65 | --markdown-pre-background-color: rgb(49, 49, 49);
|
66 | 66 |
|
@@ -131,43 +131,3 @@ html {
|
131 | 131 | --markdown-syntax-string-color: #81a1c1;
|
132 | 132 | }
|
133 | 133 | }
|
134 |
| - |
135 |
| -body[layout='home'] .markdown-body .call-to-action:nth-of-type(2) { |
136 |
| - --primary-color: #222; |
137 |
| - --primary-color-lighter: #333; |
138 |
| - --primary-color-darker: #000; |
139 |
| -} |
140 |
| - |
141 |
| -.call-to-action { |
142 |
| - background: var(--button-one) !important; |
143 |
| - text-shadow: none !important; |
144 |
| - border-radius: 5px !important; |
145 |
| - padding-top: 15px !important; |
146 |
| - padding-bottom: 15px !important; |
147 |
| - border: none !important; |
148 |
| -} |
149 |
| - |
150 |
| -.call-to-action:hover, |
151 |
| -.call-to-action:focus, |
152 |
| -.call-to-action:active { |
153 |
| - background: var(--button-one-hover) !important; |
154 |
| -} |
155 |
| - |
156 |
| -.call-to-action:nth-child(2) { |
157 |
| - background: var(--button-two) !important; |
158 |
| -} |
159 |
| - |
160 |
| -.call-to-action:nth-child(2):hover, |
161 |
| -.call-to-action:nth-child(2):focus, |
162 |
| -.call-to-action:nth-child(2):active { |
163 |
| - background: var(--button-two-hover) !important; |
164 |
| -} |
165 |
| - |
166 |
| -code-tabs[collection="package-managers"] { |
167 |
| - --code-tabs-icon-height: 18px; |
168 |
| - --code-tabs-justify-tabs: end; |
169 |
| -} |
170 |
| - |
171 |
| -:not(rocket-navigation):not(:defined) { |
172 |
| - opacity: 0; |
173 |
| -} |
0 commit comments