-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.css
More file actions
55 lines (48 loc) · 916 Bytes
/
Copy pathsidebar.css
File metadata and controls
55 lines (48 loc) · 916 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
55
.sidebar {
height: 100%;
width: 15%;
position: fixed;
top: 0;
right: 0;
background-color: #333;
padding-top: 20px;
}
.sidebar a {
padding: 10px 15px;
text-decoration: none;
font-size: 18px;
color: white;
display: block;
text-align: center;
font-family: 'Poppins', sans-serif;
}
.underline-onload {
text-decoration: underline;
}
.sidebar a:hover {
background-color: #555;
}
.content {
margin-right: 15%;
padding: 20px;
}
@media screen and (max-width: 600px) {
.sidebar {
width: 15%;
}
.content {
margin-right: 15%;
margin-left: 0%;
}
}
@media screen and (max-width: 400px) {
.sidebar {
width: 100%;
position: relative;
}
.content {
margin-right: 0;
margin-left: 0;
text-align: center;
}
}