aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/styles/markdown.scss
blob: aa9569b2771ae5de848400b009dac04ed9b94105 (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
44
@use "./variables.scss";

.markdown-body {
  color: rgb(36, 41, 47);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;

  h2 {
    margin-top: 1.5em;
  }

  h3 {
    margin-top: 1.2em;
  }

  a {
    color: variables.$blue-primary;
  }

  code {
    color: darken(#e3116c, 5%);
    font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    font-size: 0.9em;
    line-height: 1.2em;

    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;

    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
  }

  li {
    margin-bottom: 1em;
  }
}