Skip to content

Commit b5f5e17

Browse files
author
Tom Clark
committed
Fix syntax highlighting for c/s languages
1 parent 54637d5 commit b5f5e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stylesheets/pygment_trac.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.highlight { background: #ffffff; }
2-
.highlight .c { color: #999988; font-style: italic } /* Comment */
2+
.highlight span.c { color: #999988; font-style: italic } /* Comment */
33
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
44
.highlight .k { font-weight: bold } /* Keyword */
55
.highlight .o { font-weight: bold } /* Operator */
@@ -26,7 +26,7 @@
2626
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
2727
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
2828
.highlight .m { color: #009999 } /* Literal.Number */
29-
.highlight .s { color: #d14 } /* Literal.String */
29+
.highlight span.s { color: #d14 } /* Literal.String */
3030
.highlight .na { color: #008080 } /* Name.Attribute */
3131
.highlight .nb { color: #0086B3 } /* Name.Builtin */
3232
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */

0 commit comments

Comments
 (0)