File tree Expand file tree Collapse file tree 2 files changed +35
-17
lines changed Expand file tree Collapse file tree 2 files changed +35
-17
lines changed Original file line number Diff line number Diff line change 6
6
<div class =" try-container" >
7
7
<Section --background =" var(--background-2)" >
8
8
<div class =" grid" style =" --columns: 2" >
9
- <div class =" try" >
10
- <TryTerminal />
11
- </div >
12
9
<div class =" copy" >
13
10
<h2 >see for yourself</h2 >
14
11
<div >
15
- Try it locally, <a target =" _blank" rel =" noreferrer" href =" https://sveltekit.new" >on StackBlitz</a >, or<br />
16
- with <a target =" _blank" href =" https://learn.svelte.dev" >the interactive tutorial</a >.
12
+ Try it locally, <a target =" _blank" rel =" noreferrer" href =" https://sveltekit.new"
13
+ >on StackBlitz</a
14
+ >, or with
15
+ <a target =" _blank" href =" https://learn.svelte.dev" >the interactive tutorial</a >.
17
16
</div >
18
17
</div >
18
+
19
+ <div class =" try" >
20
+ <TryTerminal />
21
+ </div >
19
22
</div >
20
23
</Section >
21
24
</div >
41
44
42
45
.grid {
43
46
display : grid ;
44
- gap : 1 em ;
47
+ gap : 2 em ;
45
48
margin : 0 0 4rem 0 ;
46
49
}
47
50
48
51
.grid :last-child {
49
52
margin-bottom : 0 ;
50
53
}
51
54
52
- @media (min-width : 900px ) {
53
- .grid {
54
- grid-template-columns : repeat (var (--columns ), 1fr );
55
- gap : 7rem ;
56
- }
57
- }
58
-
59
55
.try {
60
56
width : 100% ;
61
57
margin : 0 auto ;
64
60
}
65
61
66
62
.copy {
67
- text-align : center ;
68
- margin : 0 0 8rem ;
63
+ text-align : left ;
69
64
}
70
65
71
66
h2 {
72
67
display : inline-block ;
73
68
width : 25rem ;
74
- margin : 4 rem 0 1rem ;
69
+ margin : 0 0 1rem ;
75
70
font-size : var (--sk-text-xl );
76
- text-align : justify ;
77
71
}
78
72
79
73
a {
80
74
color : inherit ;
81
75
text-decoration : underline ;
82
76
}
77
+
78
+ @media (min-width : 900px ) {
79
+ .grid {
80
+ grid-template-columns : repeat (var (--columns ), 1fr );
81
+ gap : 7rem ;
82
+ }
83
+
84
+ .copy {
85
+ display : flex ;
86
+ flex-direction : column ;
87
+ align-items : center ;
88
+ justify-content : center ;
89
+ order : 2 ;
90
+ }
91
+
92
+ .copy div {
93
+ max-width : 15em ;
94
+ text-align : center ;
95
+ }
96
+ }
83
97
</style >
Original file line number Diff line number Diff line change @@ -5,5 +5,9 @@ import adapter from '@sveltejs/adapter-vercel';
5
5
export default {
6
6
kit : {
7
7
adapter : adapter ( )
8
+ } ,
9
+
10
+ vitePlugin : {
11
+ inspector : true
8
12
}
9
13
} ;
You can’t perform that action at this time.
0 commit comments