Skip to content

Instantly share code, notes, and snippets.

@muhqu
Created August 26, 2013 19:25
/* github style diff colors */
.diff .file .diffcontent .lines,
.diff .file .diffcontent .lineno {
font-family: Consolas, "Liberation Mono", Courier, monospace;
font-size: 13px;
line-height: 18px;
text-shadow: 0 1px 0 rgba(255,255,255,0.25);
background-color: #fff;
}
.diff .file .diffcontent .lines .delline del,
.diff .file .diffcontent .lines .addline ins {
line-height: 18px;
border-radius: 0;
}
.diff .file .diffcontent .lines .delline {
background-color: #ffdddd; color: #000;
}
.diff .file .diffcontent .lines .delline del {
background-color: #ffaaaa; color: #000;
}
.diff .file .diffcontent .lines .addline {
background-color: #ddffdd; color: #000;
}
.diff .file .diffcontent .lines .addline ins {
background-color: #aaffaa; color: #000;
}
/* yellowish selected hunks in commit dialog */
#selected,
#selected div {
background-color: #F8EEC7 !important;
}
#selected div del,
#selected div ins {
background-color: #c7b978;
}
.diff .hunkbutton {
border: 1px solid #927c28;
background-color: #fff4c1;
color: #746019;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment