mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
Merge pull request #668 from NixOS/yuki_is_bored/diff
Add styles for diffs
This commit is contained in:
commit
9c2ed679d8
|
@ -42,6 +42,28 @@ div.highlight:hover > pre::before {
|
|||
opacity: 0;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .highlight .gi {
|
||||
background-color: #ccffcc;
|
||||
border: 1px solid #ccffcc;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .highlight .gd {
|
||||
background-color: #ffcccc;
|
||||
border: 1px solid #ffcccc;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .highlight .gi {
|
||||
background-color: #005400;
|
||||
border: 1px solid #005400;
|
||||
}
|
||||
|
||||
html[data-theme="dark"] .highlight .gd {
|
||||
background-color: #540000;
|
||||
border: 1px solid #540000;
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.topic {
|
||||
padding: 30px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue