Files
Manuals/custom.css
T

34 lines
941 B
CSS

/* Scale up logo rendering */
img[alt*="logo" i],
img[src*="logo"],
img[src*="favicon"] {
max-height: 72px !important;
height: auto !important;
width: auto !important;
}
/* Page description (frontmatter) - match body text size */
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");
}