mirror of
https://github.com/encode/django-rest-framework.git
synced 2026-02-18 21:20:34 +03:00
40 lines
1.0 KiB
CSS
40 lines
1.0 KiB
CSS
.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; }
|
|
|
|
[data-md-color-scheme="slate"]
|
|
{
|
|
.com { color: #687272; }
|
|
.lit { color: #2481c7; }
|
|
.str, .atv { color: #e02642; }
|
|
.kwd, .prettyprint .tag { color: #5b7acb; }
|
|
.typ, .atn, .dec, .var { color: #05abab; }
|
|
.pln { color: #d3d3dc; }
|
|
}
|
|
|
|
.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;
|
|
} |