Skip to content

Commit b6d7019

Browse files
committed
💄 Restyle home page with blueprint background
- Simpler background with fewer layers, feels like a blueprint as a nod to the AJ file format - Solid colors read better than translucent ones
1 parent 7822126 commit b6d7019

3 files changed

Lines changed: 26 additions & 62 deletions

File tree

‎src/lib/components/footer.svelte‎

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import MinecraftIcon from './minecraftIcon.svelte'
33
</script>
44

5-
<section class="footer">
5+
<section class="footer minecraft-box">
66
<p>© 2026 Titus Evans. All rights reserved.</p>
77
<p>Animated Java is not affiliated with Mojang Studios.</p>
88
<p>
@@ -14,26 +14,32 @@
1414

1515
<style>
1616
.footer {
17+
display: grid;
18+
gap: 4px;
19+
width: fit-content;
20+
max-width: calc(100% - 32px);
21+
box-sizing: border-box;
22+
margin: 48px auto 16px;
23+
padding: 12px 24px 14px;
24+
align-self: end;
1725
text-align: center;
1826
font-size: 14px;
19-
color: #ffffff55;
20-
margin-top: 48px;
21-
align-self: end;
22-
margin-bottom: 16px;
27+
color: var(--minecraft-text-subtle-color);
2328
}
2429
2530
.footer p {
2631
margin: 0;
2732
}
2833
2934
.footer a {
30-
color: #00acedaa;
35+
color: #6ed8ff;
3136
text-decoration: underline;
3237
display: inline-flex;
3338
align-items: center;
3439
}
3540
36-
.footer a :global(div) {
37-
margin-right: 2px;
41+
.footer a :global(i) {
42+
width: 20px;
43+
margin-right: 4px;
3844
}
3945
</style>

‎src/lib/components/introSection.svelte‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
max-width: 980px;
1717
margin: 0 auto 28px;
1818
padding: 28px;
19-
background: linear-gradient(160deg, #00acedaa 0%, #00aced55 100%);
19+
background: linear-gradient(160deg, #0a8cc4 0%, #076e9b 100%);
2020
}
2121
2222
h2 {

‎src/routes/[[lang=lang]]/+page.svelte‎

Lines changed: 11 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@
4040
</svelte:head>
4141

4242
<div class="home-page-shell">
43-
<div class="bg-layer bg-base" aria-hidden="true"></div>
44-
<div class="bg-layer bg-aurora bg-aurora-a" aria-hidden="true"></div>
45-
<div class="bg-layer bg-aurora bg-aurora-b" aria-hidden="true"></div>
46-
<div class="bg-layer bg-grid" aria-hidden="true"></div>
47-
4843
<div class="home-page-content">
4944
{#if startTransition}
5045
<div class="header" in:fade={{ duration: 1000 }}>
@@ -129,58 +124,21 @@
129124
margin: 48px 0px;
130125
}
131126
127+
/* Blueprint paper: minor lines every 32px, major lines every 128px */
132128
.home-page-shell {
133-
position: relative;
134-
isolation: isolate;
135129
padding: 24px 0 48px;
136130
min-height: 100vh;
137-
overflow: clip;
138-
}
139-
140-
.home-page-content {
141-
position: relative;
142-
z-index: 1;
143-
}
144-
145-
.bg-layer {
146-
position: absolute;
147-
inset: -8% -10%;
148-
pointer-events: none;
149-
z-index: 0;
150-
}
151-
152-
.bg-base {
153-
background:
154-
radial-gradient(circle at 15% 12%, #5fd8ff22 0%, #5fd8ff00 40%),
155-
radial-gradient(circle at 85% 10%, #87f2d522 0%, #87f2d500 34%),
156-
linear-gradient(160deg, #05111d 0%, #072338 45%, #123d5a 100%);
157-
}
158-
159-
.bg-aurora {
160-
mix-blend-mode: screen;
161-
filter: blur(36px);
162-
opacity: 0.55;
163-
}
164-
165-
.bg-aurora-a {
166-
background:
167-
radial-gradient(46% 32% at 24% 30%, #2bc2ff88 0%, #2bc2ff00 72%),
168-
radial-gradient(30% 28% at 74% 56%, #69ffd388 0%, #69ffd300 74%);
169-
}
170-
171-
.bg-aurora-b {
172-
background:
173-
radial-gradient(38% 30% at 74% 24%, #74b8ff66 0%, #74b8ff00 72%),
174-
radial-gradient(36% 26% at 20% 76%, #00ffe466 0%, #00ffe400 74%);
175-
}
176-
177-
.bg-grid {
178-
opacity: 0.2;
131+
background-color: #0d3150;
179132
background-image:
180-
linear-gradient(#b8f5ff33 1px, transparent 1px),
181-
linear-gradient(90deg, #b8f5ff33 1px, transparent 1px);
182-
background-size: 32px 32px;
183-
mask-image: radial-gradient(circle at center, #000 40%, transparent 92%);
133+
linear-gradient(#7fd3ff33 2px, transparent 2px),
134+
linear-gradient(90deg, #7fd3ff33 2px, transparent 2px),
135+
linear-gradient(#7fd3ff17 1px, transparent 1px),
136+
linear-gradient(90deg, #7fd3ff17 1px, transparent 1px);
137+
background-size:
138+
128px 128px,
139+
128px 128px,
140+
32px 32px,
141+
32px 32px;
184142
}
185143
186144
.title {

0 commit comments

Comments
 (0)