-
Notifications
You must be signed in to change notification settings - Fork 10
/
sidebar.css
54 lines (47 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
/* CSS for the sidebar */
#sidebar {
position: fixed;
display: table;
top: 0;
left: 0;
padding-right: 40px;
height: 100%;
}
#sidebar > div {
background-color: rgba(38, 50, 56, 0);
height: 100%;
-webkit-transition: background-color 0.3s;
transition: background-color 0.3s;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
#sidebar:hover > div {
background-color: rgba(38, 50, 56, 1);
}
#sidebar a {
display: block;
width: 200px;
font-family: 'Lato', sans-serif;
font-weight: 400;
font-size: 18px;
color: #E0E0E0;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
text-decoration: none;
padding: 6px 10px;
padding-right: 15px;
margin-left: -225px;
-webkit-transition: margin-left 0.25s;
transition: margin-left 0.25s;
-webkit-transition-timing-function: ease-in-out;
transition-timing-function: ease-in-out;
}
#sidebar:hover a {
margin-left: 0px;
}
#sidebar a:first-child,#sidebar a.highlighted {
border-right: solid 3px #66d9ef;
background-color: rgba(255, 255, 255, 0.1);
}
#sidebar a:hover {
background-color: rgba(255, 255, 255, 0.05);
}