-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflexNav.css
More file actions
80 lines (78 loc) · 1.37 KB
/
Copy pathflexNav.css
File metadata and controls
80 lines (78 loc) · 1.37 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
@charset "utf-8";
body {
margin: 0;
}
/* ---------- header ---------- */
header {
background-color: rgb(89, 116, 89);
color: white;
width: 100%; height: 150px;
display: flex;
justify-content: center;
align-items: center;
}
header h1 {
margin: 0;
}
/* ---------- main ---------- */
main menu {
list-style: none;
}
/*
main menu .hidden {
visibility: hidden;
position: fixed;
top: 200px;
}
*/
main .title {
display: flex;
flex-direction: column;
}
main menu {
background-color: #ddd;
margin: 0; height: 50px;
display: flex;
justify-content: center;
padding: 0;
}
main menu .menu {
width: 200px;
text-align: center;
line-height: 50px;
}
main .menu a {
font-size: 22px;
font-weight: bold;
color: rgb(5, 83, 5);
display: block;
height: 50px;
text-decoration: none;
}
main .menu a:hover {
background-color: rgb(5, 83, 5);
color: white;
}
main .hidden {
font-size: 20px;
background-color: rgb(150, 201, 150);
height: 200px;
margin: 0;
display: flex;
flex-direction: column;
padding: 0;
text-align: center;
}
main .hidden li {
display: inline;
height: 40px; width: 200px;
}
main .hidden li a {
display: block;
height: 40px;
list-style: none;
}
main .hidden li a:hover {
background-color: #9fbba4;
color: rgb(5, 83, 5);
}