aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial/_terms.scss
blob: f498ffe4c331e67151fad3b08faa55d772ba607b (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
46
// ==============================
// General Terms(tags, categories, etc.)
// =============================

.terms {
  margin: 2em 0 3em;
  text-align: center;
  font-family: $global-serif-font-family;

  .terms-title {
    display: inline-block;
    font-size: $terms-title-size;
    color: $theme-color;
    border-bottom: $terms-title-border-bottom;
  }

  .terms-tags {
    margin: 10px 0;

    .terms-link {
      display: inline-block;
      position: relative;
      margin: $terms-link-margin;
      word-wrap: break-word;
      transition-duration: 0.2s;
      transition-property: transform;
      transition-timing-function: ease-out;

      .terms-count {
        display: inline-block;
        position: relative;
        top: -8px;
        right: -2px;
        color: $theme-color;
        font-size: $terms-count-font-size;
      }

      &:active,
      &:focus,
      &:hover {
        color: $theme-color;
        transform: scale(1.1);
      }
    }
  }
}