summaryrefslogtreecommitdiff
path: root/assets/sass/_markdown_rendering.sass
blob: cc1f977aa9c9e9f5570c67265500ca7e195261e6 (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
@import variables

.markdown
  line-height: 1.4em
  h1
    margin-top: 5px
    margin-bottom: 10px
    font-weight: bold
  h2
    font-weight: bold
  p
    margin-bottom: 10px
  ol, ul
    margin-left: 25px
    margin-top: 10px
    margin-bottom: 10px
  pre
    background: #fbfbfb
    padding: 10px
    border-radius: 5px
    border: 1px solid #ddd
    overflow: auto
    color: color('medium')
  blockquote
    font-style: italic
    border-left: 3px solid #ddd
    padding-left: 10px
    margin-bottom: 10px
    margin-left: 20px
  img
    display: block
    max-width: 80%
    margin-top: 10px