-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
54 lines (46 loc) · 719 Bytes
/
Copy pathstyles.css
File metadata and controls
54 lines (46 loc) · 719 Bytes
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
.btn {
display: inline-block;
padding: 0.75rem 1rem;
background: #333;
color: #fff;
font-size: 2rem;
text-decoration: none;
text-transform: uppercase;
}
.btn:hover {
background: #1ce;
color: #333;
}
.sidebar {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: 300px;
background: #333;
transition: transform 0.3s ease-out;
}
.sidebar ul {
margin: 0;
padding: 0;
}
.sidebar li {
list-style: none;
}
.sidebar li + li {
border-top: 1px solid #fff;
}
.sidebar a {
display: block;
padding: 1rem 1.5rem;
color: #fff;
text-align: center;
text-decoration: none;
}
.sidebar a:hover {
background: #1ce;
color: #333;
}
.is-hidden {
transform: translateX(300px);
}