summaryrefslogtreecommitdiff
path: root/assets/css/src/sidebar.css
blob: b744689e78f49b4adea534ab2852f1ed0f3522b8 (plain)
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
/* sidebar */
.sidebar-container {
    margin-top: 10px;
    position: relative;
    clear: both;
}

.sidebar-content {
    margin-left: 23%;
    width: 76%;
    position: absolute;
}

.sidebar {
    width: 20%;
    float: left;
    padding: 10px;
    padding-top: 0;
    border: 1px solid #ddd;
    background: #fdfdfd;
    border-radius: 5px;
}

.sidebar li {
    list-style-type: square;
    margin-left: 30px;
    line-height: 1.8em;
}

@media only screen and (max-width: 1024px) {
    .sidebar {
        width: 25%;
    }

    .sidebar-content {
        margin-left: 30%;
        width: 70%;
    }
}

@media only screen and (max-width: 767px) {
    .sidebar {
        width: 95%;
        float: none;
    }

    .sidebar-content {
        margin: 0;
        margin-top: 20px;
        width: 100%;
    }
}