2
2
-webkit-box-sizing : border-box;
3
3
box-sizing : border-box;
4
4
scroll-behavior : smooth;
5
+ font-size : 16px ;
5
6
}
6
7
7
8
* ,
14
15
a {
15
16
color : inherit;
16
17
text-decoration : none;
18
+ cursor : pointer;
17
19
}
18
20
19
21
body {
@@ -29,14 +31,28 @@ body::-webkit-scrollbar {
29
31
}
30
32
31
33
img {
32
- width : 100% ;
34
+ max-width : 100% ;
35
+ }
36
+
37
+ input [type = "number" ]::-webkit-outer-spin-button ,
38
+ input [type = "number" ]::-webkit-inner-spin-button {
39
+ -webkit-appearance : none;
40
+ margin : 0 ;
41
+ }
42
+ input [type = "number" ] {
43
+ -moz-appearance : textfield;
44
+ }
45
+ input [type = "number" ]: hover ,
46
+ input [type = "number" ]: focus {
47
+ -moz-appearance : number-input;
33
48
}
34
49
35
50
.container {
51
+ position : relative;
36
52
width : 100% ;
37
53
max-width : 1700px ;
38
54
margin : 0 auto;
39
- padding : 0 50 px ;
55
+ padding : 0 var ( --container-padding ) ;
40
56
}
41
57
42
58
.ul {
@@ -45,12 +61,18 @@ img {
45
61
list-style-type : none;
46
62
}
47
63
48
- .text {
64
+ .heading {
49
65
margin : 0 ;
66
+ margin-bottom : 25px ;
67
+ font-weight : 400 ;
68
+ font-size : 48px ;
69
+ line-height : 1 ;
70
+ color : # 333 ;
50
71
}
51
72
52
- /* .link {
53
- } */
73
+ .text {
74
+ margin : 0 ;
75
+ }
54
76
55
77
.btn {
56
78
cursor : pointer;
@@ -59,110 +81,36 @@ img {
59
81
color : # fff ;
60
82
}
61
83
62
- .burger {
63
- position : relative;
64
- width : 36px ;
65
- height : 28px ;
66
- flex-shrink : 0 ;
67
- }
68
- .burger [class *= "bar-" ] {
69
- position : relative;
70
- background : # fff ;
71
- display : block;
72
- height : 13% ;
73
- margin-bottom : 24% ;
74
- transition-property : background-color, transform;
75
- transition-duration : 0.2s ;
76
- transition-timing-function : ease;
77
- }
78
- .burger : hover [class *= "bar-" ] {
79
- background-color : # 9d5cd0 ;
80
- }
81
- .burger : focus ,
82
- .burger : focus-visible {
83
- outline : none;
84
- }
85
- .burger : focus [class *= "bar-" ],
86
- .burger : focus-visible [class *= "bar-" ] {
87
- background-color : # 9d5cd0 ;
88
- outline : none;
89
- }
90
- .burger : active : focus ,
91
- .burger : active : focus-visible {
92
- outline : none;
93
- }
94
- .burger : active : focus [class *= "bar-" ],
95
- .burger : active : focus-visible [class *= "bar-" ] {
96
- background-color : # 7943a4 ;
97
- outline : none;
98
- }
99
-
100
- .burger .burger__bar-top {
101
- width : 100% ;
102
- }
103
- .burger .burger__bar-mid {
104
- width : 78% ;
105
- }
106
- .burger .burger__bar-bot {
107
- width : 66% ;
108
- margin-bottom : 0 ;
109
- }
110
- .burger .is-active [class *= "bar-" ] {
111
- transform : scaleX (0% );
112
- }
113
-
114
- .burger__closer {
115
- position : relative;
116
- width : 29px ;
117
- height : 29px ;
118
- margin-bottom : 46px ;
119
- cursor : pointer;
120
- }
121
- .burger__closer [class *= "closer-" ] {
84
+ .visually-hidden {
85
+ width : 1px ;
86
+ height : 1px ;
87
+ clip : rect (1px , 1px , 1px , 1px );
88
+ opacity : 0 ;
122
89
position : absolute;
123
- top : 44.8% ;
124
- left : -11% ;
125
- background : # fff ;
126
- width : 127.6% ;
127
- display : block;
128
- height : 10.3% ;
129
- transition-property : background-color, transform;
130
- transition-duration : 0.2s ;
131
- transition-delay : 0.2s ;
132
- transition-timing-function : ease;
133
- }
134
- .burger__closer-l {
135
- transform : rotate (45deg );
136
90
}
137
- .burger__closer-r {
138
- transform : rotate (-45deg );
91
+ .complete-hidden {
92
+ width : 1px ;
93
+ height : 1px ;
94
+ clip : rect (1px , 1px , 1px , 1px );
95
+ opacity : 0 ;
96
+ visibility : hidden;
97
+ position : absolute;
139
98
}
140
99
141
- .search {
142
- position : relative;
143
- background-color : transparent;
144
- padding : 0 ;
145
- padding-left : 0 ;
146
- padding-bottom : 2px ;
147
- border : none;
148
- border-bottom : 1px solid # fff ;
149
- color : # fff ;
150
- }
151
- .search ::placeholder {
152
- color : # fff ;
153
- opacity : 0.85 ;
100
+ @media screen and (max-width : 1920px ) {
101
+ /* for adaptive */
154
102
}
155
103
156
104
@media screen and (max-width : 576px ) {
157
- .container {
158
- padding : 0 15px ;
105
+ .heading {
106
+ font-size : 28px ;
107
+ margin-bottom : 16px ;
159
108
}
160
109
161
110
.burger {
162
111
width : 25px ;
163
112
height : 18px ;
164
113
}
165
-
166
114
.burger [class *= "bar-" ] {
167
115
height : 11.1% ;
168
116
margin-bottom : 24% ;
@@ -176,12 +124,10 @@ img {
176
124
.burger .burger__bar-bot {
177
125
width : 40% ;
178
126
}
179
- }
180
127
181
- @media screen and (max-width : 320px ) {
182
128
.burger__closer {
183
129
width : 15px ;
184
130
height : 15px ;
185
131
margin-bottom : 21px ;
186
132
}
187
- }
133
+ }
0 commit comments