blob: eaa44104184a185013591f8ef8bddba788a41584 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
#try {
background-color: #f6f6f6;
border-radius: 0;
border: 1px solid #ccc;
margin-top: 15px;
margin-bottom: 10px;
padding: 10px 15px 5px 10px;
position: relative;
}
#try h2 {
margin-top: 0;
}
#try textarea {
border: 1px solid #999;
padding: 2px;
width: 100%;
min-height: 150px;
resize: vertical;
}
#hlcode {
margin: 10px 0;
max-height: 500px;
overflow: auto;
border: 1px solid #ccc;
}
#hlcode:empty {
display: none;
}
#hlcode pre {
background-color: transparent;
border: 0;
margin: 0;
}
#hlcode table {
/* unset negative margin from pygments14.css */
margin: unset;
}
#code-header:not([hidden]) {
display: flex;
gap: 1em;
padding: 0 15px;
}
.flex-grow-1 {
flex-grow: 1;
}
#lexer {
margin-right: 0.5em;
}
#guessed-lexer:not(:empty):before {
content: '(guessed ';
}
#guessed-lexer:not(:empty):after {
content: ')';
}
#loading[hidden] {
visibility: hidden;
display: flex;
}
#loading {
display: flex;
align-items: center;
gap: 1em;
}
#format-settings {
display: flex;
gap: 1em;
border-top: 1px solid #ccc;
padding-top: 0.5em;
margin-top: 0.5em;
}
.tokens code {
/* make whitespace visible */
white-space: pre;
background: #d9d9d9;
}
#contrast-warning {
color: darkred;
}
|