style: Improve render of example code

This commit is contained in:
Jean-Baptiste Delhommeau
2016-07-04 13:36:59 +02:00
parent 09a16031f4
commit c5ecf32775
2 changed files with 6 additions and 1 deletions

View File

@@ -139,6 +139,11 @@ pre{
pre{
padding: 5px 10px;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
}

View File

@@ -1,4 +1,4 @@
.highlight { background: #ffffff; }
.highlight { background: #ffffff; margin: 0 4px; font-size: 0.8em; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */