Color links in headers

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2023-04-03 23:00:25 +02:00
parent 4b565ad8d9
commit cae05092e7
2 changed files with 24 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@ $theme-article-heading-h3-background: transparent;
$theme-article-heading-h4-background: transparent; $theme-article-heading-h4-background: transparent;
$theme-article-heading-h5-background: transparent; $theme-article-heading-h5-background: transparent;
$theme-article-heading-h6-background: transparent; $theme-article-heading-h6-background: transparent;
$theme-article-heading-link-color: hsl($theme-hue, 100%, 75%);
$theme-article-heading-link-color-active: hsl($theme-hue, 100%, 90%);
$theme-article-table-head-background: hsl($theme-hue, 75%, 25%); $theme-article-table-head-background: hsl($theme-hue, 75%, 25%);
$theme-article-table-body-background: hsl($theme-hue, 60%, 15%); $theme-article-table-body-background: hsl($theme-hue, 60%, 15%);
$theme-article-table-body-background-alt: hsl($theme-hue, 60%, 12.5%); $theme-article-table-body-background-alt: hsl($theme-hue, 60%, 12.5%);
+22 -1
View File
@@ -32,7 +32,28 @@ h3.block > a,
h4.block > a, h4.block > a,
h5.block > a, h5.block > a,
h6.block > a { h6.block > a {
color: inherit !important; color: $theme-article-heading-link-color;
}
h1.block > a:active,
h2.block > a:active,
h3.block > a:active,
h4.block > a:active,
h5.block > a:active,
h6.block > a:active,
h1.block > a:focus,
h2.block > a:focus,
h3.block > a:focus,
h4.block > a:focus,
h5.block > a:focus,
h6.block > a:focus,
h1.block > a:hover,
h2.block > a:hover,
h3.block > a:hover,
h4.block > a:hover,
h5.block > a:hover,
h6.block > a:hover {
color: $theme-article-heading-link-color-active;
} }
h1.block { h1.block {