-
Notifications
You must be signed in to change notification settings - Fork 0
/
Header.css
97 lines (83 loc) · 1.54 KB
/
Header.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
96
97
/* Header */
* {
box-sizing: border-box;
font-family:'Noto Sans';
}
#logo {
display: block;
margin-left: auto;
margin-right: auto;
height: 15%;
width: 15%;
}
#opening {
text-align: left;
padding-left: 10px;
}
h2 {
text-align: center;
}
h5 {
text-align: center;
}
/* Navbar container */
.navbar {
overflow: hidden;
background-color: #2e4450;
font-family: Arial;
}
/* Links inside the navbar */
.navbar a {
float: left;
font-size: 15px;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
/* The dropdown container */
.dropdown {
float: left;
overflow: hidden;
display: block;
}
/* Dropdown */
.dropdown .dropbtn {
font-size: 15px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
cursor: pointer;
}
/* Add color to navbar links on hover */
.navbar a:hover, .dropdown:hover {
background-color: #111;
}
/* Dropdown content */
.dropcontent {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 7px 14px 0px rgba(46,68,80,0.2);
}
/* Links inside the dropdown */
.dropcontent a {
float: none;
color: Black;
padding: 12px 16px;
display: block;
text-align: left;
text-decoration: none;
}
/* Add color to dropcontent on hover */
.dropcontent a:hover {
background-color: #FF6E4F;
color: white;
}
/* Show dropdown on hover */
.dropdown:hover .dropcontent {
display: block;
}