forked from yegor256/tacit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_pre.scss
More file actions
48 lines (41 loc) · 756 Bytes
/
_pre.scss
File metadata and controls
48 lines (41 loc) · 756 Bytes
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
// SPDX-FileCopyrightText: Copyright (c) 2015-2025 Yegor Bugayenko
// SPDX-License-Identifier: MIT
@import 'defs';
pre,
code,
kbd,
samp,
var,
output {
font-family: $monospace;
font-size: .8 * $em;
}
pre {
border-left: .1 * $em solid safe-adjust-lightness($green, 25);
line-height: 1.4 * $em;
overflow: auto;
padding-left: $spacing;
code {
background: none;
border: 0;
line-height: 1.65 * $em;
padding: 0;
}
}
code,
kbd {
background: safe-adjust-lightness($green, 60);
border-radius: .2 * $spacing;
color: $green;
display: inline-block;
line-height: $em;
padding: (.2 * $em) (.35 * $em) (.15 * $em);
}
kbd {
background: $green;
color: $white;
}
mark {
background: $yellow;
padding: 0 (.2 * $em);
}