1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-02 14:07:47 +00:00

site: footers

This commit is contained in:
RGBCube 2025-06-05 04:23:04 +03:00
parent 20d8fd6830
commit 031900c8c2
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
5 changed files with 73 additions and 5 deletions

View file

@ -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];
}