mirror of
https://gitlab.com/KenanZhu/AutoLibraryManuals.git
synced 2026-11-05 05:35:51 +08:00
docs: add GitLab and Gitea logos
This commit is contained in:
1 parent
b3ce024a91
commit
877bf7ef3e
6 files changed
+41
-5
No files matched your search
+20
@@ -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");
|
||||
}
|
||||
Reference in new issue
Block a user