-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathwikipedia-dark-gray-text-colors.user.css
53 lines (51 loc) · 2.09 KB
/
wikipedia-dark-gray-text-colors.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
/* ==UserStyle==
@name Wikipedia Dark Gray Text Colors
@namespace StylishThemes
@version 2.0.12
@description Wikipedia Dark custom text grayscale colors
@author StylishThemes
@homepageURL https://github.com/StylishThemes/Feature-Override-Styles/
@supportURL https://github.com/StylishThemes/Feature-Override-Styles/issues/new/choose
@updateURL https://raw.githubusercontent.com/StylishThemes/Feature-Override-Styles/master/wikipedia-dark-gray-text-colors.user.css
@license CC-BY-SA-4.0
@var color color-1 "Header text colors" #eee
@var color color-2 "Main page text color" #ccc
@var color color-3 "Secondary text color" #aaa
@preprocessor stylus
==/UserStyle== */
@-moz-document regexp("https?://(([\w\-]{2,}\.)?(wiki(pedia|books|news|quote|source|versity|voyage)|wiktionary)|(www|test)\.(mediawiki|wiki(data|dot))|(meta|commons|otrs-wiki|species|wikitech|incubator)\.wikimedia)\.org\/.*"),
regexp("https?://([\w\-]{2,}\.m\.(wiki(pedia|books|news|quote|source|versity|voyage)|wiktionary)|www\.(mediawiki|wiki(data|dot))|(meta|commons|otrs-wiki|species|wikitech)\.wikimedia)\.org\/.+"),
regexp("https?://wiki\.(rpcs3\.net|(archlinux|mozilla)\.org)\/.*") {
html h1, html h1 span,
html h2, html h2 span,
html h3, html h3 span,
html h4, html h4 span,
html h5, html h5 span,
html h6, html h6 span {
color: color-1 !important;
}
html p, html td, html i span,
html i, html li, html span,
div b, html dd, html textarea {
color: color-2 !important;
}
#footer-info li, html .footer-sidebar-text, html bdi {
color: color-3 !important;
}
/* fix link colors */
.hlist li a span, .hlist li a span:hover,
.potd-recent > div > ul > li > a > i, html a bdi {
color: inherit !important;
}
}
@-moz-document regexp("https?://wiki\.(rpcs3\.net|(archlinux|mozilla)\.org)\/.*") {
html .mw-parser-output .archwiki-template-meta-related-articles-start p {
color: color-1 !important;
}
html .archwiki-template-box-note {
color: color-2 !important;
}
html .archwiki-template-message div {
color: color-3 !important;
}
}