Skip to content

Commit ebc0e0b

Browse files
wouterjweaverryan
authored andcommitted
Reset some more pygments styles
1 parent 62a99b3 commit ebc0e0b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

_theme/_templates/layout.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@
1111

1212
{# pygment's styles are still loaded, undo some unwanted styles #}
1313
<style>
14-
.highlight .k { font-weight: normal; }
14+
.highlight .k, .highlight .gh, .highlight .gp,
15+
.highlight .gu, .highlight .kc, .highlight .kd,
16+
.highlight .kn, .highlight .kr, .highlight .nc,
17+
.highlight .nd, .highlight .ni, .highlight .nl,
18+
.highlight .nn, .highlight .nt, .highlight .ow,
19+
.highlight .se { font-weight: normal; }
20+
21+
.highlight .c, .highlight .cm, .highlight .c1,
22+
.highlight .sd, .highlight .si { font-style: normal; }
23+
1524
.doc { background: none; }
1625
#demo-warning {
1726
border: 3px dashed #c00;

0 commit comments

Comments
 (0)