~nykma/hugo-theme-jane unlisted

ref: 202096facc7e47204e7a9343ad365fb97187b8fd hugo-theme-jane/assets/sass/_partial/_post/_blockquote.scss -rw-r--r-- 720 bytes View raw
202096faNyk Ma [!] changes of blockquote and footnote 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
// ==============================
// Post blockquote
// ==============================

blockquote {
  margin: 1em auto;
  color: #555555;
  background-color: #F6F6F6;
  border-left: 4px solid #999;
  position: relative;
  line-height: 1.6;
  font-family: Open Sans;

  @include min-screen() {
    padding: 0.2em 2em 0.2em 3em;

    &::before {
      font-family: Arial;
      // content: "\201C";
      color: #999;
      font-size: 4em;
      position: absolute;
      left: 10px;
      top: -10px;
    }
  }

  @include max-screen() {
    padding: 0.2em 1em;
  }

  footer {
    color: #333333;
    margin-bottom: 1em;
  }

  cite:before {
    content: '\2014';
    padding-right: .3em;
    padding-left: .3em;
  }
}