]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | <!DOCTYPE html> |
fe692bf9 | 2 | <html lang="en"> |
1b1a35ee | 3 | <head> |
fe692bf9 | 4 | <meta charset="utf-8"> |
487cf647 | 5 | <title>spanview_terminator.main.built.after</title> |
29967ef6 | 6 | <style> |
1b1a35ee XL |
7 | .line { |
8 | counter-increment: line; | |
9 | } | |
10 | .line:before { | |
11 | content: counter(line) ": "; | |
12 | font-family: Menlo, Monaco, monospace; | |
13 | font-style: italic; | |
14 | width: 3.8em; | |
15 | display: inline-block; | |
16 | text-align: right; | |
17 | filter: opacity(50%); | |
18 | -webkit-user-select: none; | |
19 | } | |
20 | .code { | |
21 | color: #dddddd; | |
22 | background-color: #222222; | |
23 | font-family: Menlo, Monaco, monospace; | |
24 | line-height: 1.4em; | |
25 | border-bottom: 2px solid #222222; | |
26 | white-space: pre; | |
27 | display: inline-block; | |
28 | } | |
29 | .odd { | |
30 | background-color: #55bbff; | |
31 | color: #223311; | |
32 | } | |
33 | .even { | |
34 | background-color: #ee7756; | |
35 | color: #551133; | |
36 | } | |
37 | .code { | |
38 | --index: calc(var(--layer) - 1); | |
39 | padding-top: calc(var(--index) * 0.15em); | |
40 | filter: | |
41 | hue-rotate(calc(var(--index) * 25deg)) | |
42 | saturate(calc(100% - (var(--index) * 2%))) | |
43 | brightness(calc(100% - (var(--index) * 1.5%))); | |
44 | } | |
45 | .annotation { | |
46 | color: #4444ff; | |
47 | font-family: monospace; | |
48 | font-style: italic; | |
49 | display: none; | |
50 | -webkit-user-select: none; | |
51 | } | |
52 | body:active .annotation { | |
53 | /* requires holding mouse down anywhere on the page */ | |
54 | display: inline-block; | |
55 | } | |
56 | span:hover .annotation { | |
57 | /* requires hover over a span ONLY on its first line */ | |
58 | display: inline-block; | |
59 | } | |
29967ef6 | 60 | </style> |
1b1a35ee XL |
61 | </head> |
62 | <body> | |
ed00b5ec FG |
63 | <div class="code" style="counter-reset: line 5"><span class="line"><span class="code" style="--layer: 0">fn main() {}</span><span><span class="code even" style="--layer: 1" title="0:Return: $DIR/spanview_terminator.rs:6:13: 6:13: |
64 | 6:13-6:13: Return: return"><span class="annotation">0:Return⦊</span>‸<span class="annotation">⦉0:Return</span></span></span></span></div> | |
1b1a35ee XL |
65 | </body> |
66 | </html> |