-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
95 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/* | ||
@copyright Copyright (C) 2012 - 2014 Open Source Matters, Inc. All rights reserved. | ||
@license GNU General Public License version 2 or later; see LICENSE.txt | ||
This CSS provides code highlighting with GitHub styles | ||
*/ | ||
|
||
.Differences { | ||
width: 100%; | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
empty-cells: show; | ||
} | ||
|
||
.Differences thead th { | ||
text-align: left; | ||
border-bottom: 1px solid #000; | ||
background: #aaa; | ||
color: #000; | ||
padding: 4px; | ||
} | ||
.Differences tbody th { | ||
text-align: right; | ||
background: #ccc; | ||
width: 4em; | ||
padding: 1px 2px; | ||
border-right: 1px solid #000; | ||
vertical-align: top; | ||
font-size: 13px; | ||
} | ||
|
||
.Differences td { | ||
padding: 1px 2px; | ||
font-family: Consolas, monospace; | ||
font-size: 13px; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeInsert td.Left { | ||
background: #dfd; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeInsert td.Right { | ||
background: #cfc; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeDelete td.Left { | ||
background: #f88; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeDelete td.Right { | ||
background: #faa; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeReplace .Left { | ||
background: #fe9; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeReplace .Right { | ||
background: #fd8; | ||
} | ||
|
||
.Differences ins, .Differences del { | ||
text-decoration: none; | ||
} | ||
|
||
.DifferencesSideBySide .ChangeReplace ins, .DifferencesSideBySide .ChangeReplace del { | ||
background: #fc0; | ||
} | ||
|
||
.Differences .Skipped { | ||
background: #f7f7f7; | ||
} | ||
|
||
.DifferencesInline .ChangeReplace .Left, | ||
.DifferencesInline .ChangeDelete .Left { | ||
background: #fdd; | ||
} | ||
|
||
.DifferencesInline .ChangeReplace .Right, | ||
.DifferencesInline .ChangeInsert .Right { | ||
background: #dfd; | ||
} | ||
|
||
.DifferencesInline .ChangeReplace ins { | ||
background: #9e9; | ||
} | ||
|
||
.DifferencesInline .ChangeReplace del { | ||
background: #e99; | ||
} | ||
|
||
pre { | ||
width: 100%; | ||
overflow: auto; | ||
} |