#🎨-theme-development

1 messages · Page 19 of 1

deep bane
#

i agree my control, c and v keys need to get it too

terse dew
#

The deserves an admin role.

#

I think having some time of opacity animation could be nice, let me learn how to make it

deep bane
#

wdym

terse dew
#

instead of instant

deep bane
#

the hover glow or text

terse dew
#

both

#

but I am not really interested in doing it anymore

#

thought about it

#

might cause some delay

deep bane
#

it doesnt add any delay

#

besides

#

im already working on it

terse dew
#

Do you have a github account

deep bane
#

youre making a css snippet for connections and dont bother checking them when you ask me about my github account

terse dew
#

at this rate, you can pretty much consider the work yours, you made too many contributions, actually I think I only came up with the idea, didn't even do that much tbh

deep bane
terse dew
#

oh wait

#

you did above

deep bane
terse dew
#

Don't pay attention to this

#

time to commit plagarism.

deep bane
#

Could anyone help me make the background clip into the text?

.connectedAccountContainer__23f00:hover .connectedAccountNameText__00810 {
  color: rgb(255, 0, 0);
  background-image: linear-gradient(to right, rgb(255, 0, 0), rgb(255, 127, 0), rgb(255, 255, 0), rgb(127, 255, 0), rgb(0, 255, 0), rgb(0, 255, 127), rgb(0, 255, 255), rgb(0, 127, 255), rgb(0, 0, 255), rgb(127, 0, 255), rgb(255, 0, 255), rgb(255, 0, 127));
  background-size: 5vw 100%;
  animation: fadeIn 0.25s ease, rainbowText 15s linear infinite 0.25s;
}

.connectedAccountContainer__23f00 .connectedAccountNameText__00810 {
  color: white;
  transition: all 0.5s ease;
}

@keyframes fadeIn {
  0% {
    color: white;
  }

  100% {
    color: red;
  }
}

@keyframes rainbowText {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}
clear siren
#

like this?

teal cave
#

One of these days I'm going to make a shorthand generator for background because I keep forgetting what order to write it in

deep bane
deep bane
#

or "1.5"

summer adder
#

background changes the color or bg image, even if theres image content it will cover over it

#

background-color sets the color of the background, without covering image content

dark dragon
grand surge
#

hi, i want to make a css snippet to automatically remove the spoiler thing on images, does it alrdy exist?

summer adder
#
.spoilerWarning_d02e2d.obscureWarning_f6d53e {display: none;}
:root {
    --custom-message-attachment-spoiler-blur-radius: 0px
}```
grand surge
#

thank you

rugged echo
#

you can also disable spoiler by going into "text & images" at the bottom

#

unless you want to keep the spoiler text, I think

supple lodge
deft niche
#

what exactly are you trying to reproduce

#

also can you not just look at the code for it in zelk?

supple lodge
deft niche
#

bottom line is if you dont know css then dont try to work with css

#

go learn yeah

supple lodge
#

not really helping :/

deft niche
supple lodge
#

ok..

supple lodge
vestal field
supple lodge
#

yes

#

and for the first picture, centering the "user info, activity, etc" and showing them as buttons, (like a button outline, instead of underline them)

vestal field
vestal field
supple lodge
vestal field
supple lodge
clear siren
# deep bane yes like that

just add -webkit-text-fill-color: transparent; -webkit-background-clip: text; to your text, you can figure out the rest

terse dew
#

This channel is more and more becoming CSS support.
||I have no problem with that||

atomic tundra
#

yo, i hope is possible to remove the emotes constraint that discord set on the client or to customize it

#

i had a css but i lost it

clear siren
#

so what do you mean by emote scaling

#

you mean the big emotes like this

atomic tundra
#

yeah, or when you include them in text messages such as pop_cat_gun

clear siren
#

or smaller emotes in messages blobcatcozy

#

ok how big do you want them

atomic tundra
#

yeah a lil bit of both

#

just double the size for the text messages

#

since they show super tiny in the monitor

clear siren
#

ok

#

:root {--custom-emoji-size-emoji: 2.75em !important; --custom-emoji-size-jumbo-emoji: 128px !important; }

#

that doubles size of both

atomic tundra
#

thanks

grand surge
#

tessie w

torn templeBOT
deep bane
#

Connections Rainbow Name And Connection Colored Glow (Hover) on Hover

#

Connections Rainbow Name And Glow (Hover) on Hover ```css
/**

  • @name Connections Glow Hover
  • @version 1
  • @description Definitely not stolen code :trolley:
  • @author callme_h
  • @authorId 233940323334750209
    */

.connectedAccountContainer__23f00:hover .connectedAccountNameText__00810 {
animation: rainbowColor 5s linear infinite;
}

.connectedAccountContainer__23f00:hover {
animation: rainbowColor 5s linear infinite;
box-shadow: 0px 0px 10.9px 1px;
}

@keyframes rainbowColor {

100%,
0% {
color: rgb(255, 0, 0);

}

8% {
color: rgb(255, 127, 0);
}

16% {
color: rgb(255, 255, 0);
}

25% {
color: rgb(127, 255, 0);
}

33% {
color: rgb(0, 255, 0);
}

41% {
color: rgb(0, 255, 127);
}

50% {
color: rgb(0, 255, 255);
}

58% {
color: rgb(0, 127, 255);
}

66% {
color: rgb(0, 0, 255);
}

75% {
color: rgb(127, 0, 255);
}

83% {
color: rgb(255, 0, 255);
}

91% {
color: rgb(255, 0, 127);
}
}

.connectedAccountContainer__23f00 {
transition: all 0.25s ease;
}

/* Twitter */
[src="/assets/f47485602365c946fa52.svg"] {
content: url("https://discord.com/assets/57a3fe2c0e62e98937fd.svg");
}

[style="/assets/f47485602365c946fa52.svg"] {
background-image: url("/assets/57a3fe2c0e62e98937fd.svg") !important;
}

[class*="connectionHeader_"]:has([alt="X"])>div>[class*="connectionAccountLabel_"]:before {
content: "Twitter";
color: var(--header-secondary) !important;
user-select: text;
}

