1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-30 12:37:50 +00:00

css: comment out broken styles for now

This commit is contained in:
RGBCube 2025-07-11 23:31:22 +03:00
parent 07e9881fe7
commit 6f112dd0cd
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -199,7 +199,8 @@ body {
@apply wrap-anywhere; @apply wrap-anywhere;
} }
&:not(:has(> code:only-child), :has(> img)) { /* See next FIXME */
&:not(/* :has(> code:only-child), */ :has(> img)) {
@apply px-1; @apply px-1;
&:not(.font-mono) { &:not(.font-mono) {
@ -211,9 +212,10 @@ body {
@apply inline wrap-anywhere text-[red] dark:text-[yellow] border-2 @apply inline wrap-anywhere text-[red] dark:text-[yellow] border-2
border-[transparent] border-dashed; border-[transparent] border-dashed;
&:has(> code:only-child) { /* FIXME: :only-child still triggers when there is sibling raw content: <a>foo bar: <code>this is an only child</code></a> */
@apply border-dotted; /* &:has(> code:only-child) { */
} /* @apply border-dotted; */
/* } */
&:hover { &:hover {
@apply border-[red] dark:border-[yellow]; @apply border-[red] dark:border-[yellow];
@ -258,10 +260,11 @@ body {
code:not(pre > code) { code:not(pre > code) {
@apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white; @apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white;
a:is(:hover, :active) /* TODO: :only-child selector doesn't have effect. */ /* See previous FIXME */
&:not(:where(h1, h2, h3, h4, h5, h6) code):only-child { /* a:is(:hover, :active) */
@apply border-transparent; /* &:not(:where(h1, h2, h3, h4, h5, h6) code):only-child { */
} /* @apply border-transparent; */
/* } */
} }
pre code, pre code * { pre code, pre code * {