Skip to content

Commit dbc714f

Browse files
authored
fix(site): Style fixes (#8794)
* Style fixes * Bump site-kit
1 parent 3d21b00 commit dbc714f

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sites/svelte.dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@resvg/resvg-js": "^2.4.1",
3131
"@sveltejs/adapter-vercel": "^3.0.1",
3232
"@sveltejs/kit": "^1.20.4",
33-
"@sveltejs/site-kit": "6.0.0-next.16",
33+
"@sveltejs/site-kit": "6.0.0-next.17",
3434
"@sveltejs/vite-plugin-svelte": "^2.4.1",
3535
"@types/marked": "^5.0.0",
3636
"@types/node": "^20.3.1",

sites/svelte.dev/src/routes/+page.svelte

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959

6060
<section>
6161
<footer>
62-
<div class="logo">
63-
</div>
62+
<div class="logo" />
6463
<div class="links">
6564
<h4>resources</h4>
6665
<a href="/docs">documentation</a>
@@ -75,8 +74,14 @@
7574
<a href="/chat">discord</a>
7675
<a href="https://twitter.com/sveltejs">twitter</a>
7776
</div>
78-
<div class="copyright">© 2023 <a href="https://github.com/sveltejs/svelte/graphs/contributors">Svelte contributors</a></div>
79-
<div class="open-source">Svelte is <a href="https://github.com/sveltejs/svelte">free and open source software</a> released under the MIT license</div>
77+
<div class="copyright">
78+
© 2023 <a href="https://github.com/sveltejs/svelte/graphs/contributors">Svelte contributors</a
79+
>
80+
</div>
81+
<div class="open-source">
82+
Svelte is <a href="https://github.com/sveltejs/svelte">free and open source software</a> released
83+
under the MIT license
84+
</div>
8085
</footer>
8186
</section>
8287

@@ -129,6 +134,10 @@
129134
grid-column: span 2;
130135
}
131136
137+
.copyright {
138+
grid-column: span 2;
139+
}
140+
132141
@media (min-width: 500px) {
133142
footer {
134143
grid-template-columns: repeat(3, 1fr);
@@ -138,6 +147,10 @@
138147
display: block;
139148
}
140149
150+
.copyright {
151+
grid-column: span 1;
152+
}
153+
141154
.open-source {
142155
display: block;
143156
}

sites/svelte.dev/src/routes/_components/Hero.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
}
8585
8686
.cta {
87-
display: inline-flex;
87+
display: flex;
8888
align-items: center;
8989
gap: 0.1rem;
9090
background: var(--sk-theme-1);
@@ -98,13 +98,12 @@
9898
color: #fff;
9999
color: color-mix(in hwb, hsl(var(--sk-theme-1-hsl)) 10%, var(--sk-back-1) 95%);
100100
transition: 0.5s var(--quint-out);
101-
transition-property: transform, box-shadow, color;
101+
transition-property: box-shadow, color;
102102
}
103103
104104
.cta:hover {
105105
text-decoration: none;
106106
box-shadow: 0px 0.8px 3.8px rgba(0, 0, 0, 0.115), 0px 6px 30px rgba(0, 0, 0, 0.23);
107-
transform: scale3d(1.01, 1.01, 1);
108107
}
109108
110109
.cta.basic {

0 commit comments

Comments
 (0)