aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial/_post/_header.scss
blob: 90dc15d07a661d1c5af976ea8179f2097e23f053 (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
.post-header {
  margin-bottom: 20px;

  .post-title {
    margin: 0;
    font-size: $post-title-font-size;
    font-weight: $post-title-font-weight;
    font-family: $global-serif-font-family;
  }

  .post-link {
    @include underline-from-center;
  }

  .post-meta {
    font-size: 14px;
    color: $post-meta-font-color;

    .post-time {
      font-size: 15px;
    }

    .post-category {
      display: inline;

      &::before {
        content: '·';
      }

      a {
        color: inherit;

        &:hover {
          color: $theme-color;
        }
      }
    }

    .more-meta {
      &::before {
        content: '·';
      }
    }

  }
}