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

_post-content.scss « sass « static - github.com/kongdivin/hugo-theme-okayish-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 963eba0c5e0f08564e211c61d5ea19e4794f13ef (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
.post-content {

  @extend %fixed-width-container;

  table,
  blockquote,
  pre,
  div,
  ul,
  ol,
  dl,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    & + h1 {
      @extend %sp--ph1;
    }

    & + h2 {
      @extend %sp--ph2;
    }

    & + h3 {
      @extend %sp--ph3;
    }

    & + h4 {
      @extend %sp--ph4;
    }

    & + h5,
    & + h6 {
      @extend %sp--ph5;
    }

    & + .p-muted-heading {
      @extend %sp--pmuted;
    }
  }

  > hr {
    margin-top: $sp-unit * 1.5;
    margin-bottom: $sp-unit * 3.5;
  }

  > div {
    margin-bottom: $sp-unit * 2.2;
  }

  td,
  th {
    &[align="left"] {
      @extend .u-align--left;
    }

    &[align="right"] {
      @extend .u-align--right;
    }

    &[align="center"] {
      @extend .u-align--center;
    }
  }

  .footnotes {
    @extend %sp--ph1;

    p {
      padding-top: 0;
      margin-bottom: 0;
    }
  }

  .footnote-return {
    margin-left: 0.25rem;
  }

  div {
    @extend %paragraph;
  }

  ul.task-list {
    list-style: none;
    padding-left: 0;

    ul.task-list {
      margin-bottom: 0;
      margin-left: $sp-unit * 4;
    }

    li label {
      margin-bottom: 0;
      padding-top: 0;
    }

    .task-list-item {
      margin-top: $sp-unit * 0.8;
      margin-right: $sp-unit * 1.5;
    }
  }
}

.p-aside {
  @extend .u-sticky;
}

#TableOfContents {
  @extend .p-table-of-contents__nav;

  ul {
    @extend .p-list;

    li a {
      @extend .p-table-of-contents__link;
    }
  }
}

@media (min-width: $breakpoint-x-large) {
  .post-content {
    ul.task-list .task-list-item {
      margin-top: $sp-unit;
    }
  }
}