mirror of
https://github.com/RGBCube/Site
synced 2025-08-02 14:07:47 +00:00
site: footers
This commit is contained in:
parent
20d8fd6830
commit
031900c8c2
5 changed files with 73 additions and 5 deletions
|
@ -246,15 +246,27 @@ html, body {
|
|||
dark:bg-[#111];
|
||||
}
|
||||
|
||||
ol {
|
||||
& li {
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
& li::before {
|
||||
@apply pr-1;
|
||||
|
||||
content: "[" counter(item) "]";
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
@apply relative pl-4;
|
||||
|
||||
&::before {
|
||||
ul &::before {
|
||||
@apply content-[""] absolute left-0 size-2 top-1/2 -translate-y-1/3
|
||||
rotate-45 border-t-2 border-r-2 border-black dark:border-white;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
ul &:hover {
|
||||
&::before {
|
||||
@apply size-4 -translate-x-2/3 border-[red] dark:border-[yellow];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue