-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
userstyle.css
294 lines (230 loc) · 7.74 KB
/
userstyle.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
@-moz-document domain("www.spigotmc.org") {
:root {
/* Colors */
--bg-color: #222; /* Black */
--bg-secondary-color: #383838; /* dark grey */
--txt-color: orange;
--txt-secondary-color: grey;
/* This will be either none or initial */
--display-banner: /*[[show-banner]]*/;
}
/* Spigot banner with the logo and the info text between the navigation bar and the user info bar */
#logoBlock {
display: var(--display-banner);
}
/* Background */
body {
background-color: var(--bg-color) !important;
/* The default text color is black -> grey will make it readable without
overriding spigot style settings*/
color: var(--txt-secondary-color);
}
/* Navigation header subcategories - i.e. "Your Resources" */
.navTabs .navTab.selected .tabLinks a {
/* makes the text unreadable if it has a black background */
text-shadow: none !important;
}
/* Subcategories - as well as the selected main category item "Resources" */
.navTabs .navTab.selected .tabLinks,
.hasTabLinks #navigation .navTabs .navTab.selected .navLink {
background-color: var(--bg-color) !important;
/* Remove the white border line between the subcategories and the main content */
border: 0px;
}
/* Remove transition border of the selected tab */
#navigation .navTabs .navTab.selected .navLink:before,
#navigation .navTabs .navTab.selected .navLink:after {
background: initial;
}
/* Drop down menu tab */
.tabMenu, .tabMenu .menuHeader,
.tabMenu .blockLinksList {
background-color: var(--bg-color) !important;
border-color: var(--bg-secondary-color);
}
/* Main content container */
.mainContainer_noSidebar,
.mainContainer .mainContent {
background-color: var(--bg-secondary-color) !important;
/* Remove the padding for more content space */
border: 0;
}
/* Main news site of this website */
.articleItem .sectionMain,
.articleItem .sectionMain .subHeading,
.articleItem .sectionMain .primaryContent,
.articleItem .sectionMain .sectionFooter {
background-color: var(--bg-color) !important;
border: 0;
}
/* Main page news pager */
.articlePager {
background-color: var(--bg-secondary-color) !important;
border: 0;
}
/* staffHeading := Staff category section on the Team tab like Administrator, Moderator */
/* resourceInfo := Resource title on the project site */
.staffHeading,
.resourceInfo {
color: var(--txt-color);
}
/* Team entries */
.memberListItem {
background-color: var(--bg-secondary-color) !important;
/* White background border */
border-bottom: 0;
}
/* Image background color if transparent or smaller */
.resourceIcon img,
.avatar img {
background-color: var(--bg-color) !important;
}
/* Sidebar boxes including on the Resources tab */
.resourceListSidebar .secondaryContent,
.sidebar .secondaryContent {
background-color: var(--bg-secondary-color) !important;
/* Removes white border on the resources sidebar */
border: 0 !important;
}
/* Resource entries on the resource tab */
.resourceListItem,
.resourceListItem .resourceImage,
.resourceListItem .resourceStats {
background-color: var(--bg-color) !important;
border-color: grey;
}
/* Header and footer of the main content in the resource tab or "Watched Resources" */
.resourceListMain,
.sectionMain {
background-color: var(--bg-color) !important;
border: 0;
padding-top: 5px;
}
.resourceListMain .actionFilterRow {
border-color: grey;
}
/* The last entry shouldn't have a white border because we no longer have an white outer container where it could hide this border line */
.resourceList .resourceListItem:last-child {
border-bottom: 0;
}
/* Main resource category note like "Resources are being shown from all child categories." */
.resourceList .resourceNote {
color: var(--txt-color);
background-color: var(--bg-color);
border-bottom: 0;
}
/* Resources page main content */
.section .resourceUpdate,
.likesSummary,
.rateBlock {
background-color: var(--bg-secondary-color) !important;
border: 0 !important;
}
/* Resource updates section */
.updateContainer .resourceUpdate,
.updateContainer .textHeading {
background-color: var(--bg-secondary-color) !important;
border: 0 !important;
}
/* Review*/
.review {
background-color: var(--bg-secondary-color) !important;
padding: 5px;
border: 0px;
}
/* Make the resource page headings under the main content readable */
.reviews .textHeading,
.updates .textHeading {
color: var(--txt-color);
}
/* Review response from the author */
.review .messageResponse .comment {
background-color: var(--bg-color) !important;
border: 0px;
}
/* Rating bar - Side note:=> What is dark here in the default scheme? */
.dark_postrating {
background-color: var(--bg-secondary-color) !important;
}
/* Discussions forum post */
.message {
background-color: var(--bg-secondary-color) !important;
/* has a border but seems to be a good separator between the posts */
border-color: grey;
}
/* Forum post author info on the discussion thread */
.messageUserInfo,
.avatarHolder,
.userText {
background-color: var(--bg-color) !important;
border: 0;
}
/* BB-Codes */
.bbCodeBlock,
.bbCodeBlock .quoteContainer,
.bbCodeBlock .type,
.bbCodeBlock .code {
background-color: var(--bg-color) !important;
border: 0;
}
/* Message editor popup heading and footer */
.InlineMessageEditor .sectionFooter,
.InlineMessageEditor .redactor_toolbar {
background-color: var(--bg-secondary-color) !important;
}
/* Remove white border inside the message editor popup */
.InlineMessageEditor .messageContainer,
.redactor_box,
.redactor_toolbar,
.redactor_box iframe {
border: 0;
}
/* Watched categories header */
.sectionMain .subHeading {
background-color: var(--bg-secondary-color) !important;
border-top: 0;
border-bottom: 0;
}
/* Watched categories content */
.sectionMain .categoryList .categoryListItem .categoryInfo,
.sectionMain .sectionFooter {
background-color: var(--bg-secondary-color) !important;
border-top: 0;
}
/* Wiki */
.wikiContent .primaryContent {
background-color: var(--bg-secondary-color) !important;
border-bottom: 0;
}
/* Category list on the wiki page */
#wikiContent .secondaryContent {
background-color: var(--bg-color);
border-color: var(--bg-color);
margin-top: 5px;
}
/* Pager buttons at the button for switching the page */
.PageNav a,
.PageNav a:hover {
background-color: var(--bg-color);
border: 0;
}
/* Search result entries */
.searchResult {
background-color: var(--bg-secondary-color) !important;
/* This looks smoother than a white border */
border-color: grey !important;
}
/* Search result text summary */
.searchResult .snippet a {
color: var(--txt-secondary-color);
}
/* Hightlighted search query */
.searchResult .snippet .highlight {
color: var(--txt-color);
}
/* Dark tabs */
.tabs li a {
background-color: #555 !important;
color: white;
}
}