summaryrefslogtreecommitdiff
path: root/src/static/rest_framework/css/prettify.css
diff options
context:
space:
mode:
authorckonstanski <kostcarl@isu.edu>2026-07-30 17:56:41 -0600
committerckonstanski <kostcarl@isu.edu>2026-07-30 17:56:41 -0600
commitcfb4bf6be1b18ec15cddbec1ea37e76176b1050b (patch)
tree1bbe88bca7ea6282296a9cfb16b6e52bd16c6f38 /src/static/rest_framework/css/prettify.css
parentaeab73540c306e5f906bccc444c252d8ad2adc34 (diff)
initial commit
Diffstat (limited to 'src/static/rest_framework/css/prettify.css')
-rw-r--r--src/static/rest_framework/css/prettify.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/static/rest_framework/css/prettify.css b/src/static/rest_framework/css/prettify.css
new file mode 100644
index 0000000..d437aff
--- /dev/null
+++ b/src/static/rest_framework/css/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, .prettyprint .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: 20px;
+ text-shadow: 0 1px 0 #fff;
+} \ No newline at end of file