-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedium-modern-dark.user.css
453 lines (372 loc) · 8.14 KB
/
medium-modern-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
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
/* ==UserStyle==
@name Medium Modern Dark
@description Dark mode/style/theme for Medium.com
@namespace github.com/CoreyVidal/Medium.com-Modern-Dark
@homepageURL https://github.com/CoreyVidal/Medium.com-Modern-Dark
@supportURL https://github.com/CoreyVidal/Medium.com-Modern-Dark/issues
@updateURL https://raw.githubusercontent.com/CoreyVidal/Medium.com-Modern-Dark/master/medium-modern-dark.user.css
@author Corey Vidal
@version 1.2.0
@preprocessor stylus
==/UserStyle== */
@-moz-document domain("medium.com") {
/*
White text:
F5F5F5
a.k.a.
rgba(255, 255, 255, 0.95);
High text:
E8E8E8
aka
rgba(255, 255, 255, 0.87)
Medium text:
D5D5D5
aka
rgba(255, 255, 255, 0.76);
Low text:
ACACAC
aka
rgba(255, 255, 255, 0.6);
*/
/* dark-dark */
.u-backgroundTransparentWhiteDarkest,
.u-backgroundGrayLightest,
.extremePromo,
.u-background--brandSageLighter,
.metabar-block,
.textInput,
.metabar,
.h
/* .ky */ {
background-color: #292929 !important;
color: #d5d5d5;
}
/* light-dark */
body,
html,
article,
.cardChromeless,
.screenContent,
/* .a, */
.c,
.h,
.canvas-renderer,
.u-backgroundColorWhite {
background-color: #2f2f2f !important;
color: #d5d5d5;
}
/* transparent overlay */
.overlay--lighter,
.overlay {
background-color: #2f2f2fd6
}
/*---------------COREY BEGINS---------------*/
/* PROFILES */
/* (This is the border for the below dropshadow) */
.fx {
border-color: rgba(37, 37, 37, 1);
}
/* Drop shadow for articles on profile page
EXAMPLE: https://medium.com/@WorldBrain */
.fz {
box-shadow: 0 1px 4px rgba(37, 37, 37, 1);
}
.fe {
border-bottom-color: rgba(37, 37, 37, 1);
}
.fk {
border-bottom-color: rgba(185, 185, 185, 1);
}
/* END OF PROFILES */
/* CHIPS */
/* EXAMPLE: https://medium.com/@WorldBrain/storexhub-an-offline-first-open-source-zapier-f8841810fd9c */
.pp {
background: rgba(242, 242, 242, 0.1);
}
/* END OF CHIPS */
/* HEADER */
/* This drop shadow (.x) overrides everything. Don't touch it. */
/*
.x {
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
border-color: transparent;
}
*/
/*
.p {
box-shadow: 0 15px 0px 0 rgba(0, 0, 255, 0);
border-color: transparent;
}
*/
/* .dt is the hover card that appears on top of articles */
.dt {
box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
}
/*
.ah {
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
border-color: transparent;
}
*/
.dg, .cz {
box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
}
/* END OF HEADER */
/* BUTTONS */
/* The "UPGRADE" button in the header */
.de, .cu {
border-color: rgba(3, 168, 124, 1);
}
/* Notification icon */
/* CONFLICT! With another .ri */
.ri {
background-color: rgb(3, 168, 124);
}
/* END OF BUTTONS */
/*
.c {
border-color: transparent !important;
}
*/
/* Front page top bar with transparency */
.l {
background-color: rgba(47, 47, 47, 0.95)
}
/* Front page top bar Medium logo */
.an,
.q,
.ew,
.aj {
fill: rgba(255, 255, 255, 0.95);
}
/*
#lo-homepage-no-ads-title {
color: rgba(255, 255, 255, 0.87);
}
#lo-homepage-no-ads-sub-title {
color: rgba(255, 255, 255, 0.76);
}
*/
.au {
color: rgba(255, 255, 255, 0.87);
}
.h1 {
color: rgba(255, 255, 255, 0.87);
}
.h2 {
color: rgba(255, 255, 255, 0.87);
}
.h3 {
color: rgba(255, 255, 255, 0.76);
}
/*Front page chips background colour*/
.de {
background-color: #292929;
}
/* Front page chips background colour selected */
/* But also footer table colour when you're locked out */
.fs {
background-color: /* This is intentionally left blank */
}
/* Front page chips hover overlay */
.do:hover {
background-color: rgba(255, 255, 255, 0.04);
}
/* Front page chips icon shadow */
.dp {
box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.08);
}
/* Front page chips font colour */
.dg {
color: rgba(255, 255, 255, 0.87);
}
/* Front page footer alternate text colour */
.ke {
color: rgba(255, 255, 255, 0.6) !important;
}
/* text */
/* text general */
.uiScale .ui-captionStrong,
.uiScale .ui-caption,
/*
h1,
h2,
h3,
h4,
*/
.imageCaption,
.button--chromeless:active,
.button--chromeless:focus,
.button--chromeless:hover,
.button--link:active,
.button--link:focus,
.button--link:hover,
.button,
p,
span,
.uiScale .ui-body,
.uiScale .ui-brand1,
.uiScale .ui-brand2,
.markup--mixtapeEmbed-strong,
.markup--mixtapeEmbed-em,
.u-textColorDark,
.uiScale .ui-h2,
.uiScale .ui-summary,
.uiScale .ui-h4,
.u-textColorNormal,
.ai,
.uiScale .ui-h3 {
color: #d5d5d5 !important;
/* background-image: none !important; */
}
/* text header */
.extremeAdaptiveSection-imageHeader {
color: #292929 !important;
}
/* blocks & codeboxes */
blockquote {
border-color: #d5d5d5 !important;
color: #d5d5d5 !important;
}
/* links */
a,
a:hover {
color: #06e988 !important;
}
/* bottom banner delete */
.u-backgroundWhite {
display: none;
}
/* light green */
.u-textColorLighter {
color: #73d085c9 !important;
}
/* stars */
.uiScale .ui-caption,
.u-textColorNormal,
.u-fillTransparentBlackDarker,
.y {
fill: #06e988 !important;
}
/* Transparency hole */
.metabar-block div {
background-color: transparent !important;
}
/* Search and Notification icon */
svg.svgIcon-use {
fill: rgba(240, 240, 240, .54)
}
svg.svgIcon-use:hover {
fill: rgba(250, 250, 250, .75)
}
/* Button on top be more noticeable */
a.button--upsellNav {
border-color: rgba(240, 240, 240, .54)
}
a.button--upsellNav:hover {
border-color: rgba(250, 250, 250, .75)
}
/* Darken the mouse over popup message box of the writer or publisher */
div.extremePostPreview-post > span.ui-capsSubtle,
div.extremePostPreview-post > div.u-flex > a.ui-capsSubtle {
color: rgba(250, 250, 250, .54) !important;
}
div.popover-inner,
div.popover-arrow:after {
background-color: #2f2f2f !important;
border: 1px solid rgba(240, 240, 240, .54) !important;
}
div.u-borderTopLighter {
border-top: 1px solid rgba(240, 240, 240, .54) !important;
}
.popover--bottom .popover-arrow {
top: 1.5px;
clip: rect(0px 18px 15px -4px);
z-index: 1000;
}
/* Front page sign in modal, but also mid-article scrim */
.lr {
background-color: transparent;
}
/* Front page sign in modal */
.lh {
background-color: #292929;
}
/* Front page sign in social media buttons */
.v {
color: rgba(255, 255, 255, 0.87);
}
/* Article title */
.cs, .cy, .cz {
color: rgba(255, 255, 255, 0.87);
}
/* Article alt title */
.og {
color: rgba(255, 255, 255, 0.87);
}
/* Article alt title */
.gu {
color: rgba(255, 255, 255, 0.87);
}
/* Article pre-footer */
.rj {
background-color: #292929;
}
/* Article alt pre-footer */
.vl {
background-color: #292929;
}
/* Article alt pre-footer */
/* CONFLICT! */
/* Behind text at bottom of article before pre-footer */
/* EXAMPLE: https://medium.com/@WorldBrain/storexhub-an-offline-first-open-source-zapier-f8841810fd9c */
.qc {
background-color: #2F2F2F;
}
/* Pre-footer background color */
.qo {
background-color: #292929;
}
/* Article alt pre-footer header text */
.fu {
color: rgba(255, 255, 255, 0.87);
}
/* Article alt pre-footer header text */
.fo {
color: rgba(255, 255, 255, 0.87);
}
/* Article alt pre-footer body text */
.da {
color: rgba(255, 255, 255, 0.87);
}
/* Article pre-footer title backgrounds */
.ch {
background-color: transparent;
}
/* Mid-article random background colour blocks */
.ld {
background-color: #2f2f2f;
}
/* Article footer title backgrounds */
/* CONFLICT */
/*
.ri {
background-color: #050505;
}
*/
/* Scrim gradient when locked out of article */
.ml {
background: linear-gradient(rgba(47, 47, 47, 0), rgba(47, 47, 47, 0.5), rgba(47, 47, 47, 1));
}
/* Text header locked out of article */
.fw {
color: rgba(255, 255, 255, 0.6);
}
/* Profile/Settings pop-out in top-right corner */
.u-resetSpectrum .u-baseColor--buttonDark {
color: rgba(255, 255, 255, 0.6) !important;
}
.button--chromeless:hover, .button--link:active {
color: rgba(255, 255, 255, 0.87) !important;
}
}