mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
Merge branch 'main' into grad
This commit is contained in:
commit
371dfcfa4b
2 changed files with 8 additions and 27 deletions
|
@ -42,7 +42,7 @@
|
||||||
@apply text-xl font-medium mt-8 text-accent-light dark:text-accent-dark;
|
@apply text-xl font-medium mt-8 text-accent-light dark:text-accent-dark;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
@apply leading-loose sm:leading-[2] my-4 overflow-x-auto sm:text-lg;
|
@apply leading-loose sm:leading-[2] my-4 overflow-x-auto sm:text-lg font-light;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
@apply mx-auto my-6 rounded-lg;
|
@apply mx-auto my-6 rounded-lg;
|
||||||
|
@ -52,39 +52,20 @@
|
||||||
}
|
}
|
||||||
ol,
|
ol,
|
||||||
ul {
|
ul {
|
||||||
@apply list-inside leading-loose;
|
@apply list-inside leading-loose sm:leading-[2] sm:text-lg font-light;
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
@apply list-disc ml-2;
|
@apply list-disc;
|
||||||
}
|
}
|
||||||
ol {
|
ol {
|
||||||
counter-reset: item;
|
@apply list-decimal;
|
||||||
}
|
|
||||||
|
|
||||||
ol li {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol li:before {
|
|
||||||
content: counters(item, ".") ". ";
|
|
||||||
counter-increment: item;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ol ol {
|
ol ol {
|
||||||
li {
|
@apply list-disc ml-4;
|
||||||
@apply ml-2;
|
|
||||||
}
|
|
||||||
counter-reset: subitem;
|
|
||||||
}
|
}
|
||||||
|
ol ol ol {
|
||||||
ol ol li:before {
|
@apply list-["-"] ml-4;
|
||||||
@apply ml-4;
|
|
||||||
content: counter(item, upper-alpha) ". ";
|
|
||||||
counter-increment: subitem;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol ol ol li:before {
|
|
||||||
content: counter(subitem, lower-roman) ". ";
|
|
||||||
}
|
}
|
||||||
li {
|
li {
|
||||||
@apply my-1;
|
@apply my-1;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue