/
sidebar.css
70 lines (63 loc) · 1.18 KB
/
sidebar.css
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
/*
Sidebar
markup:
<nav class="sidebar">
<sg-insert>4.2</sg-insert>
<sg-insert>4.3</sg-insert>
</nav>
Styleguide 4.1
*/
.sidebar
{
-webkit-box-ordinal-group: 3;
-moz-box-ordinal-group: 3;
-ms-flex-order: 3;
-webkit-order: 3;
order: 3;
width: 22.5%;
padding-left: 2em;
padding-left: 3%;
}
@media screen and (max-width: 768px) {
.sidebar
{
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-ms-flex-order: 1;
-webkit-order: 1;
order: 1;
width: 100%;
margin-bottom: 1em;
font-size: 1.25em;
text-align: center;
display: block;
}
.sidebar .menu-vert__title
{
display: none;
}
.sidebar .menu-vert__item
{
display: inline-block;
}
.sidebar .menu-vert__item:after
{
content: '';
display: inline-block;
width: 10px;
height: 10px;
background: rgba(0,0,0, 0.2);
border-radius: 50%;
margin: 0 1em;
}
.sidebar .menu-vert__item:last-child::after
{
display: none;
}
}
.sidebar:before {
content: '';
width: 16em;
display: block;
height: 0;
}