Skip to content

Commit 4ae38ba

Browse files
authored
Updated themes/redesign
1 parent b0b99dd commit 4ae38ba

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

discord/themes/redesign/import.css

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
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");
32

43
:root {
54
--notice-margin-top: calc(57px + var(--space));
@@ -8,6 +7,7 @@
87
--notice-height-join: 160px;
98
--notice-height-welcome: 155px;
109
--notice-height-premium: 150px;
10+
--notice-height-warning: 158px;
1111
}
1212

1313
:root {
@@ -27,7 +27,7 @@
2727

2828
body,
2929
html {
30-
font-size: 11px;
30+
font-size: 12px;
3131
tab-size: 4;
3232
text-rendering: optimizeLegibility;
3333
-webkit-text-size-adjust: 100%;
@@ -111,7 +111,7 @@ html {
111111
}
112112

113113
.circleIconButton_db6521 {
114-
color: var(--green-360);
114+
color: var(--text-normal);
115115

116116
&:hover,
117117
&.selected_db6521 {
@@ -619,14 +619,6 @@ html {
619619
}
620620
}
621621
}
622-
623-
>.thin_eed6a8>ul {
624-
625-
>[style="height: 84px;"],
626-
>[style="height: 16px;"] {
627-
height: 183px !important;
628-
}
629-
}
630622
}
631623

632624
>div:has([class^="channelNotice_"])>div {
@@ -656,7 +648,7 @@ html {
656648
}
657649
}
658650

659-
&:has([class*="discoverHeader_"]) {
651+
&:has(.discoverHeader_b992d4) {
660652
.sidebarContainer_a3a4ce {
661653
scrollbar-width: none;
662654
background-color: var(--background-secondary);
@@ -798,18 +790,9 @@ html {
798790
}
799791

800792
&:has(.notice_be03aa) {
801-
.container_fa295b {
802-
&:before {
803-
content: "";
804-
display: flex;
805-
position: relative;
806-
height: var(--notice-height) !important;
807-
width: 100%;
808-
}
809-
}
810-
811-
&:not(:has(.channelNotice_a6cd4e)) {
812-
--notice-margin-top: calc(183px + var(--space));
793+
&:not(:has(.channelNotice_a6cd4e)):has(.animatedContainer_fd6364) {
794+
--notice-margin-top: calc(184px + var(--space));
795+
--notice-height-add: var(--notice-margin-top);
813796
}
814797

815798
div.notice_be03aa {
@@ -830,6 +813,28 @@ html {
830813
}
831814
}
832815

816+
.members_cbd271 {
817+
h3.membersGroup_cbd271 {
818+
margin-bottom: 8px;
819+
}
820+
821+
.member_a31c43>div {
822+
border-radius: calc(var(--border-radius) - 4px);
823+
padding-right: 16px;
824+
825+
.activity_a31c43 {
826+
display: none;
827+
}
828+
829+
&:has(.activity_a31c43):hover {
830+
831+
.activity_a31c43 {
832+
display: flex;
833+
}
834+
}
835+
}
836+
}
837+
833838
.layerContainer_cd0de5 {
834839
.layer_c9e2da {
835840
.separator_f9a4c9 {

0 commit comments

Comments
 (0)