Skip to content

Commit 18206b2

Browse files
authored
Updated themes/redesign
1 parent bdc222f commit 18206b2

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

discord/themes/redesign/import.css

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
2+
@import url("https://lazuee.github.io/css-snippets/discord/sidebar-notice/import.css");
23

34
:root {
45
--notice-margin-top: calc(57px + var(--space));
@@ -77,11 +78,12 @@ html {
7778
margin-top: var(--top-margin);
7879
position: relative;
7980

80-
&:has(> .scroller_fea3ef > button:nth-child(2)) {
81-
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 20px));
81+
&:has(> .scroller_fea3ef > button.vc-ranb-button),
82+
&:has(> .scroller_fea3ef > div[style="margin-bottom: 4px;"]):not(:has(> .scroller_fea3ef > button.vc-ranb-button)) {
83+
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 24px));
8284
}
8385

84-
&:has(> .scroller_fea3ef > div[style="margin-bottom: 4px;"]:nth-child(2)) {
86+
&:has(> .scroller_fea3ef > div[style="margin-bottom: 4px;"]) {
8587
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 48px));
8688
}
8789

@@ -168,7 +170,7 @@ html {
168170
}
169171

170172

171-
>div[style="margin-bottom: 4px;"]:nth-child(2) {
173+
>div[style="margin-bottom: 4px;"] {
172174
top: calc(56px + var(--space) + 21px);
173175
width: 72px;
174176
height: 20px;
@@ -196,7 +198,19 @@ html {
196198
}
197199
}
198200

199-
>button:nth-child(2) {
201+
&:not(:has(> button.vc-ranb-button)) {
202+
>div[style="margin-bottom: 4px;"] {
203+
top: calc(56px + var(--space));
204+
padding-top: 4px;
205+
206+
&:before {
207+
height: 20px;
208+
border: 1px solid var(--border-subtle);
209+
}
210+
}
211+
}
212+
213+
>button.vc-ranb-button {
200214
top: calc(56px + var(--space));
201215
width: 72px;
202216
height: 20px;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy