Compare commits
No commits in common. "1154d67a2c3fa079f38e4f6bde9d33549d618687" and "a21ec8e9e41131cb9a452fe1684e90e00bc44ae0" have entirely different histories.
1154d67a2c
...
a21ec8e9e4
1 changed files with 41 additions and 60 deletions
93
denden.css
93
denden.css
|
|
@ -450,6 +450,9 @@
|
||||||
[class*="channelTextArea"] > div {
|
[class*="channelTextArea"] > div {
|
||||||
background: unset;
|
background: unset;
|
||||||
}
|
}
|
||||||
|
[aria-label="Message Actions"] div {
|
||||||
|
margin: 0 2px;
|
||||||
|
}
|
||||||
[class*="sidebar"]:has(nav[aria-label])::after /* This is a seemingly random User area pseudo-element with the default theme, so I'm throwing it into orbit. */ {
|
[class*="sidebar"]:has(nav[aria-label])::after /* This is a seemingly random User area pseudo-element with the default theme, so I'm throwing it into orbit. */ {
|
||||||
content: unset;
|
content: unset;
|
||||||
}
|
}
|
||||||
|
|
@ -460,53 +463,24 @@
|
||||||
div:has(> nav) /* Sidebar container */ {
|
div:has(> nav) /* Sidebar container */ {
|
||||||
border-radius: unset;
|
border-radius: unset;
|
||||||
}
|
}
|
||||||
/* Discord icon replacement */
|
|
||||||
nav[aria-label="Servers sidebar"] [class*="tutorial"]:first-child {
|
|
||||||
& foreignObject div {
|
|
||||||
background-image: var(--blob);
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: 30px;
|
|
||||||
}
|
|
||||||
& svg svg, img {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
:is([aria-label="Message Actions"] [role="button"], /* Message actions ("React", "Reply", "Forward" and "More") */
|
:is(nav[aria-label] div:has(> a), /* Sidebar/direct messages */
|
||||||
|
[aria-label="Message Actions"] [role="button"], /* Message actions ("React", "Reply", "Forward" and "More") */
|
||||||
[class*="channelTextArea"] [class*="buttons"] [role], [class*="channelTextArea"] [class*="attach"]>[aria-label], /* Message box buttons (GIF, Sticker, Emoji picker)*/
|
[class*="channelTextArea"] [class*="buttons"] [role], [class*="channelTextArea"] [class*="attach"]>[aria-label], /* Message box buttons (GIF, Sticker, Emoji picker)*/
|
||||||
section[aria-label="User area"] button, /* Mute/Unmute, Deafen/Undeafen, User settings buttons */
|
section[aria-label="User area"] button, /* Mute/Unmute, Deafen/Undeafen, User settings buttons */
|
||||||
[class*="toolbar"] [role="button"], /* Chat toolbar buttons */
|
[class*="toolbar"] [role="button"], /* Chat toolbar buttons */
|
||||||
):not([class*="username"], [class*="search"] *) /* Doesn't apply to: Usernames, Toolbar search icon */ {
|
):not([class*="username"], [class*="search"] *) /* Doesn't apply to: Usernames, Toolbar search icon */ {
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(var(--neutral-75), var(--neutral-80));
|
||||||
color-mix(in lch, var(--neutral-65), transparent),
|
box-shadow: inset 0 -5px 13px -5px var(--neutral-65);
|
||||||
color-mix(in lch, var(--neutral-70), transparent)
|
|
||||||
);
|
|
||||||
box-shadow: inset 0 -5px 13px -5px
|
|
||||||
color-mix(in lch, var(--neutral-80), transparent);
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(var(--neutral-50), var(--neutral-70));
|
||||||
color-mix(in lch, var(--neutral-60), transparent),
|
|
||||||
color-mix(in lch, var(--neutral-80), transparent)
|
|
||||||
);
|
|
||||||
box-shadow: inset 0 -5px 13px -5px var(--gel);
|
box-shadow: inset 0 -5px 13px -5px var(--gel);
|
||||||
}
|
}
|
||||||
/* Rounded buttons */
|
/* Rounded buttons */
|
||||||
&:not(section[aria-label="User area"] [class*="Parent"] *) /* Doesn't apply to: Mute/Unmute, Deafen/Undeafen */ {
|
|
||||||
border-radius: var(--radius-round);
|
border-radius: var(--radius-round);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
[class*="primary"][role="button"]:not(span *) {
|
|
||||||
border: 0;
|
|
||||||
background-image: linear-gradient(var(--neutral-100), var(--neutral-40));
|
|
||||||
box-shadow: inset 0 0 1em 0 var(--neutral-50);
|
|
||||||
border-radius: var(--radius-round);
|
|
||||||
&:hover {
|
|
||||||
box-shadow: inset 0 0 0.5em 0.3em var(--neutral-100),0 0 0.5em 0 var(--neutral-80);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/* Message box and User profile area */
|
/* Message box and User profile area */
|
||||||
main[class*="chat"] > form [class*="channelTextArea"],
|
main > form [class*="channelTextArea"],
|
||||||
section[aria-label="User area"] {
|
section[aria-label="User area"] {
|
||||||
background-color: var(--neutral-80);
|
background-color: var(--neutral-80);
|
||||||
border: unset;
|
border: unset;
|
||||||
|
|
@ -516,23 +490,40 @@
|
||||||
[data-fullscreen] [class*="bar"] > [class*="title"] /* Title bar */ {
|
[data-fullscreen] [class*="bar"] > [class*="title"] /* Title bar */ {
|
||||||
background-color: var(--neutral-80);
|
background-color: var(--neutral-80);
|
||||||
}
|
}
|
||||||
/* Chat background */
|
nav[aria-label] /* Server sidebar and Search bar */,
|
||||||
main[class*="chat"] {
|
nav div:has([aria-label="Direct Messages"]) /* Direct messages/friends list sidebar */ {
|
||||||
background-image: linear-gradient(
|
background-color: var(--background-base-lower);
|
||||||
color-mix(in lch, var(--neutral-70), transparent),
|
}
|
||||||
color-mix(in lch, var(--neutral-80), transparent) 80%,
|
/* Discord icon replacement */
|
||||||
transparent
|
nav[aria-label="Servers sidebar"] [class*="tutorial"]:first-child {
|
||||||
),
|
& div:has(> svg) {
|
||||||
var(--forest);
|
background-image: var(--blob);
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 24px;
|
||||||
|
}
|
||||||
|
& svg svg {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* Animated gel background */
|
||||||
|
main {
|
||||||
|
background-image: linear-gradient(#012f, #0205), var(--bubble1),
|
||||||
|
var(--bubble2);
|
||||||
|
background-size: auto, auto, auto;
|
||||||
|
background-blend-mode: darken, lighten, normal;
|
||||||
|
background-size: auto, 1024px 1024px, 1000px 800px;
|
||||||
|
background-attachment: fixed;
|
||||||
|
}
|
||||||
/* Kiophen mascot :3 */
|
/* Kiophen mascot :3 */
|
||||||
&::before {
|
main::before {
|
||||||
background-image: var(--kiophen);
|
background-image: var(--kiophen);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: auto 40vh;
|
background-size: auto 40vh;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
content: "";
|
content: "";
|
||||||
height: 100%;
|
height: 100%;
|
||||||
opacity: 0.3;
|
opacity: 0.25;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -542,18 +533,8 @@
|
||||||
background-position-x: 100%;
|
background-position-x: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Animated gel background */
|
|
||||||
[aria-label="Servers sidebar"] {
|
|
||||||
background-image: linear-gradient(#012f, #0205), var(--bubble1),
|
|
||||||
var(--bubble2);
|
|
||||||
background-size: auto, auto, auto;
|
|
||||||
background-blend-mode: darken, lighten, normal;
|
|
||||||
background-size: auto, 1024px 1024px, 1000px 800px;
|
|
||||||
background-attachment: fixed;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.theme-dark:not(.reduce-motion) {
|
.theme-dark:not(.reduce-motion) {
|
||||||
[aria-label="Servers sidebar"] {
|
main {
|
||||||
animation: bgpomo 16s infinite linear;
|
animation: bgpomo 16s infinite linear;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue