darkmode scripts

This commit is contained in:
Jacky Zhao
2023-06-06 19:48:37 -07:00
parent 89e0311a98
commit 4d3579ca98
13 changed files with 145 additions and 15 deletions

View File

@ -24,7 +24,7 @@ body {
border-radius: 5px;
}
p, ul, text, a, tr, td, li, ol, ul {
p, ul, text, a, tr, td, li, ol, ul, .katex {
color: var(--darkgray);
fill: var(--darkgray);
}
@ -67,7 +67,7 @@ a {
}
blockquote {
margin-left: 0;
margin: 1rem 0;
border-left: 3px solid var(--secondary);
padding-left: 1rem;
transition: border-color 0.2s ease;
@ -134,7 +134,7 @@ pre {
& > code {
background: none;
padding: 0;
font-size: 0.9rem;
font-size: 0.85rem;
counter-reset: line;
counter-increment: line 0;
display: grid;