Adjust heading colours

This commit is contained in:
Helen Chong 2024-06-22 13:01:45 +08:00
parent ac085c0536
commit 885b9adc0b
1 changed files with 16 additions and 2 deletions

View File

@ -24,6 +24,7 @@
--clr-body-txt: #fceaff; --clr-body-txt: #fceaff;
--clr-content-bg: #3d2163; --clr-content-bg: #3d2163;
--clr-pinned-bg: #13092D; --clr-pinned-bg: #13092D;
--clr-sub-heading: #e8b86f;
--clr-code-bg: #241445; --clr-code-bg: #241445;
--clr-highlight: #6736ad; --clr-highlight: #6736ad;
--clr-border-main: #c6ccc8; --clr-border-main: #c6ccc8;
@ -74,6 +75,12 @@ h1 {
margin: 1em 0em; margin: 1em 0em;
padding: 0em; padding: 0em;
} }
h1 > a, h1 > a:visited {
color: var(--clr-body-txt);
}
h2, h3, h4, h5, h6 {
color: var(--clr-sub-heading);
}
h2 { h2 {
font-size: 1.5em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
@ -271,6 +278,13 @@ ul.sidebar > li {
text-align: start; text-align: start;
font-size: 0.75em; font-size: 0.75em;
} }
ul.sidebar > li > a {
color: var(--clr-body-txt);
}
ul.sidebar > li > a:hover,
ul.sidebar > li > a:focus {
color: var(--clr-link-hover);
}
ul.archive { ul.archive {
list-style: none; list-style: none;
display: grid; display: grid;
@ -640,7 +654,7 @@ article.audio audio {
} }
a:link, a:link,
a:visited { a:visited {
color: var(--clr-body-txt); color: var(--clr-link);
text-decoration: none; text-decoration: none;
} }
a:hover, a:hover,
@ -940,4 +954,4 @@ div.standalone > *:last-child {
ul.navigation { ul.navigation {
background-color: var(--clr-body-bg); background-color: var(--clr-body-bg);
} }
} }