aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial/_post/_header.scss
blob: c9ac66753dedaf4cec5fe5cdaf14fdf8cf3fcfcc (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
.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 {
    .post-time {
      font-size: 15px;
      color: $post-time-font-color;
    }

    .post-category {
      display: inline;
      font-size: 14px;
      color: $post-category-font-color;

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

      a {
        color: inherit;

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