Skip to content

Commit 4898867

Browse files
committed
Deploying to gh-pages from @ 969d600 🚀
1 parent baf98ab commit 4898867

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Diff for: discord/themes/redesign/import.css

+30
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ html {
7878
margin-top: var(--top-margin);
7979
position: relative;
8080

81+
&:has(> .scroller_fea3ef > button:nth-child(2)) {
82+
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 20px));
83+
}
84+
8185
&:before,
8286
&:after {
8387
content: "";
@@ -148,6 +152,32 @@ html {
148152
z-index: 4;
149153
}
150154

155+
>button:nth-child(2) {
156+
top: calc(56px + var(--space));
157+
width: 72px;
158+
height: 20px;
159+
left: 0;
160+
font-size: 12px;
161+
position: fixed;
162+
z-index: 10;
163+
background: var(--background-tertiary);
164+
padding: 0;
165+
margin: 0;
166+
167+
&:before {
168+
position: absolute;
169+
content: "";
170+
border: 1px solid var(--border-subtle);
171+
width: calc(72px - 12px);
172+
height: 20px;
173+
z-index: -2;
174+
border-radius: 4px;
175+
top: 0;
176+
left: 5px;
177+
}
178+
}
179+
180+
151181
>div:has([aria-label="Download Apps"]) {
152182
display: none;
153183
}

0 commit comments

Comments
 (0)