docs: change colors for syntax highlight and function jump highlight

pull/260/head
sammyette 2023-09-02 14:30:31 -04:00
parent aa7e899db4
commit 22cf0fcb49
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
/* Background */ .bg { background-color: #ffffff; } /* Background */ .bg { background-color: #edfdff; }
/* PreWrapper */ .chroma { background-color: #ffffff; } /* PreWrapper */ .chroma { background-color: #edfdff; }
/* Other */ .chroma .x { } /* Other */ .chroma .x { }
/* Error */ .chroma .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .chroma .err { color: #a61717; background-color: #e3d2d2 }
/* CodeLine */ .chroma .cl { } /* CodeLine */ .chroma .cl { }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } /* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } /* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #ffffcc } /* LineHighlight */ .chroma .hl { background-color: #edfdff }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } /* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } /* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* Line */ .chroma .line { display: flex; } /* Line */ .chroma .line { display: flex; }

View File

@ -43,7 +43,7 @@
background: none background: none
} }
50% { 50% {
background: yellow; background: #fff2cf;
} }
100% { 100% {
background: none; background: none;
@ -51,7 +51,7 @@
} }
div:target { div:target {
animation: highlight 1s; animation: highlight 1.2s;
animation-timing-function: cubic-bezier(1,-0.02,.45,.89); animation-timing-function: cubic-bezier(1,-0.02,.45,.89);
} }