summaryrefslogtreecommitdiffstats
path: root/assets/sass/modules/_sidebar.scss
blob: e7cfa49360d28f33c8b03d1541728cd22e6c91b6 (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
#sidebar {
    ul {
        list-style-type: none;
    }

    padding: 1.5rem 1rem;

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

    h5 {
        font-size: $font-size-l3;
    }

    .widget-toc,
    .widget-pages,
    .widget-tags,
    .widget-links {

        div,
        ul {
            margin: 0.5rem 0;
        }
    }

    .widget-bgm img {
        margin: 0.5rem 0;
        width: 100%;
        border-radius: 2px;
        filter: grayscale(50%);

        @media screen and (max-width: $width-md) {
            width: 50%;
        }
    }
}