summaryrefslogtreecommitdiffstats
path: root/assets/sass/_list.scss
blob: 57f9fe911400e0a4b5c9aaca7827f02f2d557d10 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#content {
    padding: 0 1em 0 1em;

    // different padding when screen size below width-md(768px)
    @media screen and (max-width: $width-md){
        padding: 0 1.5em 0 1.5em;
    }
}

#post {
    padding: 1.5em 0 1.5em 0;
}

// spliter between two posts
#post+#post {
    border-top: $spliter;
}

#post-title {
    font-size: $font-size-l1;

    @include link-primary();
}

#post-meta {
    color: $color-mute;
    padding: 0.5em 0 1em 0;
    white-space: nowrap;
    overflow-x: scroll;

    &::-webkit-scrollbar {
        display: none; // WebKit
    }

    scrollbar-width: none; // Firefox
    -ms-overflow-style: none; // Microsoft

    @include link-secondary();
}

#post-exlink {
    margin: 0.5em 0 0 0;

    @include link-secondary();
}

#page-tag {
    padding: 1.5em 0 1.5em 0;
    font-size: $font-size-l3;
    border-bottom: $spliter;
}

article {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

#license {
    @include link-primary();

    margin-bottom: 1.5em;
}

// not show while iframe not loaded
#post-comment .utterances-frame {
    border-top: $spliter;
}