-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
97 lines (87 loc) · 1.67 KB
/
style.css
File metadata and controls
97 lines (87 loc) · 1.67 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
p{
border-bottom: 20px dotted black;
font-style: italic;
}
h1{
float: center;
font-family: sans-serif;
color: red;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-image: url(./img/af.jpg);
background-size: cover;
background-position: cover;
background-position: center;
font-family: sans-serif;
}
.menu-bar{
background: rgb(0,100,0);
text-align: center;
}
.menu-bar ul{
display: inline-flex;
list-style: none;
color: #fff;
}
.menu-bar ul li{
width: 120px;
margin: 15px;
padding: 15px;
}
.menu-bar ul li a{
text-decoration: none;
color: white;
}
.active, .menu-bar ul li:hover
{
background-color: #2bab0d;
border-radius: 5px;
}
.menu-bar .fa{
margin-right:8px;
}
.sub-menu-1 {
display: none;
}
.menu-bar ul li :hover, .sub-menu-1 {
display: block;
position: absolute;
background-color: rgb(0,100,0);
margin-top: 15px;
margin-left: -15px;
}
.menu-bar ul li :hover, .sub-menu-1 ul{
display: block;
margin: 10px;
border-radius: 3px;
}
.menu-bar ul li :hover, .sub-menu-1 ul li {
width: 150px;
padding:10px;
border-bottom:1px solid #fff;
text-align: left;
}
.menu-bar ul li :hover, .sub-menu-1 ul li:last-child{
border-bottom: none;
}
.menu-bar ul li :hover, .sub-menu-1 ul li a:hover{
color:#2bab0d;
}
.fa-angle-right{
float: right;
}
.sub-menu-2{
display: none;
}
.hover-me:hover .sub-menu-2{
display: block;
position: absolute;
background-color: #2bab0d;
margin-top: -40px;
margin-left: 140px;
}