File tree Expand file tree Collapse file tree 3 files changed +26
-16
lines changed Expand file tree Collapse file tree 3 files changed +26
-16
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,6 @@ export default class NavBar extends Vue {
236
236
position : fixed ;
237
237
top : 0 ;
238
238
}
239
- @media screen and (max-width : 768px ) {
240
- height : 40px ;
241
- position : fixed ;
242
- top : 0 ;
243
- }
244
239
width : 100vw ;
245
240
display : flex ;
246
241
justify-content : center ;
@@ -287,13 +282,15 @@ export default class NavBar extends Vue {
287
282
}
288
283
289
284
& .logo .goHome {
285
+ font-size : var (--font-small-size );
290
286
color : var (--font-primary-color );
291
287
}
292
288
}
293
289
294
290
& .logo {
295
291
flex-basis : 40% ;
296
292
height : 100% ;
293
+ // background-color: red;
297
294
display : flex ;
298
295
justify-content : left ;
299
296
padding-left : 50px ;
@@ -313,8 +310,8 @@ export default class NavBar extends Vue {
313
310
& ::after {
314
311
content : ' ' ;
315
312
position : absolute ;
316
- width : 110 % ;
317
- height : 100 % ;
313
+ width : calc ( var ( --font-medium-size ) * 1.6 ) ;
314
+ height : calc ( var ( --font-medium-size ) * 1.6 ) ;
318
315
left : 0 ;
319
316
bottom : 0 ;
320
317
z-index : -1 ;
@@ -331,15 +328,14 @@ export default class NavBar extends Vue {
331
328
}
332
329
333
330
& img {
334
- width : 100% ;
335
- height : 100% ;
331
+ width : calc (var (--font-medium-size ) * 1.2 );
336
332
object-fit : contain ;
337
333
}
338
334
}
339
335
340
336
& .goHome {
341
337
margin-left : 10px ;
342
- font-size : var (--font-medium -size );
338
+ font-size : var (--font-small -size );
343
339
white-space : nowrap ;
344
340
color : var (--font-secondary-color );
345
341
transition : color 0.5s ease ;
@@ -368,6 +364,7 @@ export default class NavBar extends Vue {
368
364
justify-content : center ;
369
365
align-items : center ;
370
366
transition : color 0.5s ease ;
367
+ font-size : var (--font-small-size );
371
368
372
369
& svg {
373
370
width : 20px ;
Original file line number Diff line number Diff line change @@ -105,12 +105,14 @@ export default class Display extends Vue {
105
105
stroke-width =" 2"
106
106
stroke-linecap =" round"
107
107
stroke-linejoin =" round"
108
+ class =" start-svg"
108
109
>
109
110
<path d =" m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5" />
110
111
<rect x =" 2" y =" 6" width =" 14" height =" 12" rx =" 2" />
111
112
</svg >
112
113
快速上手
113
114
<svg
115
+ class =" start-svg lucide lucide-chevron-down-icon lucide-chevron-down"
114
116
xmlns =" http://www.w3.org/2000/svg"
115
117
width =" 24"
116
118
height =" 24"
@@ -120,7 +122,6 @@ export default class Display extends Vue {
120
122
stroke-width =" 2"
121
123
stroke-linecap =" round"
122
124
stroke-linejoin =" round"
123
- class =" lucide lucide-chevron-down-icon lucide-chevron-down"
124
125
:style =" { transform: isStartOpen ? 'rotate(180deg)' : 'rotate(0deg)', transition: 'transform 0.3s' }"
125
126
>
126
127
<path d =" m6 9 6 6 6-6" />
@@ -254,14 +255,13 @@ export default class Display extends Vue {
254
255
}
255
256
256
257
& .start {
257
- padding : 5 px 15px ;
258
+ padding : 10 px 15px ;
258
259
@media screen and (min-width : 768px ) {
259
260
padding : 15px 20px ;
260
261
}
261
262
@media screen and (min-width : 1700px ) {
262
263
padding : 20px 25px ;
263
264
}
264
- background-color : transparent ;
265
265
border : none ;
266
266
outline : none ;
267
267
border-radius : 100px ;
@@ -282,6 +282,17 @@ export default class Display extends Vue {
282
282
color : var (--font-primary-color );
283
283
}
284
284
}
285
+
286
+ & .start-svg {
287
+ width : calc (var (--font-small-size ) * 1.5 );
288
+ height : calc (var (--font-small-size ) * 1.5 );
289
+ min-width : 0 ;
290
+ min-height : 0 ;
291
+ max-width : 100% ;
292
+ max-height : 100% ;
293
+ display : inline-block ;
294
+ vertical-align : middle ;
295
+ }
285
296
}
286
297
287
298
.content {
Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ export default class Releases extends Vue {
45
45
background-color : var (--bg-color );
46
46
display : flex ;
47
47
flex-direction : column ;
48
- justify-content : space-between ;
49
-
48
+ justify-content : space-around ;
50
49
align-items : center ;
51
50
52
51
&-header {
@@ -71,7 +70,10 @@ export default class Releases extends Vue {
71
70
}
72
71
.old-version {
73
72
position : absolute ;
74
- bottom : 200px ;
73
+ bottom : 300px ;
74
+ @media screen and (max-width : 1200px ) {
75
+ bottom : 250px ;
76
+ }
75
77
transform : translateY (50px );
76
78
font-size : var (--font-small-size );
77
79
color : var (--font-secondary-color );
You can’t perform that action at this time.
0 commit comments