File tree Expand file tree Collapse file tree 2 files changed +22
-12
lines changed
apps/svelte.dev/src/routes/_home Expand file tree Collapse file tree 2 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 1
1
<div class =" outer" >
2
2
<p class =" definition" >
3
- <em >/ˈsvɛlt/</em >
3
+ <enhanced:img
4
+ class =" pronunciation"
5
+ alt =" Svelte pronunciation guide"
6
+ src =" ./svelte-pronunciation.svg"
7
+ />
8
+
4
9
<span class =" description" >
5
10
<span class =" adjective" ></span > attractively thin, graceful and stylish
6
11
</span >
23
28
<div class =" screenshots" >
24
29
<a href =" https://survey.stackoverflow.co/2024/technology#2-web-frameworks-and-technologies" >
25
30
<enhanced:img
31
+ class =" screenshot"
26
32
alt =" Stack Overflow 2024 Developer Survey"
27
33
src =" ./stack-overflow.png?w=1200,1600"
28
34
></enhanced:img >
29
35
</a >
30
36
31
37
<a href =" https://2023.stateofjs.com/en-US/libraries/front-end-frameworks/" >
32
- <enhanced:img alt =" State of JavaScript 2023" src =" ./state-of-js-chart.png?w=1000,1400"
38
+ <enhanced:img
39
+ class =" screenshot"
40
+ alt =" State of JavaScript 2023"
41
+ src =" ./state-of-js-chart.png?w=1000,1400"
33
42
></enhanced:img >
34
43
</a >
35
44
36
45
<a href =" https://x.com/flaviocopes/status/1730895911864189299" >
37
- <enhanced:img alt =" Tweet from @flaviocopes" src =" ./flavio-light.png?w=800" ></enhanced:img >
46
+ <enhanced:img class =" screenshot" alt =" Tweet from @flaviocopes" src =" ./flavio-light.png?w=800"
47
+ ></enhanced:img >
38
48
</a >
39
49
</div >
40
50
</div >
57
67
grid-area : definition;
58
68
}
59
69
70
+ .pronunciation {
71
+ position : relative ;
72
+ aspect-ratio : 457.4 / 138.8 ;
73
+ height : var (--sk-font-size-h1 );
74
+ bottom : -0.3em ;
75
+ }
76
+
60
77
.blurb {
61
78
grid-area : blurb;
62
79
}
104
121
}
105
122
}
106
123
107
- img {
124
+ .screenshot {
108
125
width : 100% ;
109
126
height : auto ;
110
127
object-fit : contain ;
128
145
129
146
width : 100% ;
130
147
131
- em {
132
- font-style : normal ;
133
- font-size : var (--sk-font-size-h1 );
134
- color : var (--sk-theme-1 );
135
- text-wrap : nowrap ;
136
- line-height : 1 ;
137
- }
138
-
139
148
.description {
140
149
position : relative ;
141
150
font : var (--sk-font-ui-medium );
You can’t perform that action at this time.
0 commit comments