summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/components/markdownview.module.css
blob: 8b7d02e97e2eb93d8782e17126c18dc9b51e50f4 (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
45
.markdown-body {
  font-size: 0.875rem;
  line-height: 1.5;

  p,
  blockquote,
  ul,
  ol,
  dl,
  table,
  pre {
    margin-bottom: 1rem;
  }

  ul,
  ol {
    padding-left: 1.5rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-bottom: 0.5rem;
  }

  & > *:last-child {
    margin-bottom: 0;
  }

  code {
    font-weight: 500;

    &::before {
      content: "`";
      font-weight: 600;
    }
    &::after {
      content: "`";
      font-weight: 600;
    }
  }
}