mirror of
https://gitlab.com/KenanZhu/AutoLibraryManuals.git
synced 2026-11-05 05:35:51 +08:00
docs: simplify repository links
This commit is contained in:
1 parent
877bf7ef3e
commit
4bc16feae4
5 files changed
+9
-27
No files matched your search
+2
-11
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user