Skip to content

Instantly share code, notes, and snippets.

@cyrilis
Last active December 16, 2015 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyrilis/5425953 to your computer and use it in GitHub Desktop.
Save cyrilis/5425953 to your computer and use it in GitHub Desktop.
V2EX gist style
.line-numbers .line-number {
width: 22px;
}
.line-numbers {
background: #ececec;
}
.gist {
background: #eee;
border: 1px solid #DDD;
margin-top: 15px;
-webkit-border-radius: 2px;
border-radius: 2px;
text-shadow: 0 0 1px #FFF;
line-height: 1.6;
overflow: hidden;
color: #666;
position: relative;
padding-top: 40px;
}
.gist-file .gist-data {
border: 0;
}
.gist .gist-file {
border: 0;
margin-bottom: 0px;
}
.line-data {
background: #eee
;
}
.gist .gist-meta {
position: absolute;
display: inline-table;
width: 100%;
top: 0px;
padding: 10px 5px!important;
background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
background-image: -o-linear-gradient(top, #eeeeee, #dddddd);
background-image: -webkit-gradient(linear, center top, center bottom, from(#eeeeee), to(#dddddd));
background-image: -webkit-linear-gradient(top, #eeeeee, #dddddd);
background-image: linear-gradient(top, #eeeeee, #dddddd);
}
.gist .gist-meta a {
font-size: 12px;
color: #376585!important;
}
.gist .gist-meta a:first-child {
margin-right: 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment