/
co-sun-dark.user.css
284 lines (243 loc) · 7.03 KB
/
co-sun-dark.user.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
/* ==UserStyle==
@name The Colorado Sun dark theme
@namespace https://github.com/obscuredetour/
@version 1.3.2
@license CC-BY-4.0
@author obscure detour (https://www.jeffreysummers.me)
@homepageURL https://github.com/obscuredetour/dark-co-sun
@updateURL https://github.com/obscuredetour/dark-co-sun/raw/master/co-sun-dark.user.css
==/UserStyle== */
@-moz-document domain("coloradosun.com") {
:root {
--raven: #202326;
--night-sky: #232629;
--ash: #303438;
--dusk: #444;
--dusky-fog: #42484e;
--charcoal: #555;
--fog: #7c7c7e;
--soot: #aeaeae;
--rimrock: #bcb8b6;
--smoke: #c4c2c0;
--stone: #c9c9c9;
--cloud-front: rgba(255,255,255,.85);
--cloud-clear: #f5f4f5;
--sun-rays: #fcd232;
--flower-blue: #2b56ff;
--stem-green: #30e8bd;
/* backgrounds */
--bkg-main: var(--raven);
--bkg-button: var(--sun-rays);
--bkg-link-nav-hover: var(--dusky-fog);
/* text */
--txt-body: var(--cloud-clear);
--txt-heading: var(--cloud-front);
--txt-grey: var(--rimrock);
--txt-link: var(--stem-green);
}
html,
.large-feature__content___jQPqQ,
.article-header__wrapper___1UKb2,
.civil-footer__wrapper___3xZwz,
.article-header__date___3TskR::after {
background-color: var(--bkg-main);
color: var(--txt-body);
}
.search-form__input___2VR7a {
background-color: var(--dusk);
color: var(--rimrock);
}
.has-very-light-gray-background-color,
.sub-menu a:focus,
.sub-menu a:hover,
.body-content__sidebar___3Bplp div[style*="background-color:#fcd232"] {
background-color: var(--dusky-fog) !important;
}
.content-item__eyebrow___25bqF a,
.river__title___krYaD a,
.rich-text ol,
.rich-text p,
.rich-text ul,
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6,
.article-footer__social-shares .sd-title,
.article-bylines__expandable___1gcWr .article-bylines__bio-name___30oIS,
.article-bylines__static___1jfy3 .article-bylines__bio-name___30oIS {
color: var(--txt-body);
}
.content-item__eyebrow___25bqF span,
.newsroom-header__subscribe-wrapper .subscribe-button__button,
p.has-luminous-vivid-amber-background-color,
p.has-cyan-bluish-gray-background-color,
p.has-background[style*="background-color:#fcd232"],
.newsroom-header__subscribe-wrapper button.cta-button__button,
.newsroom-footer__subscribe-wrapper button.cta-button__button {
color: var(--ash);
}
.rich-text p.has-luminous-vivid-amber-background-color a,
.rich-text p.has-luminous-vivid-amber-background-color a:visited,
p.has-background[style*="background-color:#fcd232"] a,
p.has-background[style*="background-color:#fcd232"] a:visited {
color: #000;
}
.rich-text p.has-luminous-vivid-amber-background-color a:hover,
.rich-text p.has-luminous-vivid-amber-background-color a:focus,
p.has-background[style*="background-color:#fcd232"] a:hover,
p.has-background[style*="background-color:#fcd232"] a:focus {
color: var(--ash);
border-bottom: 2px solid var(--ash);
}
.rich-text .alignfull img {
box-shadow: none;
}
/* Article cards */
.card__wrapper___35V-0,
.large-feature__content___jQPqQ {
border-color: var(--charcoal);
}
.card__wrapper___35V-0,
.large-feature__content___jQPqQ {
border-bottom-color: var(--flower-blue);
}
iframe[src*="//datawrapper"] {
background-color: rgba(255, 255, 255, 0.7);
padding-left: 0.25rem;
padding-right: 0.25rem;
margin-bottom: 1rem;
}
.river__title___krYaD {
color: var(--txt-body);
line-height: 1.2;
}
.page-header__title,
.article-header__title,
.large-feature__title___1lPYS a,
.article-header__wrapper___1UKb2 {
color: var(--txt-heading);
}
.credibility-indicators__heading___1JRFb,
.credibility-indicators__heading___1JRFb,
button [data-_extension-text-contrast="fg"],
[data-_extension-text-contrast="default"]:root {
color: var(--txt-heading) !important;
}
.featured-articles__list-headline___scXlr,
.credibility-indicators__intro___1IYKw {
border-bottom-color: var(--txt-body);
}
.newsroom-header__runs-on-civil svg,
.newsroom-header__menu-trigger path,
svg:not(:root),
.credibility-indicators__icon svg path,
.credibility-indicators__icon svg g,
.credibility-indicators__icon svg g path {
fill: var(--txt-body);
}
.credibility-indicators__icon svg g {
stroke: var(--txt-body);
}
.article-taxonomies__link___3_SRi {
background-color: var(--charcoal);
color: var(--txt-body);
}
.article-taxonomies__link___3_SRi:hover {
background-color: var(--dusk);
}
.card__dek___2LnA5 {
color: var(--soot);
}
.rich-text span[style*="color:gray;"] {
color: var(--soot) !important;
}
.content-item__date___2Adqk {
color: var(--stone);
}
.article-bylines__byline-expand___1Cti0[aria-expanded]::after {
color: var(--cloud-clear);
}
.card__avatar___1YAw7,
.article-bylines__expandable___1gcWr .article-bylines__bio-content___18yWF,
.article-bylines__static___1jfy3 .article-bylines__bio-content___18yWF,
.river__byline___1YWD4,
.rich-text .wp-block-image figcaption,
.content-item__eyebrow___25bqF a {
color: var(--rimrock);
}
.card__avatar___1YAw7:focus,
.card__avatar___1YAw7:hover {
color: var(--stone);
}
.content-item__eyebrow___25bqF a:focus,
.content-item__eyebrow___25bqF a:hover {
color: var(--cloud-front);
}
.rich-text p a {
color: var(--stem-green);
border-bottom: 2px solid var(--flower-blue);
}
.rich-text p a:hover,
.rich-text p a:focus {
color: var(--smoke);
}
.article-bylines__twitter-handle___26sL7,
.article-bylines__bio-more___3XaZl {
color: var(--stem-green);
}
.article-bylines__twitter-handle___26sL7,
.article-bylines__bio-more___3XaZl,
.credibility-indicators__learn-more___3BCYI,
.article-bylines__bio-content a,
.sharing-anchor.sd-button.share-more,
.rich-text h2 a,
.rich-text h3 a,
.rich-text h4 a,
.rich-text h5 a,
.rich-text h6 a {
color: var(--sun-rays);
}
.button-secondary-light {
color: var(--sun-rays);
border-color: var(--sun-rays);
}
.button-secondary-light:hover,
.button-secondary-light:focus {
color: var(--night-sky);
background-color: var(--sun-rays);
}
@media screen and (max-width: 1024px) {
.newsroom-header__nav___2hRfj a:focus,
.newsroom-header__nav___2hRfj a:hover {
background-color: var(--smoke);
}
}
.newsroom-header__inner___2V-uJ {
max-width: 94rem;
}
.newsroom-header__inner___2V-uJ .cta-button__button___2D4Pn {
max-width: 10.5rem;
color: var(--night-sky);
font-weight: bold;
letter-spacing: 0.4px;
}
.newsroom-header__nav li a {
font-size: 14px;
position: relative;
text-transform: uppercase;
font-weight: 500;
letter-spacing: 0.1px;
}
newsroom-header__nav li#menu-item-50732 a:after {
content: '';
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
width: 1px;
height: 2.5rem;
background-color: var(--dusk);
}
}