Nymbo commited on
Commit
d725810
·
verified ·
1 Parent(s): 268b61f

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +15 -19
styles.css CHANGED
@@ -195,16 +195,14 @@
195
  }
196
 
197
  /* Hide scrollbars/arrows that can appear on the description block in some browsers */
 
198
  article.prose, .prose, .gr-prose {
199
  overflow: visible !important;
200
  max-height: none !important;
201
  -ms-overflow-style: none !important; /* IE/Edge */
 
202
  }
203
- @supports (scrollbar-width: none) {
204
- article.prose, .prose, .gr-prose {
205
- scrollbar-width: none !important; /* Firefox */
206
- }
207
- }
208
  article.prose::-webkit-scrollbar,
209
  .prose::-webkit-scrollbar,
210
  .gr-prose::-webkit-scrollbar {
@@ -265,11 +263,10 @@ article.prose::-webkit-scrollbar,
265
  }
266
 
267
  /* Custom scrollbar styling - Progressive enhancement, falls back to default scrollbars */
268
- @supports (scrollbar-width: thin) {
269
- * {
270
- scrollbar-width: thin;
271
- scrollbar-color: rgba(99, 102, 241, 0.4) rgba(255, 255, 255, 0.05);
272
- }
273
  }
274
  *::-webkit-scrollbar {
275
  width: 8px;
@@ -280,33 +277,32 @@ article.prose::-webkit-scrollbar,
280
  border-radius: 4px;
281
  }
282
  *::-webkit-scrollbar-thumb {
283
- background: linear-gradient(180deg, rgba(99, 102, 241, 0.5), rgba(59, 130, 246, 0.4));
284
  border-radius: 4px;
285
- border: 1px solid rgba(99, 102, 241, 0.2);
286
  }
287
  *::-webkit-scrollbar-thumb:hover {
288
- background: linear-gradient(180deg, rgba(99, 102, 241, 0.7), rgba(59, 130, 246, 0.6));
289
  }
290
  *::-webkit-scrollbar-corner {
291
  background: rgba(255, 255, 255, 0.05);
292
  }
293
  @media (prefers-color-scheme: light) {
294
- @supports (scrollbar-width: thin) {
295
- * {
296
- scrollbar-color: rgba(99, 102, 241, 0.4) rgba(0, 0, 0, 0.05);
297
- }
298
  }
299
  *::-webkit-scrollbar-track {
300
  background: rgba(0, 0, 0, 0.05);
301
  }
302
  *::-webkit-scrollbar-thumb {
303
- background: linear-gradient(180deg, rgba(99, 102, 241, 0.5), rgba(59, 130, 246, 0.4));
304
  border-color: rgba(0, 0, 0, 0.1);
305
  }
306
  *::-webkit-scrollbar-thumb:hover {
307
- background: linear-gradient(180deg, rgba(99, 102, 241, 0.7), rgba(59, 130, 246, 0.6));
308
  }
309
  *::-webkit-scrollbar-corner {
310
  background: rgba(0, 0, 0, 0.05);
311
  }
312
  }
 
 
195
  }
196
 
197
  /* Hide scrollbars/arrows that can appear on the description block in some browsers */
198
+ /* stylelint-disable compat-api/css */
199
  article.prose, .prose, .gr-prose {
200
  overflow: visible !important;
201
  max-height: none !important;
202
  -ms-overflow-style: none !important; /* IE/Edge */
203
+ scrollbar-width: none !important; /* Firefox */
204
  }
205
+ /* stylelint-enable compat-api/css */
 
 
 
 
206
  article.prose::-webkit-scrollbar,
207
  .prose::-webkit-scrollbar,
208
  .gr-prose::-webkit-scrollbar {
 
263
  }
264
 
265
  /* Custom scrollbar styling - Progressive enhancement, falls back to default scrollbars */
266
+ /* stylelint-disable compat-api/css */
267
+ * {
268
+ scrollbar-width: thin;
269
+ scrollbar-color: rgba(61, 212, 159, 0.4) rgba(255, 255, 255, 0.05);
 
270
  }
271
  *::-webkit-scrollbar {
272
  width: 8px;
 
277
  border-radius: 4px;
278
  }
279
  *::-webkit-scrollbar-thumb {
280
+ background: linear-gradient(180deg, rgba(61, 212, 159, 0.5), rgba(17, 186, 136, 0.4));
281
  border-radius: 4px;
282
+ border: 1px solid rgba(119, 247, 209, 0.2);
283
  }
284
  *::-webkit-scrollbar-thumb:hover {
285
+ background: linear-gradient(180deg, rgba(85, 250, 192, 0.7), rgba(65, 184, 131, 0.6));
286
  }
287
  *::-webkit-scrollbar-corner {
288
  background: rgba(255, 255, 255, 0.05);
289
  }
290
  @media (prefers-color-scheme: light) {
291
+ * {
292
+ scrollbar-color: rgba(61, 212, 159, 0.4) rgba(0, 0, 0, 0.05);
 
 
293
  }
294
  *::-webkit-scrollbar-track {
295
  background: rgba(0, 0, 0, 0.05);
296
  }
297
  *::-webkit-scrollbar-thumb {
298
+ background: linear-gradient(180deg, rgba(61, 212, 159, 0.5), rgba(17, 186, 136, 0.4));
299
  border-color: rgba(0, 0, 0, 0.1);
300
  }
301
  *::-webkit-scrollbar-thumb:hover {
302
+ background: linear-gradient(180deg, rgba(85, 250, 192, 0.7), rgba(65, 184, 131, 0.6));
303
  }
304
  *::-webkit-scrollbar-corner {
305
  background: rgba(0, 0, 0, 0.05);
306
  }
307
  }
308
+ /* stylelint-enable compat-api/css */