-
Notifications
You must be signed in to change notification settings - Fork 0
/
4chink.css
378 lines (358 loc) · 10.6 KB
/
4chink.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
/*
______ _______ _
| ____| |__ __| | |
| |__ ___ _ __ | | ___ _ __ ___ ___ _ __ _ __ _____ __ ___ _ __ | |_ _
| __/ _ \| '__| | |/ _ \| '_ ` _ \ / _ \| '__| '__/ _ \ \ /\ / / / _ \| '_ \| | | | |
| | | (_) | | | | (_) | | | | | | (_) | | | | | (_) \ V V / | (_) | | | | | |_| |
|_| \___/|_| |_|\___/|_| |_| |_|\___/|_| |_| \___/ \_/\_/ \___/|_| |_|_|\__, |
__/ |
|___/
_____ _ _ _ _ _ _
/ ____(_) | | | | | | (_) |
| (___ _ _ __ ___ ___ ___ | |_| |__ ___ _ __ ___ __ _ _ __ ___ ___| |__ _| |_
\___ \| | '_ \ / __/ _ \ / _ \| __| '_ \ / _ \ '__/ __| / _` | '__/ _ \ / __| '_ \| | __|
____) | | | | | (_| __/ | (_) | |_| | | | __/ | \__ \ | (_| | | | __/ \__ \ | | | | |_
|_____/|_|_| |_|\___\___| \___/ \__|_| |_|\___|_| |___/ \__,_|_| \___| |___/_| |_|_|\__|
*/
/* - Board title rice 📓 - */
div.boardTitle {
font-family: sans-serif !important;
font-weight: bold !important;
}
/* - Hovering/Clicking fancy animation 👆 - */
/* Image */
img {
transition: opacity 0.2s ease-in-out !important;
}
img:hover,
a#selected.qr-preview:hover {
opacity: 0.75;
}
.gal-image img:hover,
.full-image img:hover {
opacity: 1 !important;
}
/* Spoiler text */
s {
transition: all 0.15s ease-in-out !important;
background: none !important;
color: #ffffff !important;
filter: blur(3px);
}
s:hover {
color: #c5c8c6 !important;
filter: none !important;
}
/* Reply box buttons */
button#t-load,
div#file-n-submit input,
div.oekaki input#qr-draw-button {
transition: opacity 0.2s ease-in-out !important;
}
button#t-load:hover,
div#file-n-submit input:hover,
div.oekaki input#qr-draw-button:hover {
opacity: 0.75 !important;
}
#qr input.field,
#qr select,
div.move label {
opacity: 0.1 !important;
transition: opacity 0.2s ease-in-out !important;
}
#qr input.field:hover,
#qr select:hover,
div.move label:hover{
opacity: 1 !important;
}
input#t-resp,
span#qr-filename-container.field {
filter: brightness(1.25) !important;
transition: all 0.2s ease-in-out !important;
}
input#t-resp:hover,
span#qr-filename-container.field:hover {
filter: brightness(1.5) !important;
}
input#t-resp:focus {
filter: brightness(1) !important;
}
/* Catalog threads */
.postContainer.catalog-container {
transition: background-color 0.2s ease-in-out !important;
}
.postContainer.catalog-container:hover,
.postContainer.catalog-container:focus {
background-color: #26272b !important;
}
/* Board search field and sorting (and theme choosing too, mostly for consistency since no one use anything other than Tomorrow) */
input#index-search.field,
select#styleSelector {
transition: all 0.2s ease-in-out !important;
}
input#index-search.field:hover,
span#index-options select:hover,
select#styleSelector:hover {
filter: brightness(1.125) !important;
}
input#index-search.field:focus {
color: #fff !important;
}
/* "Delete"/"Report" button */
span.deleteform input:hover,
span.deleteform input#bottomReportBtn:hover {
filter: brightness(0.9) !important;
}
span.deleteform input:focus,
span.deleteform input#bottomReportBtn:focus {
filter: brightness(0.8) !important;
}
/* - Make UI more flat and soulless (like me) and somewhat consistent 👀 - */
/* Header bar */
#header-bar {
box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.20) !important;
border: none !important;
background-color: rgb(40, 42, 46) !important;
box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.1) !important;
}
/* Thread replies */
div.reply { /* Normal Reply */
border-radius: 7.5px !important;
}
div.inline { /* Inlined backlinks */
border-color: transparent !important;
border-radius: 7.5px !important;
}
/* Image thumbnails */
.catalog-thumb,
div.op .fileThumb img,
div.reply .fileThumb img,
a#selected.qr-preview {
border-radius: 5px !important;
}
/* "File deleted" thingy */
.fileDeletedRes {
filter: invert(1) hue-rotate(180deg) brightness(0.75) contrast(1.5) !important;
}
/* 4chan ads */
div.boardBanner img,
div.middlead.center img {
border-radius: 5px !important;
}
#bannerCnt {
border: none !important;
}
/* no idea what this is i forgor 💀 */
.prettyprint {
border-radius: 3px !important;
}
/* Embedded media */
div#embedding.dialog {
border-radius: 15px !important;
background-color: rgb(49, 50, 55) !important;
border-color: transparent !important;
}
/* Inside of the embedded media */
iframe {
border-radius: 10px !important;
}
div#embedding.dialog div a.close {
margin-right: 5px !important;
font-weight: bold !important;
transition: all 0.2s ease-in-out !important;
}
div#embedding.dialog div a.jump {
margin: -1.5px 4px 0 0 !important;
transition: all 0.2s ease-in-out !important;
}
/* "Reply to thread" button */
form h1.qr-link-container a.qr-link,
form h1.qr-link-container a.qr-link {
border-radius: 5px !important;
background: rgb(49, 50, 55) !important;
border-color: transparent !important;
transition: all 0.2s ease-in-out !important;
}
/* Board search field */
input#index-search.field {
border-radius: 5px !important;
border-color: transparent !important;
background-color: #3d3f45 !important;
color: #c5c8c6;
}
/* Board thread sorting (and theme choosing too, mostly for consistency since no one use anything other than Tomorrow) */
span#index-options select {
border: none !important;
background-color: #303136 !important;
border-radius: 5px !important;
margin-left: 5px !important;
transition: filter 0.2s ease-in-out !important;
}
select#styleSelector {
border: none !important;
background-color: #303136 !important;
border-radius: 5px !important;
transition: filter 0.2s ease-in-out !important;
}
/* Catalog threads */
.postContainer.catalog-container {
top: 0;
background-color: #303136;
border-radius: 10px;
}
/* "Delete"/"Report" button */
span.deleteform input,
span.deleteform input#bottomReportBtn {
border-radius: 5px !important;
border: none;
filter: brightness(1) !important;
transition: filter 0.2s ease-in-out !important;
}
span.deleteform input#bottomReportBtn {
margin-left: 4px !important;
}
/* Thread watcher */
div#thread-watcher.dialog { /* Watcher box */
border-color: transparent !important;
border-radius: 7.5px !important;
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.25) !important;
}
div#thread-watcher.dialog div.move a.close { /* Close button */
top: unset !important;
padding: 0 6px 0 0 !important;
font-weight: bold !important;
}
div#thread-watcher.dialog div.move span#watcher-status { /* Watcher updating percentage */
margin: 2.5px 20px 0 0 !important;
font-size: 8pt !important;
opacity: 0.75 !important;
font-weight: bold !important;
float: right !important;
}
div#thread-watcher.dialog div.move div#menu.dialog { /* Drop down menu */
border-color: transparent !important;
border-radius: 7.5px !important;
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.25) !important;
}
/* Notification */
#notification .notification {
text-shadow: none !important;
border-radius: 10px !important;
margin-top: 15px;
transition: all 0.2s ease-in-out !important;
box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
backdrop-filter: blur(5px);
}
#notification .notification .close {
padding: 5.5px 7px 0 0 !important;
filter: brightness(2) grayscale(100%) !important;
transition: all 0.2s ease-in-out !important;
}
/* color taken from the official Tomorrow theme palette */
.notification.success {
background-color: rgba(131, 155, 0, .85);
}
.notification.info {
background-color: rgba(82, 134, 188, .85);
}
.notification.warning {
background-color: rgba(249, 153, 39, .85);
}
.notification.error {
background-color: rgba(212, 62, 54, .85);
}
/* Reply box */
#qr {
border-radius: 7.5px !important;
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.25) !important;
}
/* Still reply box but it's the top row - close, drop down menu, "Quick Reply" */
#qr .close { /* Close button */
float: left !important;
padding: 2px 0 0 6px !important;
transition: all 0.2s ease-in-out !important;
font-weight: bold !important;
}
#qr label input[type="checkbox"] {
top: 0 !important;
}
div#qr.dialog.has-spoiler.show-new-thread-option.has-captcha.captcha-t div.move label { /* "Quick Reply checkbox */
float: right !important;
margin: 0 7px 0 0 !important;
}
#qr select { /* Still reply box but it's the drop down menu */
border-color: transparent !important;
border-radius: 5px !important;
background-color: #313237 !important;
float: left !important;
margin-left: 5px !important;
width: 182.5px !important;
}
/* Still reply box but it's the text field (in general) */
#qr .field {
border-radius: 5px !important;
}
/* Still reply box but it's the CAPTCHA row - typing field, "Get Captcha" button, the actual CAPTCHA */
input#t-resp { /* Typing field */
border-radius: 5px !important;
background: rgb(49, 50, 55) !important;
border-color: transparent !important;
padding: 0 5px !important;
width: 205px !important;
margin: 2px 0 !important;
}
#qr button#t-load { /* "Get Captcha" button */
border-color: transparent !important;
border-radius: 5px !important;
margin: 0 3px 0 1px !important;
}
div#t-bg,
div#t-fg { /* The actual CAPTCHA */
border-radius: 5px !important;
filter: invert(95%) brightness(1.5);
}
/* Still reply box but it's the "Files"/"Submit"/"Draw" row */
div#file-n-submit input { /* "Submit" */
filter: none !important;
border-color: rgb(40, 41, 42) !important;
border-radius: 5px !important;
}
#file-n-submit input, #qr-draw-button { /* "Submit" and "Draw" */
background: rgb(192, 192, 192);
}
div.oekaki input#qr-draw-button { /* "Draw" */
border-radius: 5px !important;
}
/* - Hiding things 🤐 - */
/* Hide "Original Form" */
div#togglePostFormLink.desktop {
display: none !important;
}
/* Hide blotter */
table#blotter.desktop {
display: none !important;
}
/* Hide "title" button since 4chan no longer supports them */
.webm-title {
display: none !important;
}
/* Hide legal stuff at the bottom */
div#absbot {
display: none !important;
}
/* Reply box but it's the "?" button */
button#t-help {
display: none !important;
}
/* Reply box but it's the "Files" button (since you can just click on the filename field, duh) */
div#file-n-submit input#qr-file-button {
display: none !important;
}
span#qr-filename-container.field {
background: rgb(49, 50, 55) !important;
border-color: transparent !important;
margin: 1px 2px 0 1px !important;
height: 23px !important;
}
/* nothing here */
/* The end. */