Skip to content

Commit

Permalink
Updated themes/redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
lazuee authored Aug 13, 2024
1 parent b0b99dd commit 4ae38ba
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions discord/themes/redesign/import.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://lazuee.github.io/css-snippets/discord/sidebar-notice/import.css");

:root {
--notice-margin-top: calc(57px + var(--space));
Expand All @@ -8,6 +7,7 @@
--notice-height-join: 160px;
--notice-height-welcome: 155px;
--notice-height-premium: 150px;
--notice-height-warning: 158px;
}

:root {
Expand All @@ -27,7 +27,7 @@

body,
html {
font-size: 11px;
font-size: 12px;
tab-size: 4;
text-rendering: optimizeLegibility;
-webkit-text-size-adjust: 100%;
Expand Down Expand Up @@ -111,7 +111,7 @@ html {
}

.circleIconButton_db6521 {
color: var(--green-360);
color: var(--text-normal);

&:hover,
&.selected_db6521 {
Expand Down Expand Up @@ -619,14 +619,6 @@ html {
}
}
}

>.thin_eed6a8>ul {

>[style="height: 84px;"],
>[style="height: 16px;"] {
height: 183px !important;
}
}
}

>div:has([class^="channelNotice_"])>div {
Expand Down Expand Up @@ -656,7 +648,7 @@ html {
}
}

&:has([class*="discoverHeader_"]) {
&:has(.discoverHeader_b992d4) {
.sidebarContainer_a3a4ce {
scrollbar-width: none;
background-color: var(--background-secondary);
Expand Down Expand Up @@ -798,18 +790,9 @@ html {
}

&:has(.notice_be03aa) {
.container_fa295b {
&:before {
content: "";
display: flex;
position: relative;
height: var(--notice-height) !important;
width: 100%;
}
}

&:not(:has(.channelNotice_a6cd4e)) {
--notice-margin-top: calc(183px + var(--space));
&:not(:has(.channelNotice_a6cd4e)):has(.animatedContainer_fd6364) {
--notice-margin-top: calc(184px + var(--space));
--notice-height-add: var(--notice-margin-top);
}

div.notice_be03aa {
Expand All @@ -830,6 +813,28 @@ html {
}
}

.members_cbd271 {
h3.membersGroup_cbd271 {
margin-bottom: 8px;
}

.member_a31c43>div {
border-radius: calc(var(--border-radius) - 4px);
padding-right: 16px;

.activity_a31c43 {
display: none;
}

&:has(.activity_a31c43):hover {

.activity_a31c43 {
display: flex;
}
}
}
}

.layerContainer_cd0de5 {
.layer_c9e2da {
.separator_f9a4c9 {
Expand Down

0 comments on commit 4ae38ba

Please sign in to comment.