design modifications ()

This commit is contained in:
pollfly 2023-01-08 14:58:57 +02:00 committed by GitHub
parent 53113bdb7d
commit 0250ad2736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ html[data-theme="dark"] {
--ifm-footer-link-hover-color: #14aa8c; --ifm-footer-link-hover-color: #14aa8c;
--ifm-dropdown-background-color: #2c3246; --ifm-dropdown-background-color: #2c3246;
--ifm-table-stripe-background: #141722; --ifm-table-stripe-background: #141722;
--ifm-link-color: var(--ifm-color-primary); --ifm-link-color: var(--ifm-color-primary-light);
} }
@media (min-width: 1400px) { @media (min-width: 1400px) {
@ -61,6 +61,13 @@ html[data-theme="dark"] {
} }
/* ===LAYOUT=== */ /* ===LAYOUT=== */
a {
text-underline-offset: 4px;
}
html[data-theme="dark"] a:hover {
color: var(--ifm-color-primary-lightest);
}
.max-w-75 { .max-w-75 {
max-width: 75%; max-width: 75%;
@ -333,22 +340,23 @@ html[data-theme="light"] [class^="sidebarLogo"] > img {
.menu__list { .menu__list {
font-size: 0.875rem; font-size: 0.875rem;
} }
.menu__link {
color: var(--ifm-link-color);
}
.menu__link:hover {
color: var(--ifm-link-color);
}
.menu__link--sublist:after { .menu__link--sublist:after {
background-size: 1.25rem; background-size: 1.25rem;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
html[data-theme="light"] .menu__link--active {color: var(--ifm-link-color);}
html[data-theme="dark"] .menu__link--active {color: var(--ifm-link-color);}
.navbar-sidebar .navbar-sidebar__back {color: var(--ifm-link-color);} .navbar-sidebar .navbar-sidebar__back {color: var(--ifm-link-color);}
html[data-theme="dark"] .menu__link--active {
color: var(--ifm-color-primary-lighter);
}
html[data-theme="light"] .menu__link:not(.menu__link--active) {
color: #606a78;
}
/* ===NAV-SIDEBAR=== */ /* ===NAV-SIDEBAR=== */
html[data-theme="light"] .navbar-sidebar { html[data-theme="light"] .navbar-sidebar {
background-color: white; background-color: white;
@ -431,6 +439,9 @@ html[data-theme="dark"] .table-of-contents {
background-color: var(--ifm-toc-background-color); background-color: var(--ifm-toc-background-color);
box-shadow: 0 0 0 2px rgba(0,0,0,0.4) inset; box-shadow: 0 0 0 2px rgba(0,0,0,0.4) inset;
} }
html[data-theme="dark"] a.table-of-contents__link--active {
color: var(--ifm-color-primary-light);
}
.table-of-contents__left-border { .table-of-contents__left-border {
border:none; border:none;
} }
@ -528,6 +539,11 @@ html[data-theme="light"] .footer__link-item[href*="stackoverflow"] {
} }
html[data-theme="dark"] .footer__link-item:hover {
color: var(--ifm-color-primary-lighter);
}
/* ===MARKDOWN=== */ /* ===MARKDOWN=== */
.markdown img.medium-zoom-image[src*="png"], .markdown img.medium-zoom-image[src*="png"],
.markdown img.medium-zoom-image[src*="gif"] { .markdown img.medium-zoom-image[src*="gif"] {