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

D
Dmitriy Zaporozhets 已提交
6 7 8 9 10 11 12 13 14 15
h1.page-title {
  @include page-title;
  font-size: 28px;
}

h2.page-title {
  @include page-title;
  font-size: 24px;
}

16
h3.page-title {
D
Dmitriy Zaporozhets 已提交
17
  @include page-title;
18 19
}

20 21 22 23 24
h6 {
  color: #888;
  text-transform: uppercase;
}

25 26
/** CODE **/
pre {
27
  font-family: $monospace_font;
28 29 30

  &.dark {
    background: #333;
31
    color: #f5f5f5;
32 33 34
  }
}

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

D
Dmitriy Zaporozhets 已提交
47 48 49 50
  &:focus {
    text-decoration: underline;
  }

51 52
  &.btn {
    color: $style_color;
53
    &:hover {
54 55 56 57 58 59 60 61 62
      color: $style_color;
    }
  }

  &.dark {
    color: $style_color;
  }

  &.lined {
63 64
    text-decoration: underline;
    &:hover { text-decoration: underline; }
65 66 67
  }

  &.gray {
68
    color: gray;
69 70 71
  }

  &.supp_diff_link {
72
    text-align: center;
73 74
    padding: 20px 0;
    background: #f1f1f1;
75 76
    width: 100%;
    float: left;
77 78 79
  }

  &.neib  {
80
    margin-right: 15px;
81 82 83 84 85 86
  }
}

a:focus {
  outline: none;
}
87 88

.monospace {
89
  font-family: $monospace_font;
90
}
D
Dmitriy Zaporozhets 已提交
91 92 93 94 95 96

/**
 * Wiki typography
 *
 */
.wiki {
97 98
  @include md-typography;

99 100 101 102 103 104 105 106
  font-size: 14px;
  line-height: 1.6;
  .white .highlight pre {
    background: #f5f5f5;
  }
  ul {
    margin: 0 0 9px 25px !important;
  }
D
Dmitriy Zaporozhets 已提交
107
}
108 109 110 111

.md {
  @include md-typography;
}