-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
221 lines (194 loc) · 6.38 KB
/
index.html
File metadata and controls
221 lines (194 loc) · 6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
---
layout: default
title: Home
social_image: /wallpapers/desktop/thumbnails/022.jpg
social_image_alt: Preview of Visual Studio wallpapers collection for desktop
---
<main role="main">
<div class="hero">
<h2 id="device-selection-heading">Choose Your Device</h2>
<p class="hero-subtitle">Beautiful wallpapers crafted for every screen</p>
<div class="grid device-grid" role="list" aria-labelledby="device-selection-heading">
<div class="card device-card" onclick="window.location.href='{{ site.baseurl }}/desktop'" role="listitem" tabindex="0" aria-label="Browse desktop wallpapers">
<div class="image-container">
<img src="{{ site.baseurl }}/wallpapers/desktop/thumbnails/022.jpg" alt="Preview of desktop wallpapers collection">
<div class="card-overlay">
<span class="view-btn">View Collection →</span>
</div>
</div>
<div class="card-content">
<h3>Desktop Wallpapers</h3>
<p class="device-icon">🖥️</p>
<span class="hint" aria-hidden="true">4K, Ultrawide & more</span>
</div>
</div>
<div class="card device-card" onclick="window.location.href='{{ site.baseurl }}/phone'" role="listitem" tabindex="0" aria-label="Browse phone wallpapers">
<div class="image-container">
<img src="{{ site.baseurl }}/wallpapers/phone/320x568/023.jpg" alt="Preview of phone wallpapers collection">
<div class="card-overlay">
<span class="view-btn">View Collection →</span>
</div>
</div>
<div class="card-content">
<h3>Phone Wallpapers</h3>
<p class="device-icon">📱</p>
<span class="hint" aria-hidden="true">iPhone & Android sizes</span>
</div>
</div>
<div class="card device-card" onclick="window.location.href='{{ site.baseurl }}/watch'" role="listitem" tabindex="0" aria-label="Browse watch wallpapers">
<div class="image-container">
<img src="{{ site.baseurl }}/wallpapers/watch/368x448/024.jpg" alt="Preview of watch wallpapers collection">
<div class="card-overlay">
<span class="view-btn">View Collection →</span>
</div>
</div>
<div class="card-content">
<h3>Watch Wallpapers</h3>
<p class="device-icon">⌚</p>
<span class="hint" aria-hidden="true">Apple Watch & more</span>
</div>
</div>
</div>
<style>
.hero {
text-align: center;
padding: 1rem 0 2rem;
}
.hero-subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
margin-top: -1rem;
margin-bottom: 2.5rem;
font-weight: 400;
}
.device-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2.5rem;
padding: 1rem;
max-width: 1200px;
margin: 0 auto;
}
.device-card {
position: relative;
cursor: pointer;
border-radius: 24px;
overflow: hidden;
background: var(--card-bg);
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(255, 255, 255, 0.8);
}
.device-card:hover {
transform: translateY(-12px);
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
}
.image-container {
width: 100%;
aspect-ratio: 16/10;
overflow: hidden;
position: relative;
}
.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.device-card:hover .image-container img {
transform: scale(1.1);
}
.card-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(104, 33, 122, 0.8) 0%, rgba(0, 122, 204, 0.8) 100%);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.device-card:hover .card-overlay {
opacity: 1;
}
.view-btn {
color: white;
font-weight: 600;
font-size: 1.1rem;
padding: 0.75rem 1.5rem;
background: rgba(255, 255, 255, 0.2);
border-radius: 50px;
backdrop-filter: blur(10px);
transform: translateY(20px);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.device-card:hover .view-btn {
transform: translateY(0);
}
.device-card .card-content {
padding: 1.5rem;
text-align: center;
}
.device-card .card-content h3 {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.25rem;
}
.device-icon {
font-size: 2rem;
margin: 0.5rem 0;
}
.hint {
color: var(--text-secondary);
font-size: 0.9rem;
opacity: 0.8;
}
.archive-link {
text-align: center;
margin-top: 4rem;
padding-bottom: 2rem;
}
.archive-link a {
color: var(--text-secondary);
text-decoration: none;
font-size: 1rem;
font-weight: 500;
padding: 0.75rem 1.5rem;
border-radius: 50px;
border: 2px solid rgba(104, 33, 122, 0.2);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: inline-block;
}
.archive-link a:hover {
border-color: var(--primary);
color: var(--primary);
background: rgba(104, 33, 122, 0.05);
transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
.device-card,
.device-card:hover,
.image-container img,
.card-overlay,
.view-btn {
transition: none;
transform: none;
}
.device-card:hover .card-overlay {
opacity: 1;
}
.device-card:hover .image-container img {
transform: none;
}
}
</style>
</div>
<div class="archive-link">
<a href="{{ site.baseurl }}/archive" aria-label="View community archive wallpapers">✨ Explore the Community Archives</a>
</div>
</main>