~nykma/hugo-theme-jane unlisted

ref: f814ff890a58426551dfc30c27e15f7e739d472d hugo-theme-jane/assets/sass/_partial/_post/_header.scss -rw-r--r-- 871 bytes View raw
f814ff89Nyk Ma [#][CSS] details summary a month ago
                                                                                
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
47
48
49
50
51
52
53
54
55
56
57
58
.post-header {
  margin-bottom: 20px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px LightGrey solid;

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

    .post-pinned svg {
      vertical-align: middle;
      width: 24px;
      height: 24px;
      fill: $theme-color;
    }
  }

  .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;

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

    a {
      color: inherit;

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

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

  }
}