aboutsummaryrefslogtreecommitdiffstats
path: root/src/bootstrap/google-prettify/prettify.css
diff options
context:
space:
mode:
authorMisko Hevery2012-04-28 22:25:05 -0700
committerMisko Hevery2012-05-04 15:50:37 -0700
commitc4fa48725039c30349af725583f147e7f4fb69c7 (patch)
tree2cc0f972595c46f8384f909961b6173c2237d69d /src/bootstrap/google-prettify/prettify.css
parentcef3535c16d5b7825f797adc6705d61dad759796 (diff)
downloadangular.js-c4fa48725039c30349af725583f147e7f4fb69c7.tar.bz2
feat(bootstrap): support code prettify and dropdown from bootstrap
Diffstat (limited to 'src/bootstrap/google-prettify/prettify.css')
-rw-r--r--src/bootstrap/google-prettify/prettify.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/bootstrap/google-prettify/prettify.css b/src/bootstrap/google-prettify/prettify.css
new file mode 100644
index 00000000..aedd8d1a
--- /dev/null
+++ b/src/bootstrap/google-prettify/prettify.css
@@ -0,0 +1,30 @@
+.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: 8px;
+ background-color: #f7f7f9;
+ 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 33px; /* IE indents via margin-left */
+}
+ol.linenums li {
+ padding-left: 12px;
+ color: #bebec5;
+ line-height: 18px;
+ text-shadow: 0 1px 0 #fff;
+} \ No newline at end of file