]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | .docblock pre.rust { background: #eeeeff; } | |
3 | pre.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 */ | |
17 | pre.trait .where::before { | |
18 | content: '\a '; | |
19 | } | |
20 | ||
21 | .docblock code { | |
22 | background-color: inherit; | |
23 | font-weight: bold; | |
24 | padding: 0 0.1em; | |
25 | } | |
26 | ||
27 | a.test-arrow { | |
28 | display: none; | |
29 | } |