1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Move vendor/prettify.css to _sass/_prettify.scss.

This commit is contained in:
Florian Kissling 2015-04-28 01:52:35 +02:00
parent 041c7ee8ec
commit eb3f4c180b
3 changed files with 47 additions and 31 deletions

View File

@ -16,6 +16,5 @@
<link href="dist/css/select2.min.css" type="text/css" rel="stylesheet" />
<link href="vendor/css/font-awesome.min.css" type="text/css" rel="stylesheet" />
<link href="vendor/css/prettify.css" type="text/css" rel="stylesheet" />
<link href="vendor/css/anchor.css" type="text/css" rel="stylesheet" />
<link href="css/s2-docs.css" rel="stylesheet" >

47
docs/_sass/_prettify.scss Normal file
View File

@ -0,0 +1,47 @@
.com {
color: #999;
}
.lit {
color: #195f91;
}
.pun, .opn, .clo {
color: #93a1a1;
}
.fun {
color: #dc322f;
}
.str, .atv {
color: #C7254E;
}
.kwd, .prettyprint .tag {
color: #2F6F9F;
}
.typ, .atn, .dec, .var {
/*color: teal;*/
color: #428BCA;
}
.pln {
color: #333;
}
.prettyprint {
padding: 9px 14px;
margin-bottom: 20px;
margin-top: 20px;
border: 1px solid #e1e1e8;
}
.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 -12px;
}
ol.linenums li {
padding-left: 12px;
color: #bebec5;
line-height: 18px;
}

View File

@ -1,30 +0,0 @@
.com { color: #93a1a1; }
.lit { color: #195f91; }
.pun, .opn, .clo { color: #93a1a1; }
.fun { color: #dc322f; }
.str, .atv { color: #D14; }
.kwd, .linenums .tag { color: #1e347b; }
.typ, .atn, .dec, .var { color: teal; }
.pln { color: #48484c; }
.prettyprint {
padding: 9px 14px;
margin-bottom: 14px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
}
.prettyprint.linenums {
-webkit-box-shadow: inset 48px 0 0 #fbfbfc, inset 49px 0 0 #ececf0;
-moz-box-shadow: inset 48px 0 0 #fbfbfc, inset 49px 0 0 #ececf0;
box-shadow: inset 48px 0 0 #fbfbfc, inset 49px 0 0 #ececf0;
}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin: 0;
}
ol.linenums li {
padding-left: 4px;
color: #bebec5;
line-height: 18px;
}