-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (79 loc) · 1.25 KB
/
style.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
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
background-size:cover;
background-position:center;
box-sizing:border-box;
font-family:sans-serif;
background-color:#9c27b03d;
}
.menu{
background:rgb(0,100,0);
text-align:center;
width:100%;
}
.menu ul{
display:inline-flex;
list-style:none;
color:#fff;
}
.menu ul li{
width:120px;
margin:15px;
padding:15px;
}
.menu ul li a{
text-decoration:none;
color:white;
}
.active, .menu ul li:hover{
background:#2bab0d;
border-radius:3px;
}
.menu ,.fa{
margin-right:8px;
}
.sub-menu-1{
display:none;
}
.menu ul li:hover .sub-menu-1{
display:block;
position:absolute;
background-color:rgb(0,100,0);
margin-top:15px;
margin-left:-15px;
}
.menu ul li:hover .sub-menu-1 ul{
display:block;
margin:10px;
}
.menu ul li:hover .sub-menu-1 ul li{
width:150px;
padding:10px;
border-bottom:1px dotted #fff;
background:transparent;
border-radius:0;
text-align:left;
}
.menu ul li:hover .sub-menu-1 ul li:last-child{
border-bottom:none;
}
.menu ul li:hover .sub-menu-1 ul li a:hover{
color:#b2ff00;
}
.fa-angle-right{
float:right;
}
.sub-menu-2{
display:none;
}
.hover-me:hover .sub-menu-2{
position:absolute;
display:block;
margin-top:-40px;
margin-left:140px;
background:rgb(0,100,0);
}