1
1
@import "_settings"
2
2
$mobile-bar-height = 40px
3
3
$vs-banner-height-desktop = 80px
4
- $vs-banner-height-mobile = 50 px
4
+ $vs-banner-height-mobile = 80 px
5
5
$menu-height = 63px
6
6
7
7
body .has-vs-banner
@@ -49,11 +49,11 @@ body.has-vs-banner
49
49
top : 160px
50
50
51
51
#vs
52
- font-family "Roboto " , sans-serif
52
+ font-family "Archivo " , sans-serif
53
53
z-index : 8
54
54
box-sizing : border-box
55
55
color : #F F F
56
- background : #20 2A 5A
56
+ background-color : #00 0c 19
57
57
display : flex
58
58
align-items : center
59
59
position : fixed
@@ -66,86 +66,140 @@ body.has-vs-banner
66
66
justify-content : center
67
67
min-height : $vs-banner-height-desktop
68
68
@media (min-width : 900px )
69
- position : static
69
+ position : relative
70
+ background-image : none
70
71
71
72
& .vs-hidden
72
73
display : none
73
74
74
75
& :hover
75
76
.vs-core
76
77
.vs-button
77
- background : #f2 26 06
78
-
79
- .vs-iso
80
- display : none
81
- position : absolute
82
- left : 20px
83
- height : 26px
84
- img
85
- height : 26px
86
- @media (min-width : 680px )
87
- display : inline-block
88
- height : 40px
89
- img
90
- height : 40px
91
- @media (min-width : 900px )
92
- display : none
93
-
94
- .vs-logo
95
- position : absolute
96
- display : none
97
- left : 40px
98
- @media (min-width : 900px )
99
- display : block
78
+ background : linear-gradient (261deg , #e6 14 63 100% , #db 52 48 3% );
100
79
101
80
.vs-core
102
81
display : flex
103
82
align-items : center
104
83
105
- .vs-backpack
106
- margin-right : 14px
107
- img
108
- height : 50px
109
- @media (min-width : 680px )
110
- height : 74px
111
-
112
84
.vs-slogan
85
+ font-family : Archivo
113
86
color : #F F F
114
- font-weight : bold
115
- font-size : 14px
116
- width : 150px
117
- text-align : center
118
- margin-left : 40px
119
- @media (min-width : 400px )
120
- margin-left : 60px
87
+ margin-left : 8px
121
88
@media (min-width : 680px )
122
- margin-left : 0
123
- width : auto
124
- text-align : left
125
- font-size : 18px
126
- > .vs-slogan-light
127
- color : #ff 53 38
128
- text-align : left
129
- @media (min-width : 900px )
130
- text-align : center
131
- display : inline
89
+ margin-left : 24px
90
+ .vs-slogan-subtitle
91
+ font-size : 12px
92
+ @media (min-width : 680px )
93
+ font-size : 14px
94
+ .vs-slogan-title
95
+ margin-top : 6px
96
+ font-size : 16px
97
+ font-weight : 600
98
+ @media (min-width : 680px )
99
+ font-size : 18px
100
+ strong
101
+ color : #ff ae 29
102
+ font-weight : 600
132
103
133
104
.vs-button
134
- margin-left : 43 px
105
+ margin-left : 16 px
135
106
color : #F F F
136
- padding : 13px 24px
137
- border-radius : 40px
138
- display : none
139
- background : #ff 53 38
140
- font-weight : bold
107
+ padding : 7px 10px
108
+ border-radius : 4px
109
+ background : linear-gradient (to left , #e6 1b 60 , #dd 4a 4c )
110
+ font-weight : 600
111
+ white-space : nowrap
112
+ margin-right : 30px
113
+ @media (min-width : 680px )
114
+ margin-right : 0
115
+ padding : 8px 24px
116
+ margin-left : 32px
141
117
@media (min-width : 680px )
142
- display : inline-block
118
+ margin-left : 69 px
143
119
144
120
.vs-close
145
- right : 10 px
121
+ right : 6 px
146
122
position : absolute
147
- padding : 10px
148
123
@media (min-width : 680px )
124
+ right : 10px
125
+ padding : 10px
149
126
right : 20px
150
127
& :hover
151
- color : #56 D8 FF
128
+ color : #56 D8 FF
129
+
130
+ .vs-blackfriday-coins {
131
+ overflow : hidden ;
132
+ position : absolute ;
133
+ bottom : 0 ;
134
+ right : 0 ;
135
+ top : 0 ;
136
+ left : 0 ;
137
+ z-index : 0 ;
138
+ }
139
+
140
+ .vs-blackfriday-coin {
141
+ display : none ;
142
+ }
143
+
144
+ @media (min-width : 768px ) {
145
+ .vs-blackfriday-coins {
146
+ background-image : url (/images /banners /vueschool_blackfriday_background_tablet .svg );
147
+ background-position : center ;
148
+ background-size : cover ;
149
+ }
150
+ }
151
+
152
+ @media (min-width : 1024px ) {
153
+ .vs-blackfriday-coins {
154
+ background : transparent ;
155
+ }
156
+
157
+ #vs :hover .vs-blackfriday-coin.left {
158
+ transform : translateX (- 600px );
159
+ transition : transform 30s linear ;
160
+ }
161
+
162
+ #vs :hover .vs-blackfriday-coin.right {
163
+ transform : translateX (600px );
164
+ transition : transform 30s linear ;
165
+ }
166
+
167
+ .vs-blackfriday-coin {
168
+ display : inline-block ;
169
+ position : absolute ;
170
+ transition : transform 5s linear ;
171
+ transform : translateX (0 );
172
+ }
173
+
174
+ .vs-blackfriday-coin.js {
175
+ width : 43px ;
176
+ top : 32px ;
177
+ left : calc (50% - 341px );
178
+ }
179
+
180
+ .vs-blackfriday-coin.ts {
181
+ top : 0 ;
182
+ left : 0 ;
183
+ width : 54px ;
184
+ left : calc (50% + 457px );
185
+ }
186
+
187
+ .vs-blackfriday-coin.vue {
188
+ top : 18px ;
189
+ width : 60px ;
190
+ left : calc (50% + 586px );
191
+ }
192
+
193
+ .vs-blackfriday-coin.vuex {
194
+ top : 23px ;
195
+ left : 0 ;
196
+ width : 56px ;
197
+ left : calc (50% - 620px );
198
+ }
199
+
200
+ .vs-blackfriday-coin.nuxt {
201
+ top : 10px ;
202
+ width : 48px ;
203
+ left : calc (50% - 474px );
204
+ }
205
+ }
0 commit comments