Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_header.scss « _post « _partial « sass « assets - github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2d3ccf3b601819dabd2fc3700b825f12629350d3 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.post-header {
  margin-bottom: 20px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px LightGrey solid;

  .post-title {
    margin: unset;
    font-size: 2em;
    font-weight: 700;
    font-family: $global-serif-font-family;

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

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

  .post-title-i18n {
    a {
      color: $theme-color;
      @include underline-from-center;
    }
  }

  .post-meta {
    margin-top: 1em;
    display: flex;
    align-items: center;

    .post-meta-author {
      a {
        color: $theme-color;
      }
    }

    .post-meta-time {
      margin-left: 1em;
    }

    .post-meta-lastmod {
      margin-left: 0.5em;
      font-size: 0.8em;
      font-style: italic;
    }

    .post-meta__right {
      margin-left: auto;
      display: flex;
      font-size: 0.8em;
      flex-direction: column;
      line-height: 1.318;
      text-align: right;
      color: $dark-gray;
    }

    .post-meta-category {
      display: inline;

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

    a {
      color: inherit;

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