diff --git a/src/css/custom.css b/src/css/custom.css index 119b0659..67fa2cf0 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -29,7 +29,7 @@ html { --ifm-color-primary-light: #17c5a2; --ifm-color-primary-lighter: #2edfbb; - --ifm-color-primary-lightest: #51f1d1; + --ifm-color-primary-lightest: #AEFDED; --ifm-toc-background-color: #141722; --ifm-code-font-size: 95%; @@ -56,7 +56,7 @@ html[data-theme="dark"] { --ifm-table-stripe-background: #101418; /* section 1 */ --ifm-toc-background-color: #242D37; /* section 2 */ --ifm-link-color: #6AD6C0; /* specific link color */ - --ifm-link-hover-color: #8CE5D3 /* specific link hover color */ + --ifm-link-hover-color: #AEFDED; /* specific link hover color */ --ifm-font-color-base: #E5E5E5 /* body text */ } @@ -73,6 +73,10 @@ a { text-underline-offset: 4px; } +html[data-theme="dark"] a:hover { + color: var(--ifm-color-primary-lightest); +} + .align-center { text-align: center; margin: auto; @@ -470,6 +474,9 @@ html[data-theme="dark"] .table-of-contents { html[data-theme="dark"] a.table-of-contents__link--active { color: var(--ifm-link-color); } +html[data-theme="dark"] .table-of-contents a:hover { + color: var(--ifm-color-primary-lightest); +} .table-of-contents__left-border { border:none; } @@ -727,9 +734,16 @@ html[data-theme="light"] .icon { html[data-theme="light"] h2 { color: #0b2471; } +html[data-theme="light"] h2 a.hash-link { + color: #0b2471; +} + html[data-theme="dark"] h2 { color: #A8C5E6; } +html[data-theme="dark"] h2 a.hash-link { + color: #A8C5E6; +} /*