-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
94 lines (79 loc) · 1.25 KB
/
styles.css
File metadata and controls
94 lines (79 loc) · 1.25 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
html {
font-family: Sans-Serif;
}
body {
margin: 0;
line-height: 1.6;
}
br {
margin-bottom: 20px;
}
p, ul {
margin-left: 20px;
}
li a:hover {
background-color: #e9e9e9;
}
#navbar {
position: fixed;
background-color: #e1e1e1;
margin: 0;
padding: 0;
width: 25%;
}
#navbar header {
color: #000000;
text-align: center;
}
.sidenav {
list-style-type: none;
position: fixed;
margin: 0;
padding: 0;
width: 25%;
background-color: #f1f1f1;
height: 100%;
overflow: auto;
}
.nav-link {
display: block;
color: #000000;
padding: 8px 16px;
text-decoration: none;
}
.main-section {
margin-left: 25%;
padding: 1px 16px;
}
@media screen and (max-width: 900px) {
#navbar {
width: 100%;
position: relative;
padding-top: 10px;
height: auto;
}
.sidenav {
width: 100%;
height: auto;
position: relative;
}
.sidenav li a {
float: left;
padding: 15px;
}
.main-section {
margin-left: 0;
}
}
@media screen and (max-width: 400px) {
.sidenav li a {
text-align: center;
float: none;
}
}
code {
display: block;
background-color: #f1f1f1;
margin: 10px;
padding: 10px;
}