-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.less
104 lines (85 loc) · 1.82 KB
/
style.less
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
@url: 'https://website.com';
:root {
--mainColor1: rgb(42, 202, 42);
--mainColor2: rgb(26, 26, 26);
}
// General
body {
font-family: 'Arial', sans-serif;
}
.main-grid {
max-width: 1250px;
margin: 0 auto;
}
// Header
.main-header {
background: #151515;
height: 60px;
padding: 5px 0;
.header-grid {
max-width: 1470px;
padding: 0 15px;
margin: 0 auto;
width: 100%;
justify-content: space-between;
}
.custom-logo-link {
display: block;
max-width: 250px;
}
.menu {
display: flex;
li:not(:last-of-type) {
margin-right: 10px;
}
a {
position: relative;
color: #fff;
&::before {
content: "";
height: 1px;
position: absolute;
background: #fff;
width: 0;
bottom: -5px;
transition: width .2s;
}
&:hover::before {
width: 10px;
}
}
}
.menu-item-has-children:hover .sub-menu {
opacity: 1;
}
.sub-menu {
position: absolute;
opacity: 0;
}
}
// Footer
.subfooter {
background: #1e1e1e;
color: #fff;
text-align: center;
padding: 7px 0;
font-size: 0.9em;
.developed a {
color: #1c99c8;
}
.main-grid {
width: 100%;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin: 0 auto;
padding: 10px 15px;
> div {
margin: 0 5px;
}
}
}