mirror of
https://github.com/RGBCube/Site
synced 2025-07-30 12:37:50 +00:00
css: add more styles and fix ordered list spacing
This commit is contained in:
parent
fad1a04631
commit
7f08bc8f86
1 changed files with 14 additions and 1 deletions
|
@ -136,7 +136,7 @@ body {
|
|||
* {
|
||||
@apply wrap-break-word text-pretty;
|
||||
|
||||
&:not(ol, ul) {
|
||||
&:not(ul) {
|
||||
@apply space-y-3;
|
||||
}
|
||||
}
|
||||
|
@ -249,6 +249,10 @@ body {
|
|||
ol {
|
||||
& li {
|
||||
counter-increment: item;
|
||||
|
||||
> * {
|
||||
@apply inline;
|
||||
}
|
||||
}
|
||||
|
||||
& li::before {
|
||||
|
@ -280,6 +284,12 @@ body {
|
|||
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 {
|
||||
@apply text-[darkblue] dark:text-[lightblue];
|
||||
}
|
||||
|
@ -292,6 +302,9 @@ body {
|
|||
.token-keyword {
|
||||
@apply text-[darkred] dark:text-[firebrick];
|
||||
}
|
||||
.token-meta {
|
||||
@apply text-[darkmagenta] dark:text-[orchid];
|
||||
}
|
||||
.token-number {
|
||||
@apply text-[darkslateblue] dark:text-[mediumslateblue];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue