Skip to content

Instantly share code, notes, and snippets.

@trang
Created November 16, 2014 11:51
Show Gist options
  • Save trang/1af2322167a16af4b6a8 to your computer and use it in GitHub Desktop.
Save trang/1af2322167a16af4b6a8 to your computer and use it in GitHub Desktop.
Stylish - Old style contributions
#main_content #logs .sentenceId {
display: none;
}
#main_content #logs .linkLog {
position: relative;
}
#main_content #logs .linkLog .sentenceId {
display: inline-block;
position: absolute;
left: 0px;
top: 5px;
}
#main_content #logs .sentenceLog,
#main_content #logs .linkLog {
background: none;
overflow: hidden;
}
#main_content #logs .contribution {
border: none;
margin: 0px;
padding: 0px;
width: 360px;
}
#main_content #logs .lang img {
width: 20px;
height: 14px;
margin-top: -2px;
}
#main_content #logs .info {
float: right;
padding: 3px;
}
#main_content #logs .date {
float: none;
width: 100px;
text-align: center;
}
#main_content #logs .user {
visibility: hidden;
text-align: center;
}
#main_content #logs .user a {
visibility: visible;
display: block;
width: 120px;
margin-top: -16px;
}
#main_content #logs .sentenceLog.added .content,
#main_content #logs .sentenceLog.edited .content,
#main_content #logs .sentenceLog.deleted .content,
#main_content #logs .linkLog.added .content,
#main_content #logs .linkLog.deleted .content,
#main_content #logs .sentenceLog.obsolete .content {
background: none !important;
margin: 1px;
font-size: 13px;
}
#main_content #logs .sentenceLog,
#main_content #logs .linkLog {
border-bottom: 1px solid #fff;
vertical-align: middle;
padding: 0px;
}
#main_content #logs .sentenceLog.added {
background: rgba(152, 203, 74, 0.3) !important;
}
#main_content #logs .sentenceLog.deleted {
background: rgba(241, 95, 74, 0.2) !important;
}
#main_content #logs .sentenceLog.edited {
background: rgba(247, 216, 66, 0.3) !important;
}
#main_content #logs .linkLog.added {
background: rgba(119, 204, 201, 0.3);
}
#main_content #logs .linkLog.deleted {
background: rgba(244, 170, 100, 0.3);
}
#main_content #logs .linkLog .contribution .content {
text-align: right;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment