forked from StylishThemes/GitHub-Dark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmisc.css
192 lines (192 loc) · 5.45 KB
/
misc.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
@-moz-document regexp("^https?://github\.com/features/(security|actions)") {
img[src*="security-vulnerability.svg"],
img[src*="security-vulnerability-alert.svg"], img[src*="security-policy.svg"],
img[src*="security-workspace-bg.svg"],
img[src*="security-workspace-comment-1.svg"],
img[src*="security-workspace-comment-2.svg"],
img[src*="security-workspace-changes.svg"],
img[src*="security-workspace-merge.svg"], .section-security-alerts svg,
img[src*="security-dependabot.svg"], img.security-pr-merge,
.section-security-patches-graph, img[src*="security-token-scanning.svg"],
img[src*="security-lgtm-vulnerability.svg"],
img[src*="security-lgtm-alert.svg"], .actions-pr-checks {
filter: invert(90%) hue-rotate(-180deg) !important;
}
.section-actions-hero .actions-hero-bg, .section-actions-hero .actions-hero {
filter: invert(1) contrast(70%) brightness(80%);
}
.section-security-alerts-graph svg, .section-security-patches-graph {
filter: none !important;
}
[style="background: #fff; box-shadow: 0 10px 50px 30px #fff;"] {
background: none !important;
box-shadow: none !important;
}
[stroke="#E1E4E8"] {
stroke: #484848;
}
[stroke="#B08800"] {
stroke: #652;
}
[fill="#FFFDEF"] {
fill: #321;
}
[fill="#6A737D"] {
fill: #444;
}
[fill="white"]:not([d*="M279.27"]) {
fill: #111;
}
[fill="black"] {
fill: #eee;
}
svg.security-hero, .actions-hero {
filter: brightness(200%) contrast(80%);
}
.section-actions-workflow-logs::before, .actions-pricing-private::before {
filter: brightness(60%);
}
}
@-moz-document regexp("^https?://github\.com/(features|security).*") {
img[src*="img-"], img[src*="security"] {
filter: invert(90%) hue-rotate(-180deg) !important;
}
img[src*="img-share-achievements.png"] {
filter: invert(100%) hue-rotate(-85deg) !important;
}
.jumbotron-codelines {
color: #dcdcdc;
}
}
@-moz-document domain("resources.github.com") {
h1, h2, h3, h4, h5, h6 {
color: #c6c6c6;
}
.bg-dots-gray {
opacity: .2;
}
}
@-moz-document domain("guides.github.com") {
header img[src*="logo"] {
opacity: .7;
}
article h2 {
color: #c6c6c6;
}
ol.toc > li a.active {
color: #aaa;
}
}
@-moz-document domain("stylishthemes.github.io") {
* {
box-sizing: border-box;
}
body {
color: #e0e0e0;
background-color: #202020;
background-image: var(--ghd-bg-img);
background-clip: border-box;
background-origin: padding-box;
background-attachment: /*[[bg-attachment]]*/;
/*[[bg-options]]*/
}
.markdown-body img {
background-color: #181818;
background: none;
}
a {
color: /*[[base-color]]*/;
background-color: transparent;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4,
.markdown-body h5, .markdown-body h6 {
border-bottom: 1px solid #444;
}
.border-gray-light, hr {
border-color: #444 !important;
}
.markdown-body table th, .markdown-body table td {
border: 1px solid #444;
}
.text-gray {
color: #aaa !important;
}
.markdown-body table tr {
background-color: #181818;
border-top: 1px solid #444;
}
.markdown-body table tr:nth-child(2n) {
background-color: #202020;
}
/* style 404 page e.g. http://stylishthemes.github.io/ */
p {
color: #bebebe;
}
#suggestions a {
color: #9e9e9e;
}
}
@-moz-document url-prefix("https?://github.com/personal") {
.bg-blue-4, .illflow-blue .selected {
background: #182030 !important;
}
}
@-moz-document regexp("^https?://(education|lab)\.github\.com") {
.btn-blue {
background-image: linear-gradient(-180deg, rgba(/*[[base-color-rgb]]*/, 1), rgba(/*[[base-color-rgb]]*/, .9) 90%) !important;
}
.btn-blue.hover, .btn.btn-blue:hover {
background-image: linear-gradient(-180deg, rgba(/*[[base-color-rgb]]*/, .9), rgba(/*[[base-color-rgb]]*/, .8) 90%) !important;
border-color: rgba(/*[[base-color-rgb]]*/, .3) !important;
}
}
@-moz-document regexp("^https?://(render)\.githubusercontent\.com\/render\/math.*") {
svg {
background: var(--ghd-code-background);
}
svg #surface1 g[style*="fill"] {
fill: var(--ghd-code-color) !important;
}
}
@-moz-document domain("camo.githubusercontent.com") {
svg {
background: var(--ghd-code-background);
}
}
@-moz-document regexp("^https?://www\.zuora\.com.*github\.com.*") {
/* Styles the payment form iframe */
body, label {
background: transparent !important;
color: #bebebe !important;
}
input, select {
background: #181818 !important;
color: #bebebe !important;
border-color: #343434 !important;
}
select {
background: #181818 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAQAAAAua3X8AAAARklEQVR4AWNABWcazjQg8zGl/wNhA15piBL80gglmNKYSjClMZUgpDGVwKXxKBl4QNiRBLxJIKAIBzXhyCIc3YQTDMEkBwBplPJRxEMa4wAAAABJRU5ErkJggg==") no-repeat right 8px center !important;
background-size: 8px 10px !important;
}
input:focus, select:focus {
border-color: /*[[base-color]]*/ !important;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 2px /*[[base-color]]*/ !important;
outline-color: /*[[base-color]]*/ !important;
}
.btn-submit {
background-color: #373;
background-image: none;
border-color: rgba(220, 220, 220, .15);
}
.btn-submit:hover {
background-color: #484;
background-image: none;
}
.popup, #z_hppm_iframe {
background-color: var(--ghd-bg-color);
}
/* fix top white line */
.whitespace {
margin: -1px !important;
}
}