Skip to content

Commit

Permalink
Manual: Improve style of modified code listings. (mrdoob#23142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Jan 4, 2022
1 parent f87682a commit ab456bb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions manual/resources/lang.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,23 @@ pre.prettyprint ul.modifiedlines li.linedeleted {
background-color: #ffebe9;
}

pre.prettyprint ul.modifiedlines li.linedeleted:before {
content: '-';
background-color: #ffebe9;
padding-right: 8px;
}

pre.prettyprint ul.modifiedlines li.lineadded {
list-style-type: none;
background-color: #e6ffec;
}

pre.prettyprint ul.modifiedlines li.lineadded:before {
content: '+';
background-color: #e6ffec;
padding-right: 8px;
}

pre.prettyprint, code.prettyprint, .dos {
background: #f5f5f5;
font-family: 'Roboto Mono', monospace;
Expand Down Expand Up @@ -70,10 +82,18 @@ pre.prettyprint, code.prettyprint, .dos {
background-color: #412e32;
}

pre.prettyprint ul.modifiedlines li.linedeleted:before {
background-color: #412e32;
}

pre.prettyprint ul.modifiedlines li.lineadded {
background-color: #293832;
}

pre.prettyprint ul.modifiedlines li.lineadded:before {
background-color: #293832;
}

pre.prettyprint, code.prettyprint, .dos {
background: #333333;
}
Expand Down

0 comments on commit ab456bb

Please sign in to comment.