Skip to content

Instantly share code, notes, and snippets.

@produnis
Created July 1, 2012 14:42
Show Gist options
  • Save produnis/3028641 to your computer and use it in GitHub Desktop.
Save produnis/3028641 to your computer and use it in GitHub Desktop.
myWordpress
pre {
width: 97%;
overflow-x:auto;
}
#bash {
color: #FFFFFF;
background-color: #000000;
font-family: Courier;
font-size: 0.9em;
padding-top: 10px;
border: 1px solid #B3AB9A;
margin-top: 20px;
padding: 6px;
}
#script {
color: #000000;
font-family: Courier;
font-size: 0.9em;
background-color: #EEEEEE;
padding-top: 10px;
border: 1px dashed #B3AB9A;
margin-top: 20px;
margin-right: 10px;
margin-left: 10px;
padding: 6px;
cursor: default;
}
/*## Add line-Numbers to embedded gists
#------------------------------------*/
.gist-highlight {
border-left: 3ex solid #eee;
position: relative;
}
.gist-highlight pre {
counter-reset: linenumbers;
}
.gist-highlight pre div:before {
color: #aaa;
content: counter(linenumbers);
counter-increment: linenumbers;
left: -3ex;
position: absolute;
text-align: right;
width: 2.5ex;
}
/*#---------------------------------*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment