-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
72 lines (64 loc) · 1.15 KB
/
main.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
html{
font-family: "Courier New", sans-serif;
}
h1{
text-align: center;
font-family: Courier, sans-serif;
}
.nav {
list-style-type: none;
margin: auto;
padding: 0;
overflow: hidden;
background: linear-gradient(to right, white, #88aa88, #66aa66, #88aa88, white);
text-align: center;
}
.nav li {
display: inline;
}
.nav a, .dropbtn {
padding: 10px;
display: inline-block;
color: #000000;
text-align: center;
text-decoration: none;
border-radius: 2px;
font-weight: 600;
}
li a:hover {
color: #ffffff;
background-color: #000000;
}
li.dropdown{
display: inline-block;
}
li.dropdown a{
border-radius: 2px 2px 0 0;
}
.dropdown-content{
display: none;
position:absolute;
background-color: #447744;
border-radius: 0 0 2px 2px;
}
.dropdown-content a{
display: block;
text-align: left;
}
.dropdown-content a:hover{
background-color: #000000;
color:white;
}
.dropdown-content a:hover .dropdown{
background-color: #666666;
}
.dropdown:hover .dropdown-content{
display: block;
}
body{
width: 75%;
margin: auto;
}
#contact{
text-align: center;
}