-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmax-why-is-everything-a-slider-now.user.css
72 lines (63 loc) · 2 KB
/
max-why-is-everything-a-slider-now.user.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
/* ==UserStyle==
@name Max - Why is everything a slider now?
@homepageURL https://userstyles.world/style/17486/max-why-is-everything-a-slider-now
@supportURL https://github.com/sergio9929/userstyles/issues
@namespace userstyles.world/user/sergio9929
@version 1.0.5
@description Transform sliders into normal grids
@author sergio9929 (https://sergio-rodriguez.web.app/)
@preprocessor stylus
@var checkbox show-page "The show page" 1
@var checkbox top "Top 10" 1
@var checkbox watching "Continue Watching" 1
@var checkbox my-list "My List" 0
@var checkbox collections "Collections" 0
@var checkbox themed "Themed section" 0
@var checkbox all "All" 0
==/UserStyle== */
@-moz-document domain("max.com") {
if show-page {
#tab-content-generic-show-page-rail-episodes-tab #tileList > div {
flex-flow: wrap;
}
}
if all {
[data-sonic-type] #tileList > div {
flex-flow: wrap;
}
}
if my-list {
[data-sonic-id*="-my-list"] #tileList > div {
flex-flow: wrap;
}
}
if watching {
[data-sonic-id*="-continue-watching"] #tileList > div {
flex-flow: wrap;
}
}
if top {
[data-sonic-type="numbered"] #tileList > div {
flex-flow: wrap;
@media (min-width: 600px) {
row-gap: 8px;
}
@media (min-width: 800px) {
row-gap: 12px;
}
@media (min-width: 1100px) {
row-gap: 16px;
}
}
}
if collections {
[data-sonic-type="1-1"] #tileList > div {
flex-flow: wrap;
}
}
if themed {
[data-sonic-type="themed-rail"] #tileList > div {
flex-flow: wrap;
}
}
}