-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathstyles.css
More file actions
113 lines (96 loc) · 1.77 KB
/
Copy pathstyles.css
File metadata and controls
113 lines (96 loc) · 1.77 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
text-decoration: none;
font-family: 'Montserrat', sans-serif;
}
.wrapper{
width: 100%;
height: 100%
}
.navbar{
width: 100%;
height: 60px;
background: #9972bf;
}
.navbar > ul{
display: flex;
justify-content: center;
}
.navbar ul li{
position: relative;
}
.navbar ul li a{
display: block;
color: #fff;
height: 60px;
width: 180px;
text-align: center;
padding: 20px 10px;
letter-spacing: 2px;
text-transform: uppercase;
transition: all 0.2s ease;
}
.navbar ul > li a{
margin-right: 1px;
}
.navbar ul > li:last-child a{
margin-right: 0;
}
.navbar ul li a .icon {
width: 25px;
display: inline-block;
}
.navbar ul li a:hover,
.navbar ul li a.a_parent.active,
.navbar .dd_menu ul li a:hover,
.navbar .dd_menu ul li a.active{
background: #c279b7;
}
.navbar .dd_menu{
position: absolute;
top: 80px;
left: 0;
display: none;
}
.navbar .dd_menu ul li a{
width: 180px;
background: #9972bf;
text-align: left;
padding: 20px;
}
.navbar .dd_menu:before {
content: "";
position: absolute;
top: -30px;
left: 50%;
transform: translateX(-50%);
z-index: 1;
border: 15px solid;
border-color: transparent transparent #9972bf transparent;
}
.navbar ul li a.a_parent.active + .dd_menu{
display: block;
}
.dd_submenu {
position: absolute;
top: 0;
left: 115%;
width: 100%;
display: none;
}
.dd_submenu:before {
content: "";
position: absolute;
top: 15px;
left: -30px;
z-index: 1;
border: 15px solid;
border-color: transparent #9972bf transparent transparent;
}
.navbar ul li a.dd_menu_a.active + .dd_submenu{
display: block;
}