1
2.docblock pre.rust { background: #eeeeff; }
3pre.trait, pre.fn, pre.struct, pre.enum, pre.typedef { background: #fcfefc; }
4
5/* Small “example” label for doc examples */
6.docblock pre.rust::before {
7    content: "example";
8    float: right;
9    font-style: italic;
10    font-size: 0.8em;
11    margin-top: -10px;
12    margin-right: -5px;
13}
14
15
16/* Fixup where display in trait listing */
17pre.trait .where::before {
18content: '\a         ';
19}
20
21.docblock code {
22    background-color: inherit;
23    font-weight: bold;
24    padding: 0 0.1em;
25}
26