docs: add GitLab and Gitea logos

This commit is contained in:
KenanZhu committed 2026-11-04 12:37:21 +08:00
1 parent b3ce024a91
commit 877bf7ef3e
6 files changed
+41 -5

No files matched your search

+20
View File
@@ -11,3 +11,23 @@ img[src*="favicon"] {
header .text-lg {
font-size: 1rem;
}
/* Repository marks for the footer's text links */
#footer a[href="https://gitea.kenanzhu.com/AutoLibrary/AutoLibrary"]::before,
#footer a[href="https://gitlab.com/KenanZhu/AutoLibraryManuals"]::before {
content: "";
display: inline-block;
width: 1rem;
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");
}