summaryrefslogtreecommitdiffstats
path: root/assets/sass/modules/_sidebar.scss
blob: 822e4819db121355d64b904e304075ec03b1253f (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
#sidebar {
    ul {
        list-style-type: none;
        margin: 0.5rem 0;

        ul {
            margin: 0rem 0.5rem;
            font-size: 0.875rem;
        }
    }

    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-bgm img {
        color: $color-secondary;
        margin: 0.5rem 0;
        width: 100%;
        border-radius: 2px;
        filter: grayscale(50%);

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