summaryrefslogtreecommitdiffstats
path: root/blog/_assets/stylesheets/_post.scss
blob: 436b82833ccc6eea206c85b2f3ef05fcfa3003b5 (plain) (blame)
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
.post-header {
    background-color: $post-header-background;
    padding: 2mm;
    date {
        font-size: 10pt;
    }
    h1 {
        font: {
            size: 16pt;
            weight: bold;
        }
        margin: {
            bottom: 0;
            top: 0;
        }
        a {
            text-decoration: none;
        }
    }
}

.post {
  footer {
    padding-top: 4mm;
    .prev-post {
      float: left;
      &::before {
        content: "« ";
        font-size: 150%;
      }
    }
    .next-post {
      float: right;
      &::after {
        content: " »";
        font-size: 150%;
      }
    }
  }
}

.post-body {
    background-color: transparentize(#182530, 0.3);
    padding: 2mm;
    margin-bottom: 2mm;
    &::after {
      content: " ";
      display: block;
      visibility: hidden;
      clear: both;
    }
}