By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 codeblocks.css

View raw Download
text/plain • 969 B
ASCII text
        
            
1
pre, samp {
2
overflow-x: scroll; /* Make it scrollable instead of breaking the layout */
3
background-color: var(--color-code);
4
color: var(--color-code-text);
5
padding: var(--padding-code);
6
color-scheme: var(--color-scheme-code);
7
border-radius: var(--radius-code);
8
border: var(--border-code);
9
display: block;
10
}
11
12
pre, samp, code, var {
13
font: var(--mono-font);
14
}
15
16
code, var {
17
background: var(--color-short-code);
18
color: var(--color-short-code-text);
19
border-radius: var(--radius-short-code);
20
border: var(--border-short-code);
21
display: inline;
22
}
23
24
kbd {
25
font: var(--keyboard-font);
26
box-shadow: var(--shadow-keyboard);
27
background: var(--color-keyboard);
28
color: var(--color-keyboard-text);
29
padding: var(--padding-keyboard);
30
min-width: var(--size-keyboard);
31
min-height: var(--size-keyboard);
32
display: inline-flex;
33
align-items: baseline;
34
justify-content: center;
35
cursor: default;
36
}