-
Notifications
You must be signed in to change notification settings - Fork 0
/
style3.css
109 lines (94 loc) · 1.37 KB
/
style3.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
98
99
100
101
102
103
104
105
106
107
108
109
*
{
margin:0;
padding:0;
}
header
{
background-image:linear-gradient(rgba(0,0,100,0.5),rgba(0,110,0,0.5)),url(busmoving11.jpg);
height: 100vh;
background-size: cover;
background-position: center;
}
.main-nav
{
font-family: monospace;
float:right;
}
.main-nav li
{
font-family: monospace;
display:inline-block;
}
.main-nav li a
{
color: white;
text-decoration:none;
padding:5px 20px;
font-family:monospace;
font-size:15px;
}
.main-nav li.active a
{
border: 1px solid white;
}
.main-nav li a:hover
{
border:1px solid white;
}
.logo img
{
width: 150px;
height: auto;
float:left;
}
body
{
font-family:cursive;
}
.row
{
max-width:1200px;
margin:auto;
}
h1
{
color:white;
}
ul
{
margin: 0px;
padding: 0px;
list-style:none;
}
.sub-nav li
{
float: left;
width:185px;
height:40px;
background-color:black;
font-family: monospace;
opacity: 0.8;
line-height: 40px;
text-align: center;
font-size: 20px;
margin-right: 2px;
}
.sub-nav li a
{
text-decoration: none;
color: white;
font-size: 18px;
}
.sub-nav li a:hover
{
background-color: forestgreen;
}
ul li ul li
{
display: none;
}
ul li:hover ul li
{
display: block;
}