-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
192 lines (162 loc) · 3.22 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
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
/*General settings*/
html {
box-sizing: border-box;
font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial,
sans-serif;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
margin: 0;
min-height: 100vh;
}
/*nav bar settings*/
nav {
position: relative;
perspective: 600px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.nav-bar>li {
position: relative;
display: flex;
justify-content: center;
}
.nav-bar>li>a {
color: #000;
font-size: 1em;
padding: 10px 20px;
margin: 20px;
text-decoration: none;
display: inline-block;
}
.nav-link-dropdown,
.sub-link-menu {
padding-left: 15px;
}
.sub-link-menu {
color: #afafaf;
white-space: nowrap;
}
.sub-link-menu:hover {
color: #565656;
}
.dropdown {
opacity: 0;
display: none;
position: absolute;
overflow: hidden;
padding: 20px;
top: -20px;
border-radius: 2px;
transition: all 0.5s;
transform: translateY(100px);
will-change: opacity;
}
/*general link settings*/
.dropdown a {
text-decoration: none;
color: #000;
}
a.button {
background: black;
display: block;
padding: 10px;
color: white;
margin-bottom: 10px;
}
/*first submenu settings*/
.menu-sub-icon {
width: 40px;
height: 40px;
float: left;
}
.menu-sub-main-text {
margin-left: 15px;
}
.cols-wrapper {
display: flex;
}
.cols-sections>.list-container>.col-title {
font-size: 0.8em !important;
float: left !important;
text-transform: uppercase;
display: block;
margin-bottom: 50px;
text-align: left !important;
}
.cols-wrapper>.cols-sections {
display: inline-block !important;
padding: 0;
}
.list-container {
padding: 0;
margin: 0 auto;
list-style: none;
display: inline-block;
}
.list-item {
padding: 10px 0 10px 0;
width: 260px;
height: auto;
margin: 0 auto;
line-height: 20px;
color: #000;
font-size: 0.8em;
text-align: left;
float: left;
}
/*trigger events settings*/
.trigger-enter .dropdown {
display: block;
}
.trigger-enter-active .dropdown {
opacity: 1;
}
.dropdownBackground {
width: 100px;
height: 100px;
position: absolute;
background: #fff;
border-radius: 4px;
box-shadow: 0 50px 100px rgba(50, 50, 93, 0.1),
0 15px 35px rgba(50, 50, 93, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s, opacity 0.1s, transform 0.2s;
transform-origin: 50% 0;
display: flex;
justify-content: center;
opacity: 0;
}
.dropdownBackground.open {
opacity: 1;
}
.arrow {
position: absolute;
width: 15px;
height: 15px;
display: block;
background: white;
transform: translateY(-50%) rotate(45deg);
}
/*second and third submenu settings*/
.usecases {
min-width: 260px;
}
.usecases li, .pricing li {
font-size: 0.8em;
line-height: 20px;
padding: 10px 0 10px 0;
display: block;
}
.sub-pad {
padding-left: 34px;
line-height: 25px;
}