summaryrefslogtreecommitdiff
path: root/sass/_code.scss
blob: bc83892d3b9ba5e35e38fd2e557d47440df197b2 (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
code,
pre {
  font-family: var(--font-mono);
}

.prose code:not(pre code) {
  padding: 0.1em 0.3em;
  border: var(--rule);
  background: var(--color-surface);
  font-size: 0.88em;
}

.prose pre {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem 1.15rem;
  border: var(--rule);
  background: var(--color-surface);
  font-size: 0.88rem;
  line-height: 1.65;
}

.giallo-l {
  display: inline-block;
  min-height: 1lh;
  width: 100%;
}

.giallo-ln {
  display: inline-block;
  min-width: 3ch;
  margin-right: 0.4em;
  padding: 0.4em;
  opacity: 0.8;
  text-align: right;
  user-select: none;
}