docs: simplify repository links

This commit is contained in:
KenanZhu committed 2026-11-04 12:43:48 +08:00
1 parent 877bf7ef3e
commit 4bc16feae4
5 files changed
+9 -27

No files matched your search

+2 -11
View File
@@ -12,8 +12,7 @@ header .text-lg {
font-size: 1rem;
}
/* Repository marks for the footer's text links */
#footer a[href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"]::before,
/* GitLab logo for the manual repository link */
#footer a[href="https://gitlab.com/KenanZhu/AutoLibraryManuals"]::before {
content: "";
display: inline-block;
@@ -21,13 +20,5 @@ header .text-lg {
height: 1rem;
margin-inline-end: 0.375rem;
vertical-align: -0.2em;
background: var(--repository-icon) center / contain no-repeat;
}
#footer a[href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"] {
--repository-icon: url("/images/repositories/gitea.svg");
}
#footer a[href="https://gitlab.com/KenanZhu/AutoLibraryManuals"] {
--repository-icon: url("/images/repositories/gitlab.svg");
background: url("/images/repositories/gitlab.svg") center / contain no-repeat;
}