[class*="connectionHeader_"]:has([alt="X"])>div>[class*="connectionAccountLabel_"] {
color: transparent !important;
user-select: none;
}```

#

Also twitter replaces x in both just because

summer adder
#

i fucked around and found out

deep bane
#

zelk theme 👍

sweet lark
grand surge
deep bane
#

Optimized version of this (Connection colored glow and name on hover)

/**
 * @name Connections Glow Hover
 * @version 1
 * @description Definitely not stolen code :trolley:
 * @author callme_h
 * @authorId 233940323334750209
*/

.connectedAccountContainer__23f00:hover:has([aria-label="Spotify"]) {
  color: var(--spotify);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Twitch"]) {
  color: var(--twitch);

}

.connectedAccountContainer__23f00:hover:has([aria-label="YouTube"]) {
  color: var(--youtube);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Reddit"]) {
  color: var(--reddit);
}

.connectedAccountContainer__23f00:hover:has([aria-label="PayPal"]) {
  color: var(--paypal);
}

.connectedAccountContainer__23f00:hover:has([aria-label="TikTok"]) {
  color: #ff0050;
}

.connectedAccountContainer__23f00:hover:has([aria-label="Steam"]) {
  color: var(--steam);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Crunchyroll"]) {
  color: var(--crunchyroll);
}

.connectedAccountContainer__23f00:hover:has([aria-label="eBay"]) {
  color: var(--ebay);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Xbox"]) {
  color: var(--xbox);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Battle.net"]) {
  color: var(--battlenet);
}

.connectedAccountContainer__23f00:hover:has([aria-label="PlayStation Network"]) {
  color: var(--playstation);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Epic Games"]) {
  color: var(--epic-games);
}

.connectedAccountContainer__23f00:hover:has([aria-label="GitHub"]) {
  color: var(--github);
}

.connectedAccountContainer__23f00:hover:has([aria-label="X"]) {
  color: var(--twitter);
}

.connectedAccountContainer__23f00:hover:has([aria-label="League of Legends"]) {
  color: var(--lol);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Twitter"]) {
  color: var(--twitter);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Instagram"]) {
  color: var(--instagram);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Riot Games"]) {
  color: var(--riot-games);
}

.userProfileOuter__46bb7:where(.theme-dark) .connectedAccountContainer__23f00:hover:has([aria-label="Domain"]) {
  color: white;
}

.connectedAccountContainer__23f00:hover:has([aria-label="Skype"]) {
  color: var(--skype);
}

.connectedAccountContainer__23f00:hover:has([aria-label="Facebook"]) {
  color: var(--facebook);
}

.connectedAccountContainer__23f00:hover .connectedAccountNameText__00810 {
  color: inherit !important;
}

.connectedAccountContainer__23f00 .connectedAccountNameText__00810 {
  color: white;
  transition: color 0.1s ease;
}

.connectedAccountContainer__23f00:hover {
  color: currentColor;
  border-color: currentColor;
  box-shadow: 0px 0px 10.9px 1px currentColor;
}

.connectedAccountContainer__23f00 {
  transition: all 0.25s ease;
}

/* Twitter */
[src="/assets/f47485602365c946fa52.svg"] {
  content: url("https://discord.com/assets/57a3fe2c0e62e98937fd.svg");
}

[style="/assets/f47485602365c946fa52.svg"] {
  background-image: url("/assets/57a3fe2c0e62e98937fd.svg") !important;
}

[class*="connectionHeader_"]:has([alt="X"])>div>[class*="connectionAccountLabel_"]:before {
  content: "Twitter";
  color: var(--header-secondary) !important;
  user-select: text;
}

[class*="connectionHeader_"]:has([alt="X"])>div>[class*="connectionAccountLabel_"] {
  color: transparent !important;
  user-select: none;
}```
grand surge
#

Shit that long on mobile

#

Is there an import?

deep bane
#

nuh uh

#

use it as a theme or smthng

grand surge
#

😩

grand surge
#

Alt

#

Alr

deep bane
#

how do you misspell it twice

grand surge
#

I'm on mobile

#

My fingers

#

Are

#

Big

deep bane
grand surge
#

Omg

#

Thank uou

deep bane
#

how the fuck do you move the avatar in the user popout

#

and also the badge list

summer edge
deep bane
#

nothing worky

#

D:

summer edge
#

What are you trying to accomplish?

deep bane
#

center it

summer edge
#

Horizontally or vertically?

deep bane
#

horizontally

summer adder
#

learn css

sweet lark
deep bane
deft niche
summer adder
#

hi

summer adder
deft niche
plain kelp
#

Can confirm, am dumb

deep bane
# deep bane

i would need some help with this cause i cant get the href to work

summer adder
deep bane
#

cause i dont want it to affect spacing

summer adder
#

but i’m actually cute

plain kelp
#

A person can be both dumb and cute

summer adder
#

sam is not

deep bane
plain kelp
#

Fair

clear siren
deep bane
#

i need the href anchor or whatever to still work without affecting spacing

clear siren
#

oh I see

#

gimme the code you have

deep bane
#
.top__592a7 {
  justify-content: center !important;
}
.container_b6b15b div,
.userInfoSection__1daf8:not(.connectedAccounts_dc0a56),
.memberSinceContainer__0a28b {
  text-align:center !important;
  display:inherit !important;
  margin:0 !important;
}
.listScroller__92e1a {
  text-align:center !important;
  margin:0 !important;
}
.connectedAccountContainer__23f00 {
  display:flow-root;
  text-align: center !important;
}
.connectedAccountContainer__23f00>* {
  display:block;
  margin:auto !important;
}
.connectedAccountVanityMetadata__7beb2,
.connectedAccountNameTextContainer__0b003 {
  margin:auto !important;
  text-align: center !important;
  justify-content: center !important;
}
#

im making a centered profile popout

#

so this is the code

#

a lot of important tags for now since i need to test it

clear siren
#

easiest solution, as the arrow icon is 18px wide

#

oh wait it's not on all of them

deep bane
#

selector for the anchor is .connectedAccountContainer__23f00 .anchor_c8ddc0

clear siren
#

you could make a :has() thing where if the arrow is present, add margin-left

deep bane
#
.connectedAccountContainer__23f00 .anchor_c8ddc0{
  margin-left:-18px;
}```
#

works

#

but i would like to ask

#

would there be any way to make the href invisible and cover the whole connection element?

clear siren
#

sure, just add padding to it to cover the box and set its opacity to 0

#

wait no

#

uhh

deep bane
#

yeah padding affects the spacing for some reason

clear siren
#

padding and negative margin at the same amount should work

magic cove
#
/* make pronouns stand out more */
[class*=pronouns] {
  text-transform: lowercase;
  color: #ffffff !important;
  font-size: 14px; font-weight: 650;
  background-color: var(--profile-gradient-primary-color);
  padding: 0.25rem 0.375rem; margin: 0.25rem 0 0 0;
  border-radius: 0.5rem;
}```
im trying to make the pronoun text white for non nitro users and have it as black for nitro users but idk how
clear siren
magic cove
#

tysm

#

its just so it fits nitro users and non nitro users

deep bane
#

is there any other way

clear siren
# magic cove tysm

doesn't do exactly what you described maybe but that is the way to select the pronouns when someone has nitro, you can figure out the rest I'm sure

clear siren
magic cove
#

if i need help ill ask here

deep bane
#

This works, but obviously only horizontally

.connectedAccountContainer__23f00 .anchor_c8ddc0{
  margin-left:-238px;
  padding-left:220px;
  opacity:0;
}```
#

and its very messy trying to add vertical padding

#

oh and it also cancels itself out

#

if i try to do vertical padding and negative margin

clear siren
#

yeah

deep bane
#

better than nothing i guess 🤷

#

still thank you

#

also

#

would there be a way to center the third connection horizontally?

#

(steam)

oak plover
#

Probably

#

Gonna check real quick

#

nvm the styling for that thing is so ugly

deep bane
#

wym

oak plover
#

if everything was under 1 parent class then you could've done .connectedAccountContainer__23f00:last-child:nth-child(odd) to select the card that's in its own row except it's not rows it's two parent classes that make columns so instead you get this mess

deep bane
#

yeah i tried it too

#

selects either github or spotify and steam

oak plover
#

i could try to think of another method but it'd probably be a bad setup

#

.connectedAccountsColumn_fd2c41:has(+ .connectedAccountsColumn_fd2c41 > :last-child:nth-child(odd)) > :last-child:nth-child(even), .connectedAccountsColumn_fd2c41:has(+ .connectedAccountsColumn_fd2c41 > :last-child:nth-child(even)) > :last-child:nth-child(odd), .connectedAccountsColumn_fd2c41:has(+ .connectedAccountsColumn_fd2c41:empty) > div
mid af method but it kinda does what you want it to do

#

i'd expect this to break though cause the columns don't line up in a proper grid

#

at some point it'd overlap with the column to the right of it

#

not even worth it

deep bane
#

im trying to get it to be centered but nothings working so far

oak plover
#

if you do that you can make it do this but you also deal with this

#

there's really not a clean way to get what you want unless you make all of the containers the same size

deep bane
#

This seems to work if i could select the first element from the right columns

.connectedAccountContainer__23f00:last-of-type {
  transform:translateX(50%);
}```
#

but then i didnt test it on more than 3 connections

#

nah this doesnt work

magic cove
#

im struggling finding the non nitro profile selectors

oak plover
#
.connectedAccountContainer__23f00 {
    padding: 12px 8px;
}
.connectedAccountsColumn_fd2c41:has(+ .connectedAccountsColumn_fd2c41 > :last-child:nth-child(odd)) > :last-child:nth-child(even),
.connectedAccountsColumn_fd2c41:has(+ .connectedAccountsColumn_fd2c41 > :last-child:nth-child(even)) > :last-child:nth-child(odd),
.connectedAccountsColumn_fd2c41:has(+ .connectedAccountsColumn_fd2c41:empty) > div {
    transform: translateX(50%);
}
div:is(.connectedAccount__28fb0, .connectedAccountName_f0a294) ~ * {
    display: none;
}

something like this

magic cove
#
.userProfileInnerThemedNonPremium__3d0a6: [class*=pronouns] {
  text-transform: lowercase;
  color: #ffffff !important;
  font-size: 14px; font-weight: 650;
  background-color: var(--background-primary);
  padding: 0.20rem 0.375rem; margin: 0.25rem 0 0 0;
  border-radius: 0.5rem;
}

idk what im doing wrong

oak plover
magic cove
#

okay

#

was it right?

#

it was

#

hooray

#

:D

#

theres probs a better way to od it

#

but

#
/* pronoun */
.userProfileInnerThemedNonPremium__3d0a6 [class*=pronouns] {
  text-transform: lowercase;
  color: #ffffff !important;
  font-size: 14px; font-weight: 600;
  background-color: var(--background-primary);
  padding: 0.20rem 0.375rem; margin: 0.25rem 0 0 0;
  border-radius: 0.5rem;
}

.userPopoutInner_f545a3:has(a[href="https://discord.com/settings/premium"]) [class*=pronouns] {
  text-transform: lowercase;
  color: #ffffff !important;
  font-size: 14px; font-weight: 600;
  background-color: var(--profile-gradient-primary-color);
  padding: 0.20rem 0.375rem; margin: 0.25rem 0 0 0;
  border-radius: 0.5rem;
}

.userProfileInnerThemedWithBanner_d5f991 [class*=pronouns] {
    text-transform: lowercase;
  color: #ffffff !important;
  font-size: 14px; font-weight: 600;
  background-color: var(--profile-gradient-primary-color);
  padding: 0.20rem 0.375rem; margin: 0.25rem 0 0 0;
  border-radius: 0.5rem;
}

enjoy

deep bane
#

sick effect ngl

#

(it fills from middle)

magic cove
#

oo

deep bane
#

which ones better

magic cove
#

depends on what ur going for

#

im trying to find other profile colours bcs

#

background looks meh

#

i wanna lower the opacity but the whole thing disappears

magic cove
deep bane
#

still not finished but i need some feedback or something

#

better screenshot

#

profile with more badges

#

kind of looks bad on profiles with less badges

terse dew
#

Anyone got an idea on how to edit the CSS to make it fit correctly?

deep bane
grand surge
#

I used liked 2 years ago something that made user settings smaller

#

like it was poping out

#

anyone know what I mean and has css for that?

deep bane
#

this looks amazing

terse dew
# deep bane

I think making the server icon take the entire upper point might be cooler

deep bane
#

upper point?

terse dew
#

I will send an example

#

@deep bane

#

like this

deep bane
#

i'll try

terse dew
#

like a card with text below

#

so the image can be easier to be seen

#

and actually, just imagine a bunch near each other

#

will look nice

#

could even make them enlarge on hover

#

tho that might be much

#

oh wait

deep bane
#

i don't think thats gonna work because someone could have a really long name and the servers icon will be blurry

terse dew
#
.avatarPositionPremiumNoBanner__8bf3b , .avatarPositionPremiumBanner__1e83d {
 top: 73px !important;
}

this kinda fixed the location in the top-down location

.avatarPositionPremiumNoBanner__8bf3b .avatarWrapper_f77579, .avatarPositionPremiumBanner__1e83d .avatarWrapper_f77579 {
  left: 20px !important;
}

this kinda doesn't work, not sure why the left to right location doesn't work, is the selector wrong?

terse dew
deep bane
#

what are you doing there

deep bane
terse dew
#

my theme for some reason breaks themed profiles

#

and I am trying to find a way to put the image in the right location

#

I think I fixed it (mostly).

#

NOPE it is broken .

#

why is this specific one broken?

#

this one is fine

#

great it seems I know why now

#

being themed while not having a nitro theme still breaks it, because the things I added still effects it

#

Does anyone know how to fix images from non-nitro themed users being effected differently?

solid ore
terse dew
terse dew
#

1 problem, I realized something

#

nitro users that still use the plugin profile themes STILL break like other themed profiles.

#

I need a way to know if the theme is plugin or from nitro

#

more than if the user itself has either

#

I am considering this a good enough.

deep bane
#

anyone knows how i can remove the "border-radius", its a rect element

deft niche
terse dew
deep bane
#

how do i make it not round

#

yes

plain kelp
#

rx: 0 probably

terse dew
#

I think just changining it with a completely new element might be better, considering this is from a plugin that changes svgs

deep bane
#

doesnt work

terse dew
#

but I didn't really try it

deep bane
#

rx:0 doesnt work

#

it doesnt even have rx or ry applied

#

so idk how its rounded

#

in the first place

terse dew
#

might it be an svg of a green round circle?

deep bane
#

its a rect element

#

can you read

terse dew
#

no sadly, can't read

#

technically I am correct, rect elements are somewhat of a SVG

#

just, a really basic one

deep bane
#

nvm found it

#

it had a mask

terse dew
#

oh great

plain kelp
#

Setting rx:0 works

deep bane
#

its a rect element they can just round it with rx and ry

plain kelp
#

Just gotta do it on the right element

deep bane
#

but alr

deep bane
plain kelp
#

First rect in the mask

deep bane
#

give me your code

plain kelp
#

There is no code

#

I just did it in devtools

deep bane
#

cause this doesnt work

.userProfileModalInner__7c87d .avatar__445f3 rect{
  width:50px;
  height:50px;
  rx:0;
  ry:0;
}```
clear siren
#
.userProfileModalInner__7c87d .avatar__445f3 rect{
  width:50px;
  height:50px;
  mask:none;
}
deep bane
#

that is what i already have

#

and it works for me

deep bane
#

It is finally done, @import url('https://raw.githubusercontent.com/im-h/css-snippets/main/Centered-User-Popouts.css');

#

still got some work to do

#

but its in a nice state right now

solid ore
#

anyone know if its possible to extend the clickable part of the connected account buttons to the actual text/logo

#

as in be able to click the underlined part as well as the arrow

#

or just make the whole thing container clickable

nova beacon
#

what discord experiment for message submit button? nvm. it was on the accessibility settings.

deep bane
deep bane
terse dew
#

How to choose 1 language in class selectors? Like, is there a :lang() in discord?

clear siren
#

what do you mean

#

I mean yes, you should be able to use :lang() in discord css

terse dew
#

doesn't really effect arabic

clear siren
#

the lang is probably like ar-AR, but all that selector does is it detects the language of the entirety of discord, not just a username

#

it just takes the value set in the html element

terse dew
#

so there isn't a way to only detect arabic language? even if it was everywhere.

clear siren
#

as far as I can tell there is no way to select the username if it's written in arabic, chinese or english in css because there is nothing about it that makes it 'different' in the page other than its content

#

and content can't be used to select anything

terse dew
#

is there a way to detect the entirety of discord?

clear siren
#

yeah if your whole discord language is changed, the value in html changes

#

and you can then use either html[lang="ar-AR"] in your selectors or use the :lang() pseudoclass

dark dragon
#

There's no way to check the contents of an element in the current css spec. You can do like :lang(ar-AR) .username.d30d99, but that's going to affect all elements with that username class if your language is set to Arabic in the discord settings

clear siren
#

yeah

terse dew
#

interesting.

clear siren
#

not that there even is an arabic language in discord though

terse dew
#

is there a way to make 2 fonts be used at the same time where one font only works on 1 specific language?

#

something like giving the change to the font itself rather than a class

clear siren
#

if you specify multiple fonts like one for arabic and one for chinese, and those fonts do not have the other language's glyphs in it, it will use all the fonts for their languages

grand surge
#

how can i change what my cursor is

dark dragon
#

You can also set a unicode range, as shown here https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/unicode-range

MDN Web Docs

The unicode-range CSS descriptor sets the specific range of characters to be used from a font defined using the @font-face at-rule and made available for use on the current page. If the page doesn't use any character in this range, the font is not downloaded; if it uses at least one, the whole font is downloaded.

grand surge
#

theres a theme that does that

clear siren
#

oh yeah unicode ranges are also useful for that

grand surge
clear siren
terse dew
#

so I will try that

#

Nope, sadly the arabic text I am using supports English too

#

is there a way to like, strip a font of it's other language support

clear siren
#

yeah by using the unicode range thing

terse dew
#

k

solid ore
#

is there a way to keep the position of the user profile modal fixed? so that when selecting mutual servers/friends etc the banner, pfp and username dont move

#

i tried messing with position: but it didnt help

#

.userProfileInner__8065b is the selector im p sure

deep bane
#

This works, but idk if other elements use the popout idcss [id*=popout_]>*{ position:fixed !important; top:0; left:0; }

#

yeah no other elements use the id too

#

but i mean i guess you could have every popout in a specific place Shrug

solid ore
#

that is for the popout (left img), im talking abt the profile modal (right)

deep bane
#
.focusLock__10aa5[aria-label="User Profile Modal"]{
  position:fixed !important;
  top:0;
  left:0;
}```
solid ore
#

ty

supple lodge
#

hi, anyone know how to make the badges go on top of the banner please?

supple lodge
grand surge
#

@clear siren

clear siren
#

yes

#

@grand surge

grand surge
#

okay so i updated my snippet a little and it’s kinda fucking with me

clear siren
#

ok?

grand surge
#
html {
    cursor: var(--cursor), default;
}

a:hover, 
img:hover,
[role="link"]:hover,
[role="button"]:hover {
    cursor: var(--cursor-pointer), pointer;
}

:root {
    --cursor: url('https://cdn.discordapp.com/attachments/1191351625508458549/1195725915859189911/6Qz.cur');
    --cursor-pointer: url('https://cdn.discordapp.com/attachments/1191351625508458549/1195772025243967538/ltK.cur');
}
#

the stupid cursor

#

is not going to pointer on some things?

clear siren
#

yeah it only goes to pointer on those you selected

grand surge
#

your username for example, it should be a link, on hover it should turn to the pointer but it uses my windows defualt not the one in css

plain kelp
#

Probably discord's own css overrides that

clear siren
#

it's not a link as in an <a> element, neither does it have those roles assigned

grand surge
#

oh

clear siren
#

no wait it does

#

it has role button

grand surge
#

so yeah it should work

#

its strange like some do

clear siren
#

it's being set by discord css

#
.username_d30d99.clickable_d866f1:hover, .applicationName__359c6.clickable_d866f1:hover, .commandName_a0875b.clickable_d866f1:hover {
    cursor: pointer; }
#

with more specifity

#

if you add !important it should work

grand surge
#

great

#

oh

#

wow

#

simple fix

#

ig not

#

still hundreds of other buttons do not work

supple lodge
#

Anyone know how I can move the black circle behind the profile picture for the "userProfileModal" ?

summer adder
#

replace html with whatever class you're trying to change the cursor with and whatever cursor you want

#

if you wanted custom cursors in general, this isnt the place for it

#

unless you import a custom image and make it use that

#

but even then im sure the 'custom image' would have to be a cursor file

summer adder
#

ah

grand surge
#

some bugs but i’ll fix them eventually

supple lodge
summer adder
supple lodge
summer adder
#

replace its fill with white instead of black, that makes it completely gone

#

if thats what you're going for anyway

supple lodge
summer adder
#

absolutely no idea, hence why in the vid i was just doing it via inspect element

supple lodge
#

yeah, I wanna do it in vscode, but I have no idea on how to edit it x)

#

anyway, thanks

summer adder
#

np

#

@supple lodge found out

supple lodge
#

yes?

plain kelp
#

Editing svgs with css is unpleasant

summer adder
#

wait now its fucking up wtf

supple lodge
summer adder
#

no, scratch that

#

thought i had it but i dont

supple lodge
#

yeah, its so weird

summer adder
#

could've sworn i would've had it with css .bannerSVGWrapper__3e7b0 [id='uid_997'] {display: none !important;}

#

I FIGURED IT OUT

#

SO

#

THE UID SWITCHES TO TWO RANDOM VARIABLES

#

ONE OF THEM 1172

#

AND THE OTHER 190 I THINK

#

AND I GOT CODE FOR THE 1172 TO WORK

#
.bannerSVGWrapper__3e7b0:has([id='uid_1172']) circle{fill:white !important}```
#

NOW I NEED TO SEE IF IT WORKS WITH THE UID 190

#

oh my fucking god its a new one.

#

im starting to think its a randomly generated uid every time.

#

it is

#

so i have an idea for that

supple lodge
#

yeah, because for me there isn't any 1172

summer adder
#

i did it

#

heres your code

#
.bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{fill:white !important}```
plain kelp
#

The uid increases every time it creates the element I'm pretty sure

summer adder
#

but at this point

#

as long as it fucking works im happy

summer adder
#

np

supple lodge
#

ono

summer adder
#

?

supple lodge
#

it also change the one in the popout 💀

summer adder
supple lodge
#

cry in pain

summer adder
#

i will, that took me so long

#

okay heres your fix for the server popout

#
.userPopoutInner_f545a3 .bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{fill: black !important;}```
#

add that to your code and it should fix the server popout only

#

lemme know if anything else is broken

supple lodge
#

doesn't look like it's working for me.. I don't understand lol

summer adder
#

works perfectly fine for me in qcss too

supple lodge
summer adder
#

ahh, so for inner user profile you'd have to set the cx to what it originally is

#

which is typically cx="62"

#

so it would now be

#
.userPopoutInner_f545a3 .bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{fill: black !important;cx: 62;}```
supple lodge
summer adder
#

np

#

huh, thats odd

supple lodge
#

what?

summer adder
#

i was looking through it and it seems like nitro profile popouts have a different cx, nitro ones arent 62

supple lodge
#

yours works

summer adder
#

instead, nitro popouts are cx="58

summer adder
#

very very odd

supple lodge
#

idk, for me it works on nitro and non nitro users

#

and it shows it as 62 on your profile too

summer adder
#

weird, dunno why mines showing different

supple lodge
#

you tried on someone else's nitro profile?

summer adder
#

nope, on mine

supple lodge
#

maybe for other profile it works normaly

#

for me it works on any profile, so thank you again :)

summer adder
#

np

simple kiln
#

how to shikiblocks

#

i can't see the plugin

supple lodge
summer adder
#

i kinda see what you're trying to do though

#

i roughly recreated your code and it does look nice

supple lodge
#

show me

summer adder
supple lodge
#

yeah pretty much the idea :)

#

except the badges I put there

summer adder
#

ah

supple lodge
#

code looks gross tho, since I never learned css 🤣

summer adder
#

meh you learn eventually

supple lodge
#

easier than some language tbh

#

Looks like that

/* pfp Relocation */
.header__7da4f{
    bottom: 0px;
    left: 200px;
}

/* Big Popout */
.topSection_dfb73b .bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{
    fill:black !important;
    cx: 282;
}
/* Smol Popout */
.userPopoutInner_f545a3 .bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{fill: black !important;
    cx:62;
}
/* Dm Right Profile */
.none__51a8f .scrollerBase_dc3aa9 .bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{
    fill:black !important;
    cx: 58;
}
/* Badges */
.badgeList_c193e3{
    position: absolute;
    bottom: 22px;
    right: 184px;
    display: flex;
    justify-content: flex-end;
}
/* Friend request/Send Message button */
.relationshipButtons__5efdd {
    position: absolute;
    top: 12px;
    right: 200px;
    display: flex;
    justify-content: flex-end;
}```
#

idk how to send it with the colors

plain kelp
#

For the colors

summer adder
#

technically recreated your code again

supple lodge
supple lodge
#

does work
nice

summer adder
#
.bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{
    fill: white important;
    cx: 282;
}
.userPopoutInner_f545a3 .bannerSVGWrapper__3e7b0:has([id*='uid_']) circle{fill:black !important; cx: 62;}
.wrapper_edb6e0.pointer__4360d.avatar__445f3 {position: absolute;left: 223px;}
.badgeList_c193e3.containerWithContent__7e98f.container__5bda1 {position: absolute;top: -55px;left: 18.5em;}
.userProfileModalInner__7c87d.userProfileInner__8065b.userProfileInnerThemedWithBanner_d5f991 .topSection_dfb73b .header__7da4f .wrapper_edb6e0.pointer__4360d.avatar__445f3 {left:222px;}
.additionalActionsIcon__33de0 {position: absolute; top: 4.5px;right: -28.5px;}
.relationshipButtons__5efdd {position: absolute; left: 250px;}
.clickable__35918.avatarWrapperNormal__0bddb.avatarWrapper_f77579.avatarPositionPremiumBanner__1e83d .avatarHoverTarget__3a360 {position: absolute;left:4px}
.svg__7900e.avatarDecorationHint__03e0b {position: absolute;left: -4px !important;}
.userProfileModalInner__7c87d.userProfileInner__8065b.userProfileInnerThemedWithBanner_d5f991 .topSection_dfb73b .header__7da4f .headerTop__6628b .badgeList_c193e3.containerWithContent__7e98f.container__5bda1 {position: absolute;left:270px;}```
#

you thought your code was messy

supple lodge
summer adder
#

oh well it can be as messy as it needs to be as i was just recreating it for fun

#

not like im publishing it or anything, just though id challenge myself

terse dew
supple lodge
terse dew
#

I am comparing it to the send message on the same level, actually I think it could make for a fun idea to make the 3 first lines (username/nickname/pronouns) to be all centered in the middle

#

I think somebody did it for the small profile

supple lodge
#

and for me it looks like that, I removed the gap between the username and the banner

terse dew
#

that looks very nice.

supple lodge
#

thanks

#

but I feel like the picture isn't 100% centered, even tho I choosed position: center
Or maybe it's the buttons under it that makes it confusing

terse dew
#

nope

#

you are completely correct

#

it isn't centered right

supple lodge
#

mh?

terse dew
#

it is moved to the left

supple lodge
#

on urs?

terse dew
#

yes.

supple lodge
#

oh yeah also

#

I was talking about mine x), but yours have it lol

terse dew
#

yours also has it somewhat

#

this is the correct place for it to be at

supple lodge
#

can you use a grid on the preview in discord or that doesn't exist?

terse dew
#

I have no idea

supple lodge
#

because it would be more accurate I think

supple lodge
terse dew
supple lodge
#

I think so

terse dew
#

which plugin gives that device icon?

subtle rose
terse dew
#

thanks

deep bane
supple lodge
supple lodge
plain kelp
#

Just block those people

deft niche
#

I just hide the shitty useless badges joeshrug

sweet lark
supple lodge
#

I know

sweet lark
supple lodge
supple lodge
grand surge
#

i made it better i think probably not sure dont know

#

dont know if this fits in this channel since its more of a source code edit but oh well

summer adder
#
/**
* @author Madeline
* @description this is just the personal code i use
* @name personal code madeline
*/
.text-xs-semibold_a3a2b4.barText__1a44f {font-size: 0px;}
.text-xs-semibold_a3a2b4.barText__1a44f:before {font-size:12px; content: /*CHANGE TO WHATEVER*/ "new shit that you don't care about!"; position: absolute; top: 4px;}
.bar__004d9 {width: 5.3em;height:3.9em} /* adjust if needed for bar width, incase the text goes off the bar*/
/* end of unread bar */
::selection {background-color: rgba(102, 51, 153, 0.5);color: white;}```
#

decided to upload here since it’s already uploaded and changed on my github constantly due to the fact that i just have my themes folder synced to github

summer adder
#

screenshots show

summer adder
#

purposely horrible

void socket
#

hello everyone, this is gonna sound dumb, but, does anyone know of a way to block stickers from a specific person?
this friend of mine wont stop sending stupid dog stickers in every conversation we have with zero relation to what they are saying and it is pissing me off, i obviously don't want to block them, any ideas?

summer adder
#
[data-author-id="insert-user-id-of-person"] .clickableSticker__5d3a0 {display: none;}
#

make sure to have theme attributes enabled just in case

void socket
summer adder
#

yes, just make sure you have the themeattributes plugin enabled just to be sure it works

void socket
#

yep yep

deep bane
#

guys im bored i need idea

void socket
summer adder
deft niche
summer adder
#
* {stroke: aqua;stroke-width: 50px;}
* {border: dashed;border-width: 5px;border-color: red;}
:root {
    --background-primary: purple;
    --background-secondary: blue;
    --background-tertiary: orange;
}```
deft niche
#

Some colors work together and the font is fine

deft niche
#

Not ugly just unreadable

deep bane
summer adder
deft niche
#

Make text white

summer adder
deft niche
#

Too dark

#

Some text not white

#

0/10

#

Make accent white

deep bane
deft niche
#

-2490872149724389324/10

summer adder
deep bane
deft niche
#

-329743986324876575246587653278653872687635872/10

deep bane
deft niche
#

Pfp isnt white

rugged echo
#

not white enough, make it like the sun

deft niche
#

insert exponentially small number here/10

summer adder
rugged echo
#

ern akzhuali in space its white 🤓

rugged echo
#

well thats what I have heard, obviously I can't prove it

deft niche
rugged echo
#

I was talking about the sun

deep bane
clear siren
rugged echo
clear siren
#

on a related note though I would love to see what hdr screens could do with better color formats like oklch()

#

what kind of stuff websites could do with hdr color space

grand surge
rugged echo
#

no it obviously has a baby face

grand surge
#

teletubby garry’s mod 3 am not clickbait went sexual

grand surge
#

this is ai gen, can someone help me fix it, it doesnt work

#

.panels-3wFtMD > .container-YkUktl .flex-2S1XBF > :not(:last-child) {
opacity: 0% !important;
width: 0px;
transition: all 0.2s ease-in-out;
}

.panels-3wFtMD > .container-YkUktl:hover .flex-2S1XBF > :not(:last-child) {
opacity: 100% !important;
width: 32px;
}

.container-YkUktl {
justify-content: space-between;
}

#

it displays this on hover and makes them dissapear when not hovered on

exotic nexus
#

Ai cant generate discord themes

grand surge
#

o ok

summer adder
grand surge
#

lol

summer adder
#

then please for the love of god code it yourself instead of asking ai to do it

deft niche
grand surge
grand surge
deft niche
# grand surge 💀

"Do not open pull requests with or ask for help with ai written code. Ai is incredibly stupid when it comes to code and you're wasting both of our time. You will permanently lose access to all dev channels and possibly be blocked from the repo if you do so"

summer adder
#

for one of the SIMPLEST LANGUAGES

deft niche
#

Ai is an amazing tool for learning, asking questions, and troubleshooting simple errors but for the love of god don't actually try to get it to code for you

#

You'll just end up with a scrambled fucked up mess

grand surge
#

ok

deft niche
#

It doesnt have access to the source code, inspect element, or anything else relevant. Why would it?

summer adder
deft niche
#

Vencord ai theme maker update when

summer adder
#

GOD NO

deft niche
#

Simply type in a prompt and the ai will make you a theme!!1!221111!1!1!!1!1

#

Best update ever

#

(kill me)

summer adder
#

cause its so hard to just

#
[role="switch"] {opacity: 0%;}
[role="switch"]:hover {opacity: 100%;}```
#

no way in hell you tried getting AI to help you with THAT

#

hell if you wanna effect the settings too

#
[role="switch"] {opacity: 0%;}
[role="switch"]:hover {opacity: 100%;}
[aria-label="User Settings"] {opacity: 0%;}
[aria-label="User Settings"]:hover {opacity: 100%}```
#
[role="switch"] {opacity: 0%;transform: rotateZ(0deg);transition: 0.3s ease-in-out;}
[role="switch"]:hover {opacity: 100%;transform: rotateZ(-5deg)}
[aria-label="User Settings"] {opacity: 0%;transform: rotateZ(0deg);transition: 0.3s ease-in-out}
[aria-label="User Settings"]:hover {opacity: 100%;transform: rotateZ(-5deg)}
.side_b4b3f6:hover {transform: rotateZ(0deg);}
.side_b4b3f6 {opacity: 100%}
#

really not that hard

grand surge
#

i meant like

#

when hovered the entire section appears

#

and when not hovered on it disappears

#

but i fr appreciate you going out of your way to do it

summer adder
#

even easier.

