-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgithub-compact-style.user.styl
61 lines (56 loc) · 1.44 KB
/
github-compact-style.user.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* ==UserStyle==
@name Github Compact
@namespace github.com/Kleptine/github-compact-style
@version 1.0.0
@description Compact theme for github prs.
@author John Austin
@homepageURL https://github.com/Kleptine/github-compact-style
@supportURL https://github.com/Kleptine/github-compact-style/issues
@updateURL https://raw.githubusercontent.com/Kleptine/github-compact-style/master/github-compact-style.user.styl
==/UserStyle== */
@-moz-document regexp("https://github.com/.*/compare/.*"), regexp("https://github.com/.*/pull/.*/files.*") {
.diff-table tbody tr td {
line-height: 7px;
}
.diff-table tbody tr td.empty-cell {
background-color: #EEE !important;
}
.diff-table tbody tr td.blob-num-addition {
background-color: #fff !important;
}
.diff-table tbody tr td.blob-code-hunk {
background-color: #eae8e8 !important;
border: solid white;
box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
}
.diff-table tbody tr td button {
height: unset;
line-height: inherit;
}
.file-header {
margin: 0;
padding: 0;
}
.file:not(open) {
border: none;
border-bottom: 1px solid #9b9b9b;
margin-bottom: 0 !important;
}
.file-info {
line-height: inherit;
}
.diffstat {
display: inline-block;
width: 110px;
}
.diffstat-block-added,
.diffstat-block-neutral,
.diffstat-block-deleted {
float: right;
margin-top: 7px;
padding-bottom: 5px;
}
table.diff-table {
border-spacing: 1px 1px;
}
}