Skip to content

Commit

Permalink
Added: prettify style
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmich committed May 3, 2015
1 parent 64d14d0 commit 4d9268b
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions google-prettify/prettify.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@


.com { color: #93a1a1; }
.lit { color: #195f91; }
.pun, .opn, .clo { color: #93a1a1; }
.fun { color: #dc322f; }
.str, .atv { color: #D14; }
.kwd, .prettyprint .tag { color: #1e347b; }
.typ, .atn, .dec, .var { color: teal; }
.pln { color: #48484c; }

.prettyprint {
margin-bottom:40px;
margin-top:10px;
padding: 8px;
background-color: #f7f7f9;
border: 1px solid #E1E1E8 !important;
}
.prettyprint.linenums {
-webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
-moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin: 0 0 0 40px; /* IE indents via margin-left */
padding:0;
}
ol.linenums li {
list-style: inherit;
padding-left: 12px;
color: #bebec5;
line-height: 20px;
text-shadow: 0 1px 0 #fff;
}
li.L1, li.L3, li.L5, li.L7, li.L9 {
background-color:inherit;
}

0 comments on commit 4d9268b

Please sign in to comment.