#
.container_ca50b9 {opacity: 0%;transition: 0.3s ease-in-out;}
.container_ca50b9:hover {opacity: 100%;}```
#

you really didnt need AI for something like that.

grand surge
#

im unclear lol

#

and how do you do that link thing

#

with the video

summer adder
grand surge
#

ur

#

so

#

amazing

#

!

#

thank you

summer adder
#

more optimized version of it before someone here complains "oH the codes messy!!" css .flex_f5fbb7:has([role="switch"]) {opacity: 0%;transition: 0.3s ease-in-out;} .flex_f5fbb7:has([role="switch"]):hover {opacity: 100%;}

grand surge
#

ok

#

final

#

task

#

nah

#

im jk

#

the code that you gave is perfect

#

thanks!

grand surge
plain kelp
#

That's the problem with randomized classes — they change sometimes

grand surge
#

ill randomise you

plain kelp
#

Be my guest

grand surge
#

too*

solid ore
grand surge
plain kelp
#

Seems they released a new version (256231 → 259048) this saturday

#

So it's unsurprising that the classes would have changed

grand surge
#

just their ai code is .balls-69420 should be .balls_69420

plain kelp
#

I don't understand why ai would be relevant

grand surge
#

wdym

plain kelp
#

Why are you bringing up ai

grand surge
#

because their code is ai generated

plain kelp
#

Why do you think that

devout elm
#

cus they said its ai gen :p

grand surge
#

because they said so and it uses the old classes system

plain kelp
#

That rule is saying "if you're using ai to write code we won't help you debug it", not "discord code is ai-made"

grand surge
#

??

#

they asked for help with ai gen code

plain kelp
#

Oh wait you mean some guy who asked for help earlier in this channel did

clear siren
plain kelp
#

Damn, completely misread the conversation

clear siren
#

I'm actually surprised the ai made something half decent although it's using the old classes

grand surge
#

it’s already a thing in snippets i’m pretty sure

clear siren
#

not saying it's correct either way but yeah

plain kelp
#

Any code using the mangled class names is automatically a time bomb

#

Nobody should be writing themes that way, ai or not

grand surge
#

write me a ad block popup theme

clear siren
#

I use attribute selectors for everything after the classening happened

plain kelp
#

For me it's more of an issue of ```
❯ rg 'container:"container_' -o | wc -l
449

#

In other words, [class^=container_] matches 449 different classes

clear siren
#

yeah I know, just requires a parent, with them the code also actually becomes kinda self-documenting in many cases because the selector is less vague lol

plain kelp
#

I write mine like ```css
.ChatContainer__chatContainer,
.ThreadSplit__container,
.Settings__contentRegion,
.FriendList__peopleColumn,
.BrowseChannels__container.BrowseChannels__container,
.MessageRequests__container,
_ { background: var(--98-primary); }

#

Made a plugin that gives stable names to classes, that is

clear siren
#

yeah I saw that

plain kelp
#

Of course that requires a bit of work for naming the different modules, but eh, can't have everything

clear siren
#

no ai can write css as mangled as mine

solid ore
plain kelp
#

Don't think I've posted it there

grand surge
grand surge
grand surge
plain kelp
#

And you think a random sentence generator can

grand surge
#

What are you referring to?

plain kelp
#

That you asked an ai to write a theme

grand surge
#

But it can't

#

😂

grand surge
grand surge
#

🫡

summer adder
#

also btw just an fyi learning isnt using chatgpt to generate your code

pure cairn
pure cairn
#

hope that clarifies it a bit more

clear siren
#

how did you try using inspect element on it

#

and how did that not give you everything you need to select that element and do display:none on it

#

I'm sure you can figure it out :)

pure cairn
pure cairn
#

sorry

deep bane
#

so you dont want to have the stream button shown?

pure cairn
#

I would like it to appear when I'm hovering the user area, just like the snipped I quoted did with the other buttons

deep bane
#
.actionButtons_b58cbb {
  opacity:0;
  transition: 0.3s ease
}
.actionButtons_b58cbb:hover {
  opacity:1;
}
sweet lark
#

spoonfed

deep bane
pure cairn
deep bane
#

from the console

sweet lark
#

from the Element maybe

pure cairn
#

yeah ok, which part though? because I have it open and I don't see that code anywhere

sweet lark
#

Hmm

deep bane
#
.actionButtons_b58cbb:has([aria-label="Share Your Screen"]) {
  opacity:0;
  transition: 0.3s ease
}
.actionButtons_b58cbb:has([aria-label="Share Your Screen"]):hover {
  opacity:1;
}```
#

idk if the class is used anywhere else

#

so heres fool proof

#

i guess

#

only english

#

cause default language

pure cairn
#

yeah, I have English language so it's not an issue

#

I just
don't see the b58cbb anywhere

#

actually, I don't know where I should get it from

#

I'm sorry if I sound stupid, but I'm really slow at this

deep bane
#

version based on icon

.actionButtons_b58cbb:has([d="M2 4.5C2 3.397 2.897 2.5 4 2.5H20C21.103 2.5 22 3.397 22 4.5V15.5C22 16.604 21.103 17.5 20 17.5H13V19.5H17V21.5H7V19.5H11V17.5H4C2.897 17.5 2 16.604 2 15.5V4.5ZM13.2 14.3375V11.6C9.864 11.6 7.668 12.6625 6 15C6.672 11.6625 8.532 8.3375 13.2 7.6625V5L18 9.6625L13.2 14.3375Z"]) {
  opacity:0;
  transition: 0.3s ease
}
.actionButtons_b58cbb:has([d="M2 4.5C2 3.397 2.897 2.5 4 2.5H20C21.103 2.5 22 3.397 22 4.5V15.5C22 16.604 21.103 17.5 20 17.5H13V19.5H17V21.5H7V19.5H11V17.5H4C2.897 17.5 2 16.604 2 15.5V4.5ZM13.2 14.3375V11.6C9.864 11.6 7.668 12.6625 6 15C6.672 11.6625 8.532 8.3375 13.2 7.6625V5L18 9.6625L13.2 14.3375Z"]):hover {
  opacity:1;
}```
pure cairn
#

thanks for telling me, I didn't know about that

sweet lark
#

who wouldve thought that not knowing css will be problematic when trying to write css

glad urchin
#

@summer adder i remember you were asking about an embed bug

#

does it have something to do with zoom?

#

weirdly, at 100% images look blurry
compared to 110%

#

WHY IS IT CHANGING THE WIDTH/HEIGHT PARAMS ON ZOOM

pure cairn
deep bane
#
.actionButtons_b58cbb:has([d="M2 4.5C2 3.397 2.897 2.5 4 2.5H20C21.103 2.5 22 3.397 22 4.5V15.5C22 16.604 21.103 17.5 20 17.5H13V19.5H17V21.5H7V19.5H11V17.5H4C2.897 17.5 2 16.604 2 15.5V4.5ZM13.2 14.3375V11.6C9.864 11.6 7.668 12.6625 6 15C6.672 11.6625 8.532 8.3375 13.2 7.6625V5L18 9.6625L13.2 14.3375Z"]) {
  opacity:0;
  transition: 0.3s ease;
  margin-top:-24px;
}
.actionButtons_b58cbb:has([d="M2 4.5C2 3.397 2.897 2.5 4 2.5H20C21.103 2.5 22 3.397 22 4.5V15.5C22 16.604 21.103 17.5 20 17.5H13V19.5H17V21.5H7V19.5H11V17.5H4C2.897 17.5 2 16.604 2 15.5V4.5ZM13.2 14.3375V11.6C9.864 11.6 7.668 12.6625 6 15C6.672 11.6625 8.532 8.3375 13.2 7.6625V5L18 9.6625L13.2 14.3375Z"]):hover {
  opacity:1;
  margin-top:0px;
}```
pure cairn
#

yeah, it's not the same button I'm talking about

