aboutsummaryrefslogtreecommitdiff
path: root/stylesheets/_typography.sass
blob: db67b362a758b32bc99127aa4d75fac3d13428bc (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
$base_font_size: 16px
$base_font_size_small: 13px
$base_font_color: #333
$default_border_radius: 6px

+general-typography
=heading-font
  +serif-font
=quote-font
  +serif-font

body
  font-size: $base_font_size
  +serif-font
  
h1,h2,h3,h4,h5,h6
  color: #333
  font-weight: bold
  +heading-font

h1,h2,h3,h4
  letter-spacing: -1px

blockquote
  +quote-font
  font-style: italic
  color: #555
  background: #f8f8f8
  border:
    top: 1px solid #e5e5e5
    bottom: 1px solid #e5e5e5
  &:before
    color: #ddd
  cite
    +sans-font
    font-size: $base_font_size - 2px
    display: block
    padding-top: $base_font_size
    &:before
      content: "\30FC"
      padding-right: 2px
    a
      color: inherit !important
      &:hover
        color: $link_color !important