1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-29 20:17:46 +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;
}
&:not(:has(> code:only-child), :has(> img)) {
/* See next FIXME */
&:not(/* :has(> code:only-child), */ :has(> img)) {
@apply px-1;
&:not(.font-mono) {
@ -211,9 +212,10 @@ body {
@apply inline wrap-anywhere text-[red] dark:text-[yellow] border-2
border-[transparent] border-dashed;
&:has(> code:only-child) {
@apply border-dotted;
}
/* FIXME: :only-child still triggers when there is sibling raw content: <a>foo bar: <code>this is an only child</code></a> */
/* &:has(> code:only-child) { */
/* @apply border-dotted; */
/* } */
&:hover {
@apply border-[red] dark:border-[yellow];
@ -258,10 +260,11 @@ body {
code:not(pre > code) {
@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. */
&:not(:where(h1, h2, h3, h4, h5, h6) code):only-child {
@apply border-transparent;
}
/* See previous FIXME */
/* a:is(:hover, :active) */
/* &:not(:where(h1, h2, h3, h4, h5, h6) code):only-child { */
/* @apply border-transparent; */
/* } */
}
pre code, pre code * {