-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
95 lines (84 loc) · 1.48 KB
/
style.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
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
95
body, ul, li, p {
margin: 0px;
list-style: none;
font-family: "lato", sans-serif;
}
#logo {
margin-left: 1em;
width: 30px;
max-width: auto;
padding: 0;
}
img {
max-width: 100%;
}
.header {
top: 0;
width: 100%;
position: fixed;
background-color: grey;
display: flex;
flex-wrap: wrap;
padding: 0;
align-items: center;
justify-content: space-between;
}
.menu {
display: flex;
flex-wrap: wrap;
}
.menu li {
font-size: 0.7em;
justify-content: space-between;
display: block;
padding: 11px;
}
menu li a {
font-size: 0.2em;
justify-content: space-between;
display: block;
}
.sidebar {
margin: 0;
padding: 0;
width: 200px;
background-color: #f1f1f1;
position: fixed;
height: 100%;
overflow: auto;
}
.sidebar a {
display: block;
color: black;
padding: 10px;
text-decoration: none;
}
.sidebar a.active {
background-color: grey;
color: white;
}
.sidebar a:hover:not(.active) {
background-color: rgb(71, 69, 69);
color: white;
}
div.content {
margin-top: 35px;
margin-left: 200px;
padding: 1px 16px;
height: 1000px;
}
@media screen and (max-width:700px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.sidebar a {float: left;}
div.content {margin-left: 0;}
}
@media screen and (max-width:400px) {
.sidebar a {
text-align: center;
float: none;
}
}