-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.css
151 lines (123 loc) · 3.99 KB
/
base.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
/* base theme */
.theme-light:root {
--cute-accent: var(--cute-accent-light);
}
.theme-dark:root {
--cute-accent: var(--cute-accent-dark);
}
:root,
.theme-dark,
.theme-light {
--brand-experiment: var(--cute-accent);
--brand-100: var(--cute-accent);
--brand-130: var(--cute-accent);
--brand-160: var(--cute-accent);
--brand-200: var(--cute-accent);
--brand-230: var(--cute-accent);
--brand-260: var(--cute-accent);
--brand-300: var(--cute-accent);
--brand-330: var(--cute-accent);
--brand-345: var(--cute-accent);
--brand-360: var(--cute-accent);
--brand-400: var(--cute-accent);
--brand-430: var(--cute-accent);
--brand-460: var(--cute-accent);
--brand-500: var(--cute-accent);
--brand-530: var(--cute-accent);
--brand-560: var(--cute-accent);
--brand-600: var(--cute-accent);
--brand-630: var(--cute-accent);
--brand-660: var(--cute-accent);
--brand-700: var(--cute-accent);
--brand-730: var(--cute-accent);
--brand-760: var(--cute-accent);
--brand-800: var(--cute-accent);
--brand-830: var(--cute-accent);
--brand-860: var(--cute-accent);
--brand-900: var(--cute-accent);
}
.theme-light ::-webkit-scrollbar-thumb,
.theme-dark ::-webkit-scrollbar-thumb {
background-color: var(--cute-accent);
}
.theme-dark #app-mount, .theme-light #app-mount {
--text-brand: var(--cute-accent);
--blurple-50: var(--cute-accent);
}
/* we really dont need nitro upsells. go fuck yourself discord */
[class*="upsell"] {
display: none;
}
/* jump to present & new messages bars */
[class^=jumpToPresentBar] {
backdrop-filter: blur(8px);
background-color: color-mix(in srgb, var(--background-accent) 70%, transparent);
opacity: 1;
transition: box-shadow 0.1s ease-out;
box-shadow: 0 -5px 12px rgba(0, 0, 0, 0.2);
&:hover {
box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.5);
}
}
[class^=newMessagesBar] {
backdrop-filter: blur(8px);
background-color: color-mix(in srgb, var(--bg-brand) 40%, transparent);
opacity: 1;
transition: box-shadow 0.1s ease-out;
box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
&:hover {
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}
}
/* popup backdrop */
[class^=layerContainer_]:has([class^=backdrop_]) {
backdrop-filter: blur(4px);
}
/* make discord responsive for smaller window sizes */
@media only screen and (max-width: 1024px) {
div[class^="contentColumn_"] {
max-width: 60%;
}
div[class^="noticeRegion_"] {
position: fixed;
}
}
[class^="shop_"] {
min-width: unset;
overflow-x: hidden;
}
[class^=guildListSection] {
min-width: unset;
}
[class*=contentTransitionWrap] [class^=toolsContainer] { /* esc X button in user settings */
position: fixed;
right: -0.5rem;
top: -0.5rem;
}
[class*="themed_"] [class^="children_"] [role="tablist"] {
overflow-x: scroll;
}
[class*="themed_"] [class^="children_"] [role="tablist"]::-webkit-scrollbar {
height: 0px;
}
#app-mount [class^="content"]>[class^="page_"] { /* discord keeps breaking their shit and making it unresponsive, yay */
min-width: 0;
}
[class*="sessionIcon_"] {
min-width: 48px;
}
/* attribution in settings + settings sidebar */
div[class*="layer_"] div[class*="standardSidebarView_"] div[class*="sidebarRegion_"] div[class*="sidebarRegionScroller_"] nav[class*="sidebar_"] {
border-right: 1px solid var(--border-subtle);
}
div[class*="layer_"] div[class*="standardSidebarView_"] div[class*="sidebarRegion_"] div[class*="sidebarRegionScroller_"] nav[class*="sidebar_"] div[class*="side_"]>div[class*="clickable_"]>div[class*="info_"] {
background: linear-gradient(to bottom, #5ccefa, #5ccefa 20%, #f6a8b7 20%, #f6a8b7 40%, #fff 40%, #fff 60%, #f6a8b7 60%, #f6a8b7 80%, #5ccefa 80%, #5ccefa);
background-position: right bottom, center center;
background-repeat: no-repeat, repeat;
--text-muted: black;
span {
font-family: monospace;
font-weight: bold;
}
margin-bottom: 1rem;
}