1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-15 05:25:33 -04:00

match color of syntax in links

This commit is contained in:
2021-10-06 10:40:43 -04:00
parent d710e0e5ff
commit b7e38b2e96
3 changed files with 142 additions and 147 deletions

View File

@@ -21,7 +21,6 @@ code {
border: 0 !important;
margin: 0 0.075em !important;
padding: 0 !important;
color: inherit !important;
}
h1.title code {
font-weight: 600;
@@ -123,7 +122,6 @@ body.light {
div.highlight,
button.copy-button,
:not(pre) > code {
color: #313131;
background-color: #fbfbfb;
border-color: #d5d5d5;
@@ -131,6 +129,11 @@ body.light {
transition: color 0.15s linear, background-color 0.15s linear, border-color 0.15s linear;
}
div.highlight,
button.copy-button {
color: #313131;
}
.chroma {
.k,
.kc,
@@ -202,7 +205,6 @@ body.dark {
div.highlight,
button.copy-button,
:not(pre) > code {
color: #e4e4e4;
background-color: #252525;
border-color: #535353;
@@ -210,6 +212,11 @@ body.dark {
transition: color 0.15s linear, background-color 0.15s linear, border-color 0.15s linear;
}
div.highlight,
button.copy-button {
color: #e4e4e4;
}
.chroma {
.k,
.kc,