-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
197 lines (145 loc) · 2.78 KB
/
style.css
File metadata and controls
197 lines (145 loc) · 2.78 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-image: linear-gradient(rgba(0, 0, 0,.2),rgba(0, 0, 0,.2)),url('/img/bg.jpg');
background-size: cover;
background-position: center;
height: 100vh;
width: 100vw;
box-sizing: border-box;
}
/* menu button */
.nav-btn{
display: none;
}
/* navbar */
.navbar{
display: flex;
width: 100%;
background-color: #016463;
}
.logo{
position: absolute;
left: 45px;
top: 11px;
font-family: cursive;
text-shadow: 0px 10px 0px #00000054
}
.logo h2{
color: white;
}
.navbar ul{
display: inline-flex;
text-align: center;
margin: auto;
}
.navbar ul li{
list-style: none;
margin: 13px 4px;
padding: 10px 40px;
cursor: pointer;
}
.navbar ul li a{
text-decoration: none;
color: white;
font-weight: 600;
}
.active,.navbar ul li:hover{
background-color: rgb(0 119 118);
border-radius: 3px;
transition: .5s;
}
/* training hover */
.sub-mode{
display: none;
}
.navbar ul li:hover .sub-mode{
display: block;
position: absolute;
background-color: #016463;
margin-top: 10px;
margin-left: -50px;
padding: 10px;
}
.navbar ul li:hover .sub-mode ul{
display: block;
margin: 10px;
margin: 5px 0px;
}
.navbar ul li:hover .sub-mode ul li{
width: 130px;
padding: 10px;
border-bottom: 1px dotted white;
text-align: left;
}
.navbar ul li:hover .sub-mode ul :last-child{
border-bottom: none;
}
.navbar ul li:hover .sub-mode ul li i{
float: right;
}
.navbar ul li:hover .sub-mode ul li a:hover{
color: rgb(206, 206, 206)
}
/* inside training */
.mode{
display: none;
}
.sub-mode ul li:hover .mode{
display: block;
position: absolute;
background-color: #016463;
padding: 10px;
margin-left: 120px;
margin-top: -35px;
}
/* dropdowns services */
.sub-service{
display: none;
}
.navbar ul li:hover .sub-service{
display: block;
position: absolute;
margin-top: 10px;
background-color: #016463;
margin-left: -80px;
}
.navbar ul li:hover .sub-service ul{
display: block;
padding: 10px;
}
.navbar ul li:hover .sub-service ul li{
border-bottom: 1px dotted white;
text-align: left;
}
.sub-service ul li a{
position: relative;
left: -30px;
}
.sub-service ul li:last-child{
border-bottom: none;
}
.sub-service ul i{
position: relative;
left: 45px;
float: right;
}
/* inside service */
.inter-card{
display: none;
}
.sub-service ul li:hover .inter-card{
display: block;
position: absolute;
background-color: #016463;
margin-left: 189px;
margin-top: -40px;
}
.inter-card ul li a{
width: 141px;
display: block;
left: 0;
}