website: change nav links

This commit is contained in:
Yangshun
2023-05-16 18:39:05 +08:00
parent 5194d78486
commit b4bb08d8ee
3 changed files with 31 additions and 19 deletions

View File

@@ -136,7 +136,7 @@ div[class^='announcementBar_'] {
.theme-doc-markdown details {
--ifm-alert-background-color: transparent;
border: 1px solid var(--ifm-color-primary);
border: 1px solid var(--ifm-color-emphasis-800);
}
.theme-doc-markdown details h2,
@@ -171,3 +171,17 @@ div[class^='announcementBar_'] {
.admonition-heading h5 {
margin-top: 0;
}
.shoutout {
background-color: var(--ifm-color-primary);
border-radius: 0.5rem;
color: #fff;
display: block;
font-size: 14px;
padding: 0.75rem;
}
.shoutout:hover {
text-decoration: none;
color: #fff;
}