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

fix lighthouse suggestions: syntax color contrast & crossorigin preloads

This commit is contained in:
2020-03-30 16:46:59 -04:00
parent fa018564e5
commit 0ee3efdbbe
6 changed files with 23 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ body {
width: 100%;
height: 100%;
margin: 0 auto;
background-color: $color-gray-background; // really just the color of header & footer
background-color: $color-super-duper-light; // really just the color of header & footer
color: $color-text;
font-family: $webfont-sans;
font-kerning: normal;
@@ -54,7 +54,7 @@ hr {
// all code
code {
font-family: $webfont-mono;
background: $color-super-light;
background: $color-super-duper-light;
font-size: 0.95em;
letter-spacing: 0;
page-break-inside: avoid;
@@ -66,7 +66,7 @@ code {
// code fences
div.highlight {
background: $color-super-light;
background: $color-super-duper-light;
border: 1px solid $color-light;
border-left: 3px solid $color-links;
line-height: 1.6;

View File

@@ -9,7 +9,7 @@ div.highlight span {
color: #111111;
}
&.na, &.nc, &.nd, &.ne, &.nf, &.nx {
color: #489c44;
color: #068200;
}
&.err, &.nt, &.o, &.ow, &.kn {
color: #e8003d;
@@ -18,7 +18,7 @@ div.highlight span {
color: #8145ec;
}
&.ld, &.s, &.sa, &.sb, &.sc, &.dl, &.sd, &.s2, &.sh, &.si, &.sx, &.sr, &.s1, &.ss {
color: #c17005;
color: #b35c00;
}
&.c, &.ch, &.cm, &.c1, &.cs, &.cp, &.cpf {
color: #6b6859;