summer adder
pure cairn
# pure cairn

this one pops out when you open a game/software without being in a vc already

glad urchin
pure cairn
deep bane
#

oh my god youre talking about that

#

jesus christ

pure cairn
glad urchin
#
* {
  image-rendering: pixelated !important;
}```
this kinda fixes it
deep bane
#
.activityPanel__22355 button[aria-label*="Stream"] {
  opacity:0;
  transition: 0.3s ease;
}
.activityPanel__22355 button[aria-label*="Stream"]:hover {
  opacity:1;
}
deep bane
#

why not html

#

or sum

deep bane
#

Better version

#

atleast i think

deep bane
deep bane
#

what

#

why is hevin kart doubting me

#

hevin kart

#

how did i misspell that

sweet lark
#

i didnt even notice

deep bane
#

me neither

#

too much tassive mits

summer adder
#

about the 'embed bug'

pure cairn
summer adder
#

lol

glad urchin
#

completely different

pure cairn
pure cairn
#

yeah, the emoji is literally me fr fr

sweet lark
#

if u wanna do css, learn css

pure cairn
#

noted 👍

summer adder
#

it was a plugin problem itself

pure cairn
#

thanks for the help though

deep bane
rugged echo
#

whar

deep bane
#

Make Code Blocks Dynamic/Not take up all of the chat width if not needed

.codeContainer__1ded4,.shiki-container {
  width:fit-content;
}```
clear siren
#

add .shiki-container to the selector to support shikicodeblocks

deep bane
#

.shiggy-container

solid ore
clear siren
#

works fine with shiki

deep bane
#

no

#

it works fine dude

solid ore
#

oh

clear siren
#

and with shiki it looks like this

deep bane
clear siren
#

it's a setting in the plugin

summer adder
celest ridge
#

this isnt related to vencord but i need css help im going insane

#

why is .content not filling the height of the main

#

@edgy sentinel

#

if ur awake

rapid cairn
#

idk but remove random stuff and try again idk

edgy sentinel
#

wdym?

#

it seems to fill the main

#

oh

#

I didnt see last image lol

celest ridge
#

xdxd

solid ore
edgy sentinel
#

why flex 1 on parent

solid ore
#

i think

celest ridge
#

it should be relative to the parent container

edgy sentinel
#

height percent is relative to the parent

#

nothing to do with content

solid ore
#

oh nvm

#

mb

celest ridge
#

loll its ok

edgy sentinel
celest ridge
#

cus

#

theres a sidebar

#

and its a flex row

#

responsive and stuff ykyk

#

i was using a css grid before but

edgy sentinel
#

tbh that's weird it should work

celest ridge
#

it couldnt do sticky correctly

#

grrr thats okay i guess the text doesnt HAVE to be centered vertically

#

but that sos ad

edgy sentinel
#

uh

#

you can still center vertically

#

just center .content

celest ridge
#

main is from a reusable layout

edgy sentinel
#

oh

celest ridge
#

and .content is from the specific page

edgy sentinel
#

ok

#

m

#

but content really should fill

celest ridge
#

YEA IM GONNA KILL CSS

edgy sentinel
#

why doesn't it

#

try to set min height on content

celest ridge
#

yea i did

#

its actually supposed to be min height not height

edgy sentinel
#

aaiitt

celest ridge
#

i also tried these niche values

edgy sentinel
#

uh

#

can you try changing main from min-height to height

celest ridge
#

oo sure

edgy sentinel
#

ik that's not what you want but just for testing

celest ridge
#

yea

#

doesnt change anything

edgy sentinel
#

can you send minimal repro

celest ridge
#

yess

#

pen.new time

#

thanks mdn

edgy sentinel
#

okay so

celest ridge
#

waot wajt

edgy sentinel
#

but for me its fixed once i change main from min-height to height

#

LOL

celest ridge
#

wait ur right

edgy sentinel
#

okay so this is quirky with css

#

if parent is height: auto then % doesnt work?

celest ridge
#

im stupid it was min height

edgy sentinel
#

but the fix is easy

#

add height: 1px to the parent

celest ridge
#

intereting

edgy sentinel
#
main {
  min-height: 100%;
  height: 1px; /* we love css quirks */
}
#

amazing

#

RESOLVED FIXED Aki_Think

#

i dont think so

#

The percentage is calculated with respect to the height of the generated box's containing block. If the height of the containing block is not specified explicitly (i.e., it depends on content height), and this element is not absolutely positioned, the value computes to 'auto'.

#

you'll have to put flex or smth on the main and use flex grow

#

or do the 1px hack but that might fix it to 100%? and not let it grow further

edgy sentinel
celest ridge
#

ok sorry had to brb

#

i guess i could make main a flex column

#

and if u want normal functionality just put a flex grow div in there

#

yeaa

#

thats so annoying ugh cus now i have to like

#

do it all the way down the tree

#

cus now .content is flex: 1 but .content > .status also cant height: 100%??

edgy sentinel
#

horror

#

wait how did i not have that issue

celest ridge
#

where

edgy sentinel
#

on my website, this is my body

celest ridge
#

wth

edgy sentinel
#

well i dont use height: 100% anywhere

#

interesting

celest ridge
#

why is your body width 100

edgy sentinel
#

i wonder if it would work

edgy sentinel
#

do you mean the ```css
min-height: 100vh;
min-height: -webkit-fill-available;
min-height: stretch;
min-height: fill-available;

#

no

#

its necessary

celest ridge
#

theres new units for that i think

edgy sentinel
#

something relating to the address bar being hidden when u scroll down

celest ridge
#

yea

edgy sentinel
#

so 100vh is not actually the entire height sometimes

#

fill-available is what you need

celest ridge
#

yea

#

svh, lvh, dvh

edgy sentinel
#

are those supported yet

celest ridge
#

i think so

#

firefox for android and samsung internet both

#

crazy

edgy sentinel
#

so dvh is what i need?

celest ridge
#

yea i think so its like

#

yea

edgy sentinel
#

mm i will have to try that

#

but that means it might resize everything during scroll lmao

celest ridge
#

banger units

#

maybe

#

i think when dvh changes its not actuall scrolling

edgy sentinel
#

this is so hot

edgy sentinel
celest ridge
#

wtf thats so WEIRD

edgy sentinel
#

most android browsers when u scroll down will hide the address bar

#

when u scroll up it shows address bar again

celest ridge
#

no yea but i mean like

#

the scrollTop wouldnt actualyl change til

#

dvh hits either svh or lvh

#

i THINK

#

yea i just tested

#

atleast on chrome

edgy sentinel
#

anyway yep 100dvh does what i want as well

celest ridge
#

fire

vestal field
#

would height: 100% on every element not work?

#

i remember doing that on a site i made

deft niche
#

Is there a way i can hide all these tooltips on everything? i might have asked this before but i kinda forgot about it

clear siren
#

yes

#

take your pick

deft niche
#

Oh wtf its that simple? bruhcat