-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.css
56 lines (52 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
.page_content {
position: relative;
z-index: 0; }
.toggle {
text-decoration: none;
font-size: 30px;
color: black;
-webkit-transition: all 0.15s ease-out 0s;
-moz-transition: all 0.15s ease-out 0s;
transition: all 0.15s ease-out 0s;
position: fixed;
top: 20px;
right: 0;
bottom: 0;
left: 20px;
z-index: 1;
width: 40px;
height: 40px; }
.sidebar {
position: fixed;
top: 0px;
right: 0;
bottom: 0px;
left: -190px;
-webkit-transition: position 2s ease;
-moz-transition: position 2s ease;
transition: position 2s ease;
width: 120px;
padding: 30px;
background: #333;
z-index: 2;
background-color: #4D7874;
opacity: 0.8; }
.sidebar li {
color: white;
font-family: Palatino;
font-size: 24px;
margin-bottom: 16px;
-webkit-font-smoothing: antialiased;
cursor: pointer;
list-style: none; }
.sidebar li:hover {
color: white; }
#sidebartoggler {
display: none; }
#sidebartoggler:checked + .page-wrap .sidebar {
left: 0px; }
#sidebartoggler:checked + .page-wrap .toggle {
left: 200px; }
#sidebartoggler:checked + .page-wrap .page-content {
padding-left: 180px; }
/*# sourceMappingURL=sidebar.css.map */