typography.scss 1.6 KB
Newer Older
1
/**
2
 * Headers
3
 *
4
 */
D
Dmitriy Zaporozhets 已提交
5

6
h1, h2, h3, h4, h5, h6 { margin: 0; }
7
h3, h4, h5, h6 { line-height: 36px; }
8
h5 { font-size: 14px; }
9

10
h3.page_title {
11
  color: #456;
12
  font-size: 20px;
13 14 15 16
  font-weight: normal;
  line-height: 28px;
}

17 18 19 20 21
h6 {
  color: #888;
  text-transform: uppercase;
}

22 23
/** CODE **/
pre {
24
  font-family: $monospace_font;
25 26 27

  &.dark {
    background: #333;
28
    color: #f5f5f5;
29 30 31
  }
}

32
/**
33
 * Links
34
 *
35 36 37 38 39
 */
a {
  outline: none;
  color: $link_color;
  &:hover {
40
    text-decoration: none;
K
Koen Punt 已提交
41
    color: $primary_color;
42 43 44 45
  }

  &.btn {
    color: $style_color;
46
    &:hover {
47 48 49 50 51 52 53 54 55
      color: $style_color;
    }
  }

  &.dark {
    color: $style_color;
  }

  &.lined {
56 57
    text-decoration: underline;
    &:hover { text-decoration: underline; }
58 59 60
  }

  &.gray {
61
    color: gray;
62 63 64
  }

  &.supp_diff_link {
65
    text-align: center;
66 67
    padding: 20px 0;
    background: #f1f1f1;
68 69
    width: 100%;
    float: left;
70 71 72
  }

  &.neib  {
73
    margin-right: 15px;
74 75 76 77 78 79
  }
}

a:focus {
  outline: none;
}
80 81

.monospace {
82
  font-family: $monospace_font;
83
}
D
Dmitriy Zaporozhets 已提交
84 85 86 87 88 89 90

/**
 * Wiki typography
 *
 */
.wiki {
  font-size: 13px;
91
  line-height: 20px;
D
Dmitriy Zaporozhets 已提交
92 93 94

  code { padding: 0 4px; }
  p { font-size: 13px; }
95 96 97 98
  h1 { font-size: 26px; line-height: 40px; margin: 10px 0;}
  h2 { font-size: 22px; line-height: 40px; margin: 10px 0;}
  h3 { font-size: 18px; line-height: 40px; margin: 10px 0;}
  h4 { font-size: 16px; line-height: 20px; margin: 10px 0;}
D
Dmitriy Zaporozhets 已提交
99 100 101 102 103
  h5 { font-size: 14px; line-height: 20px; margin: 10px 0;}
  h6 { font-size: 12px; line-height: 20px; margin: 10px 0;}
  .white .highlight pre { background: #f5f5f5; }
  ul { margin: 0 0 9px 25px !important; }
}