Skip to content
This repository was archived by the owner on Apr 12, 2020. It is now read-only.

Commit 6cf90f1

Browse files
author
alexandresalome
committed
add blame css
1 parent 7d4e3ac commit 6cf90f1

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

Resources/public/css/all.css

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,43 @@ span.git-author {
131131
line-height: 1.8em;
132132
}
133133

134+
/** Blame **/
135+
.blame {
136+
width: 100%;
137+
}
138+
139+
-$blameBorder: #cfcfcf
140+
-$blameInfoBg: #f8f8f8
141+
-$blameLineNumberBg: #efefef
142+
-$blameLineNumberFg: #444444
143+
144+
.blame td.information {
145+
width: 200px;
146+
font-size: 12px;
147+
background-color: #efefef;
148+
}
149+
150+
.blame td.information span.author {
151+
font-weight: bold;
152+
}
153+
154+
.blame td.information, .blame .information-border {
155+
border-top: 1px solid #cfcfcf;
156+
}
157+
158+
.blame td.line-number {
159+
width: 50px;
160+
color: #444444;
161+
background-color: #efefef;
162+
padding: 0 0.3em 0 0.6em;
163+
164+
.blame td.line-content pre {
165+
border: 0
166+
padding: 0
167+
margin: 0
168+
background: none
169+
}
170+
134171
/** References **/
135172

136173
.ref {
@@ -153,4 +190,3 @@ span.git-author {
153190
background-color: black;
154191
color: white;
155192
}
156-

0 commit comments

Comments
 (0)