-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcustom.css
More file actions
82 lines (70 loc) · 1.42 KB
/
custom.css
File metadata and controls
82 lines (70 loc) · 1.42 KB
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
.comparison {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1em;
@media (min-width: 1600px) {
margin-left: -10vw;
margin-right: -10vw;
}
> pre {
flex-grow: 1;
width: calc(50% - 0.5em);
min-width: min(50ch, 100%);
margin: 0;
> .playground {
margin: 0;
}
}
}
.language-cpp:before, .language-rust:before {
content: ' ';
background-size:cover;
position:absolute;
right: 5px;
top: 5px;
}
.language-cpp:before {
background-image: url('img/cpp.svg'); /* aspect: 306 / 344 */
width: 20px;
height: 22.5px;
}
html.rust, html.light {
.language-rust:before {
background-image: url('img/rust-black.svg'); /* aspect: 1 / 1 */
width: 25px;
height: 25px;
}
}
html.coal, html.navy, html.ayu {
.language-rust:before {
background-image: url('img/rust-white.svg'); /* aspect: 1 / 1 */
width: 25px;
height: 25px;
}
}
.feedback-link {
display: inline-block;
border: 1px solid var(--theme-popup-border);
background-color: var(--theme-popup-bg);
padding: 2px 4px;
border-radius: 4px;
font-size: 80%;
margin-top: 2em;
}
summary:has(:only-child) > p {
display: inline;
}
summary {
cursor: pointer;
}
details > summary {
background-color: var(--table-alternate-bg);
padding-left: 0.8em;
margin-left: -0.2em;
}
details {
margin: 0.2em 0;
padding-left: 0.2em;
border-left: 5px solid var(--table-header-bg);
}