-
Notifications
You must be signed in to change notification settings - Fork 19
/
glass.css
331 lines (287 loc) · 9.24 KB
/
glass.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
/* Styles for .glight-theme and .gdark-theme */
.glight-theme .post:hover .buttonContainer,
.glight-theme .message-container,
.glight-theme .emojisearch,
.gdark-theme .post:hover .buttonContainer,
.gdark-theme .message-container,
.gdark-theme .emojisearch {
background-color: transparent;
}
/* Styles for .glight-theme and .gdark-theme with backdrop-filter support */
@supports ((-webkit-backdrop-filter: blur(2em)) or (backdrop-filter: blur(2em))) {
.glight-theme .post,
.glight-theme .emojipicker,
.glight-theme .skeleton-post,
.glight-theme .modal,
.gdark-theme .post,
.gdark-theme .skeleton-post,
.gdark-theme .emojipicker,
.gdark-theme .modal {
backdrop-filter: blur(50px) saturate(1.5);
-webkit-backdrop-filter: blur(50px) saturate(1.5);
border: .5px solid rgba(0,0,0,.2);
box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.glight-theme .post::before,
.glight-theme .skeleton-post::before,
.glight-theme .modal::before,
.gdark-theme .post::before,
.gdark-theme .skeleton-post::before,
.gdark-theme .modal::before {
position: fixed;
width: 100%;
top: 0px;
height: 100%;
background-size: 100px 100px;
opacity: 0.04;
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PScwIDAgNTEyIDUxMicgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KICA8ZmlsdGVyIGlkPSdub2lzZUZpbHRlcic+CiAgICA8ZmVUdXJidWxlbmNlIAogICAgICB0eXBlPSdmcmFjdGFsTm9pc2UnIAogICAgICBiYXNlRnJlcXVlbmN5PScwLjcnCiAgICAgIG51bU9jdGF2ZXM9JzMnIAogICAgICBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+CiAgICA8ZmVDb2xvck1hdHJpeCBpbj0idHVyYnVsZW5jZSIgdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPgoKICAgIDxmZUNvbXBvbmVudFRyYW5zZmVyPgogICAgICA8ZmVGdW5jUiB0eXBlPSJkaXNjcmV0ZSIgdGFibGVWYWx1ZXM9IjAgMSIgLz4KICAgICAgPGZlRnVuY0cgdHlwZT0iZGlzY3JldGUiIHRhYmxlVmFsdWVzPSIwIDEiIC8+CiAgICAgIDxmZUZ1bmNCIHR5cGU9ImRpc2NyZXRlIiB0YWJsZVZhbHVlcz0iMCAxIiAvPgogICAgPC9mZUNvbXBvbmVudFRyYW5zZmVyPgogIDwvZmlsdGVyPgogIAogIDxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0ndXJsKCNub2lzZUZpbHRlciknLz4KPC9zdmc+");
background-repeat: repeat;
mix-blend-mode: overlay;
z-index: -1;
}
.glight-theme textarea,
.glight-theme button,
.glight-theme input,
.glight-theme select,
.glight-theme .section,
.glight-theme .stg-section,
.gdark-theme textarea,
.gdark-theme button,
.gdark-theme input,
.gdark-theme select,
.gdark-theme .section,
.gdark-theme .stg-section {
backdrop-filter: blur(5px) saturate(1.5);
-webkit-backdrop-filter: blur(5px) saturate(1.5);
border: .5px solid rgba(0,0,0,.2);
box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.glight-theme .emojibutton,
.gdark-theme .emojibutton {
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
.glight-theme ::-webkit-input-placeholder,
.gdark-theme ::-webkit-input-placeholder {
/* WebKit, Blink, Edge */
color: #ffffff70;
}
.glight-theme :-moz-placeholder,
.gdark-theme :-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: #ffffff70;
}
.glight-theme ::-moz-placeholder,
.gdark-theme ::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: #ffffff70;
}
}
.contrast-theme .post,
.contrast-theme .emojipicker,
.contrast-theme .modal,
.contrast-theme .report-box,
.contrast-theme .report-user,
.contrast-theme .report-post,
.contrast-theme .mod-post,
.contrast-theme .stg-section,
.contrast-theme .reply,
.contrast-theme .section,
.contrast-theme .searchitem,
.contrast-theme input,
.contrast-theme textarea,
.contrast-theme select,
.contrast-theme button {
border: 2px solid #0ff;
}
.contrast-theme .selected {
border: 2px solid #ff0;
}
.contrast-theme .post {
box-sizing: border-box;
}
.contrast-theme input:focus,
.contrast-theme textarea:focus,
.contrast-theme select:focus,
.contrast-theme button:focus {
border: 2px solid #0f0;
}
.contrast-theme .mdl-hr {
border: 1px solid #0ff;
}
.contrast-theme .toolButton:hover {
background-color: var(--hov-color);
}
.contrast-theme .buttonContainer {
background-color: transparent;
}
.contrast-theme :-moz-placeholder,
.contrast-theme ::-webkit-input-placeholder,
.contrast-theme ::-moz-placeholder {
color: #ffffff;
opacity: 1;
}
.teb-theme #page::after {
content: '';
position: fixed;
bottom: 0;
z-index: -1;
width: 100%;
height: var(--grad-height);
background: linear-gradient(90deg, #3178af 0%, #195990 13%, #2968a1 30%, #216398 50%, #153866 71%, #5290c3 100%);
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0) 100%);
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 100%);
}
.teb-theme .post:hover .buttonContainer, .fabloo-theme .post:hover .buttonContainer {
background-color: transparent;
}
.fabloo-theme #page::after {
content: '';
position: fixed;
bottom: 0;
z-index: -1;
width: 100%;
height: var(--grad-height);
background: linear-gradient(70deg, #eb6458 0%, #3669a0 25%, #f0e95f 50%, #b3b2ae 75%, #87c27c 100%);
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0) 100%);
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .25) 100%);
}
.pride-theme #page::after {
content: '';
position: fixed;
top: 0;
z-index: -1;
width: 100%;
height: var(--grad-height);
background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(255,127,0,1) 13%, rgba(255,230,0,1) 30%, rgba(0,171,0,1) 50%, rgba(0,115,255,1) 71%, rgba(190,0,255,1) 100%);
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
}
.trans-theme #page::after {
content: '';
position: fixed;
top: 0;
z-index: -1;
width: 100%;
height: var(--grad-height);
background: linear-gradient(90deg, rgba(49,201,240,1) 0%, rgba(255,255,255,1) 50%, rgba(255,151,172,1) 100%);
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
}
.nonb-theme #page::after {
content: '';
position: fixed;
top: 0;
z-index: -1;
width: 100%;
height: var(--grad-height);
background: linear-gradient(90deg, rgb(252, 244, 52) 0%, rgb(255, 255, 255) 50%, rgb(156, 89, 209) 100%);
-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 100%);
}
.theme-button.trans-theme {
background: linear-gradient(90deg, rgb(27, 111, 133) 0%, rgb(138, 82, 93) 25%, rgb(113, 113, 113) 50%, rgb(138, 82, 93) 75%, rgb(27, 111, 133) 100%);
background-size: cover;
}
.theme-button.pride-theme {
background: linear-gradient(90deg, rgba(150,0,0,1) 0%, rgba(150,73,0,1) 13%, rgba(150,110,0,1) 30%, rgba(0,110,0,1) 50%, rgba(0,70,150,1) 60%, rgba(130,0,150,1) 75%, rgba(150,0,0,1) 100%);
background-size: cover;
}
.theme-button.nonb-theme {
background: linear-gradient(90deg, rgb(198, 192, 40) 0%, rgb(166, 166, 166) 50%, rgb(121, 68, 162) 100%);
background-size: cover;
}
.pride-theme .settings > h1,
.trans-theme .settings > h1,
.nonb-theme .settings > h1
{
background: transparent;
position: static;
}
.midnight-blurple-theme #page::after {
content: '';
position: fixed;
top: 0;
z-index: -1;
width: 100%;
height: 100%;
background: linear-gradient(45deg, #0f0d25 0%, #04020a 100%);
}
.midnight-blurple-theme .message-container {
background: linear-gradient(45deg, #0a0819 0%, #070511 100%);
}
.theme-button.midnight-blurple-theme, .midnight-blurple-theme .jump {
background: #0c0a18;
}
.meower-theme .post {
border: 3px solid var(--primary);
background-color: transparent;
}
.meower-theme .message-input {
border: 3px solid var(--primary);
background-color: transparent;
}
.meower-theme .message-tool, .meower-theme .message-send {
background-color: var(--primary);
}
.meower-theme .toolButton {
background-color: var(--primary);
border-radius: 500px;
color: var(--color);
}
.meower-theme .post:hover .buttonContainer {
background-color: transparent;
}
.meower-theme .reply {
border: 3px solid var(--primary);
}
.discord {
#main {
display: flex;
flex-direction: column-reverse;
}
.message-outer {
bottom: 0;
position: sticky;
z-index: 1;
}
.posts {
flex-direction: column-reverse;
display: flex;
gap: 10px;
}
.post {
margin-bottom: 0;
}
.jump.visible {
display: flex;
position: fixed;
right: 32px;
bottom: 64px;
}
.emojipicker {
bottom: 64px;
}
.info {
display: none;
}
}
.magnify p,
.magnify span,
.magnify button,
.magnify textarea,
.magnify label,
.magnify input,
.magnify i,
.magnify a
{
font-weight: 800;
font-size: 24px !important;
}
.magnify h1,
.magnify h2,
.magnify h3,
.magnify #username,
.magnify h4 {
font-size: 36px !important;
}