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

    padding: 1.5em 1em 1.5em 1em;

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

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

    @include link-secondary();

    #widget-pages,
    #widget-tags,
    #widget-links {

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

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

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

#container-progress {
    cursor: pointer;
    position: fixed;
    width: 3em;
    right: 1em;
    bottom: 1em;
    color: $color-primary;

    &:hover {
        color: $color-secondary;
    }

    .progressbar-text {
        svg {
            width: 24px;
            vertical-align: middle;
        }

        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}