Skip to content

Commit 6b8c83d

Browse files
authored
Updated sidebar-notice
1 parent 1a794e3 commit 6b8c83d

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

discord/sidebar-notice/import.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
--notice-height-join: 145px;
1414
--notice-height-welcome: 155px;
1515
--notice-height-premium: 150px;
16-
--notice-height-warning: 160px;
16+
--notice-height-warning: 157px;
1717
--notice-height-add: 0px;
1818
--notice-text-heading: "";
1919
--notice-text-join: "";
@@ -91,10 +91,9 @@ html:not(:has(.artwork_d8215a)) {
9191

9292
>div.notice_be03aa {
9393
height: var(--notice-height);
94-
9594
border-radius: 0;
9695
background: var(--notice-background);
97-
padding: 16px 0;
96+
padding: 16px;
9897
position: absolute;
9998
left: var(--notice-margin-left);
10099
overflow: hidden;
@@ -112,7 +111,8 @@ html:not(:has(.artwork_d8215a)) {
112111
align-items: start;
113112
border-bottom: 1px solid var(--background-secondary);
114113
display: grid;
115-
gap: 12px 8px;
114+
padding: 16px 0;
115+
column-gap: 8px;
116116
grid-template-columns: 80px 1fr;
117117
grid-template-rows: auto 32px;
118118

@@ -198,7 +198,7 @@ html:not(:has(.artwork_d8215a)) {
198198

199199
&:first-of-type {
200200
grid-column: 1 / 2;
201-
padding-left: 12px;
201+
padding-left: 16px;
202202

203203
>div>svg {
204204
display: none;
@@ -207,7 +207,7 @@ html:not(:has(.artwork_d8215a)) {
207207

208208
&:last-of-type:not(:first-of-type) {
209209
grid-column: 2 / 3;
210-
padding-right: 12px;
210+
padding-right: 16px;
211211

212212
&:not(:has([aria-label="Loading"])):before {
213213
align-items: center;
@@ -233,7 +233,7 @@ html:not(:has(.artwork_d8215a)) {
233233

234234
&:only-of-type {
235235
grid-column: 1 / -1;
236-
padding: 0 12px;
236+
padding: 0 16px;
237237
}
238238

239239
&:hover {
@@ -282,7 +282,6 @@ html:not(:has(.artwork_d8215a)) {
282282
display: grid;
283283
grid-template-columns: 1fr;
284284
grid-template-rows: 27px 50px 32px;
285-
padding: 16px;
286285
font-family: var(--font-primary);
287286
font-size: 14px;
288287
line-height: 1.2857142857142858;
@@ -427,7 +426,6 @@ html:not(:has(.artwork_d8215a)) {
427426
&:has(.colorWarning_be03aa) {
428427
>div.notice_be03aa {
429428
display: grid;
430-
padding: 16px;
431429
grid-template-columns: 1fr;
432430
grid-template-rows: 27px 50px 32px;
433431
font-family: var(--font-primary);
@@ -517,7 +515,7 @@ html:not(:has(.artwork_d8215a)) {
517515

518516
>button {
519517
margin: 0;
520-
margin-top: 12px;
518+
margin-top: 16px;
521519
align-items: center;
522520
border-radius: 3px;
523521
box-sizing: border-box;
@@ -568,6 +566,7 @@ html:not(:has(.artwork_d8215a)) {
568566
}
569567

570568
.sidebar_a4d4d9.hasNotice_a4d4d9>*:has(.discoverHeader_b992d4)>h2,
569+
.searchBar_f0963d,
571570
.header_f1c462 {
572571
margin-bottom: var(--notice-height);
573572
}

0 commit comments

Comments
 (0)