1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

css: add more styles and fix ordered list spacing

This commit is contained in:
RGBCube 2025-06-09 14:53:44 +03:00
parent fad1a04631
commit 7f08bc8f86
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -136,7 +136,7 @@ body {
* { * {
@apply wrap-break-word text-pretty; @apply wrap-break-word text-pretty;
&:not(ol, ul) { &:not(ul) {
@apply space-y-3; @apply space-y-3;
} }
} }
@ -249,6 +249,10 @@ body {
ol { ol {
& li { & li {
counter-increment: item; counter-increment: item;
> * {
@apply inline;
}
} }
& li::before { & li::before {
@ -280,6 +284,12 @@ body {
dark:bg-[#111] dark:shadow-[4px_4px_#bbb]; dark:bg-[#111] dark:shadow-[4px_4px_#bbb];
} }
.token-addition {
@apply text-[green] dark:text-[mediumspringgreen];
}
.token-deletion {
@apply text-[maroon] dark:text-[crimson];
}
.token-attr { .token-attr {
@apply text-[darkblue] dark:text-[lightblue]; @apply text-[darkblue] dark:text-[lightblue];
} }
@ -292,6 +302,9 @@ body {
.token-keyword { .token-keyword {
@apply text-[darkred] dark:text-[firebrick]; @apply text-[darkred] dark:text-[firebrick];
} }
.token-meta {
@apply text-[darkmagenta] dark:text-[orchid];
}
.token-number { .token-number {
@apply text-[darkslateblue] dark:text-[mediumslateblue]; @apply text-[darkslateblue] dark:text-[mediumslateblue];
} }