Created
October 27, 2017 09:23
-
-
Save kormat/8bddad9d7845b059191cd4094db78746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* From https://rawgit.com/pkaminski/2922da3d58f76a8ed7bf/raw/highlight_lines_in_two_columns.css */ | |
.two.column.diff .diff.line:not(.keep) .line.wrapper:not(.empty) .left.line.content { | |
background-color: #FBDDDD; /* rgba(91, 220, 114, 0.20) on white */ | |
} | |
.two.column.diff .diff.line.base:not(.keep) .line.wrapper:not(.empty) .left.line.content, | |
.two.column.diff .diff.line.whitespace:not(.keep) .line.wrapper:not(.empty) .left.line.content { | |
background-color: #FFF7F7; /* rgba(91, 220, 114, 0.05) on white */ | |
} | |
.two.column.diff .diff.line:not(.keep) .line.wrapper:not(.empty) .right.line.content { | |
background-color: #DDF7E2; /* rgba(91, 220, 114, 0.20) on white */ | |
} | |
.two.column.diff .diff.line.base:not(.keep) .line.wrapper:not(.empty) .right.line.content, | |
.two.column.diff .diff.line.whitespace:not(.keep) .line.wrapper:not(.empty) .right.line.content { | |
background-color: #EFFCF1; /* rgba(91, 220, 114, 0.05) on white */ | |
} | |
.two.column.diff .diff.line .left.line.content .delta { | |
background-color: rgba(240, 92, 92, 0.30); | |
} | |
.two.column.diff .diff.line.base .left.line.content .delta, | |
.two.column.diff .diff.line.whitespace .left.line.content .delta { | |
background-color: rgba(240, 92, 92, 0.15); | |
} | |
.two.column.diff .diff.line .right.line.content .delta { | |
background-color: rgba(91, 220, 114, 0.30); | |
} | |
.two.column.diff .diff.line.base .right.line.content .delta, | |
.two.column.diff .diff.line.whitespace .right.line.content .delta { | |
background-color: rgba(91, 220, 114, 0.15); | |
} | |
/* From https://github.com/Reviewable/Reviewable/wiki/FAQ#can-i-customize-how-the-source-code-is-displayed */ | |
.tab, .no-newline, .trailing { | |
color: #D95C5C; | |
} | |
.tab:before { | |
content: "\00bb\00a0\00a0\00a0"; | |
} | |
.no-newline:before { | |
content: "\00a0\20e0\23ce"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment