summaryrefslogtreecommitdiffstats
path: root/assets/sass/modules/_content.scss
blob: 63cdc47b47be5f92d750962425290379a0a09f97 (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
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
#content {
    padding: 0 1rem;

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

article {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
}

.post {
    padding: 1.25rem 0 1.5rem 0;
}

.post+.post {
    border-top: $spliter;
}

.post-title {
    font-size: $font-size-l1;
}

.post-meta {
    color: $color-mute;
    padding: 0.5rem 0.1rem 1.25rem 0.1rem;
    white-space: nowrap;
    overflow-x: scroll;

    time,
    span:not(:last-child) {
        padding-right: 1rem;
    }

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

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

.post-summary {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        display: none;
    }
}

#post-aplayer {
    font-family: inherit;
    margin: 0 0.1rem 1.5rem 0.1rem;
}

.license {
    margin-bottom: 1.5rem;
}

.post-loading {
    border-top: $spliter;
    margin: 0 0 1.5rem 0;
    padding-top: 1.5rem;
    text-align: center;

    i {
        font-size: 1.5rem;
        color: $color-primary;
    }

    p {
        margin: 0.5rem 0 0 0;
    }
}

.post-comment .utterances-frame {
    border-top: $spliter;
}

.post-comment #disqus_thread {
    border-top: $spliter;
}

.page-info {
    padding: 1rem 0;
    font-size: $font-size-l3;
    border-bottom: $spliter;
}