Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_code.scss « components « scss « assets - github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 130c6109171c6c2b1c62c1b4f22c31c468f2fcaf (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
pre,
code,
kbd,
samp {
  font-family: $font-family-monospace;
  font-size: $font-size-sm;
  border-radius: $border-radius;
}

pre {
  background: $beige;
  color: $black;
  line-height: $line-height-lg;
  margin: 2rem 0;
  overflow: auto;
  padding: 1.25rem 1.5rem;
  tab-size: 4;
}

code {
  background: $beige;
  color: $black;
  padding: 0.25rem 0.5rem;
}

pre code {
  background: none;
  font-size: inherit;
  padding: 0;
}

@include media-breakpoint-down(xs) {
  pre {
    margin: 2rem -1.5rem;
  }

  pre,
  code,
  kbd,
  samp {
    border-radius: 0;
  }
}