Update css to support diff syntax highlighting. (#943)

This adds the rules to highlight diff lines with highlight.js.
This commit is contained in:
Eric Huss 2019-06-12 07:59:55 -07:00 committed by Dylan DPC
parent 4386a10e87
commit 0c2292b9aa
3 changed files with 26 additions and 0 deletions

View File

@ -69,3 +69,11 @@ Original by Dempfi (https://github.com/dempfi/ayu)
.hljs-strong { .hljs-strong {
font-weight: bold; font-weight: bold;
} }
.hljs-addition {
color: #91b362;
}
.hljs-deletion {
color: #d96c75;
}

View File

@ -67,3 +67,13 @@
.hljs-strong { .hljs-strong {
font-weight: bold; font-weight: bold;
} }
.hljs-addition {
color: #22863a;
background-color: #f0fff4;
}
.hljs-deletion {
color: #b31d28;
background-color: #ffeef0;
}

View File

@ -94,3 +94,11 @@
.xml .hljs-cdata { .xml .hljs-cdata {
opacity: 0.5; opacity: 0.5;
} }
.hljs-addition {
color: #718c00;
}
.hljs-deletion {
color: #c82829;
}