@@ -20,16 +20,43 @@ import FeatureSection from '../components/FeatureSection.astro';
2020 V with guided APIs than what Script Hook V offers for C++ scripts.
2121 </p >
2222 </section >
23- <div class =" download-section" >
24- <a
25- class =" download-button"
26- role =" button"
27- href =" https://github.com/scripthookvdotnet/scripthookvdotnet/releases/latest"
28- >
29- Download
30- </a >
31- <p class =" download-note" >PC version only</p >
32- </div >
23+ <section class =" download-section" >
24+ <section class =" download-button-groups" >
25+ <section class =" download-button-group-nightly" >
26+ <a
27+ class =" download-button download-button-nightly"
28+ role =" button"
29+ href =" https://github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases/latest"
30+ >
31+ Latest Nightly
32+ </a >
33+ <a
34+ class =" download-button-prev-vers download-button-nightly-prev-vers"
35+ role =" button"
36+ href =" https://github.com/scripthookvdotnet/scripthookvdotnet-nightly/releases"
37+ >
38+ Previous Nightly Versions
39+ </a >
40+ </section >
41+ <section class =" download-button-group-stable" >
42+ <a
43+ class =" download-button"
44+ role =" button"
45+ href =" https://github.com/scripthookvdotnet/scripthookvdotnet/releases/latest"
46+ >
47+ Latest Stable
48+ </a >
49+ <a
50+ class =" download-button-prev-vers"
51+ role =" button"
52+ href =" https://github.com/scripthookvdotnet/scripthookvdotnet/releases"
53+ >
54+ Previous Stable Versions
55+ </a >
56+ </section >
57+ </section >
58+ <p class =" download-note" >Note: PC version only</p >
59+ </section >
3360 </div >
3461 </div >
3562 </div >
@@ -197,6 +224,21 @@ import FeatureSection from '../components/FeatureSection.astro';
197224 }
198225 }
199226
227+ .download-button-groups {
228+ display: grid;
229+ grid-template-columns: [nightly-group-start] 1fr [nightly-group-end] 16px [stable-group-start] 1fr [stable-group-end];
230+ }
231+
232+ .download-button-group-nightly {
233+ grid-column-start: nightly-group-start;
234+ grid-column-end: nightly-group-end;
235+ }
236+
237+ .download-button-group-stable {
238+ grid-column-start: stable-group-start;
239+ grid-column-end: stable-group-end;
240+ }
241+
200242 .download-button {
201243 display: block;
202244 padding-left: 40px;
@@ -205,28 +247,101 @@ import FeatureSection from '../components/FeatureSection.astro';
205247 padding-bottom: 24px;
206248 border-width: 2px;
207249 border-radius: 8px;
250+ min-width: 260px;
208251 font-weight: 600;
209- background-color: #35bce9 ;
252+ background-color: #1379d8 ;
210253 color: #1a1a1b;
211254 font-size: 24px;
212255 text-decoration: none;
213256 font-family: Inter, sans-serif;
214257 }
215258
259+ @media (max-width: 1280px) {
260+ .download-button {
261+ min-width: 200px;
262+ }
263+ }
264+
265+ @media (max-width: 1024px) {
266+ .download-button {
267+ min-width: 0;
268+ }
269+ }
270+
216271 .download-button:hover {
272+ background-color: rgb(46 139 226);
273+ }
274+
275+ .download-button-prev-vers {
276+ display: block;
277+ padding-top: 8px;
278+ padding-bottom: 8px;
279+ font-weight: 600;
280+ background: none;
281+ color: #64aaeb;
282+ font-size: 18px;
217283 text-decoration: none;
218- background-color: #59c8ee ;
284+ font-family: Inter, sans-serif ;
219285 }
220286
287+ .download-button-prev-vers:hover {
288+ color: #9bc3e9;
289+ }
290+
291+ .download-button-nightly {
292+ text-decoration: none;
293+ color: #ecc045;
294+ background-color: rgb(26, 26, 27);
295+ }
296+
297+ .download-button-nightly:hover {
298+ color: rgb(241, 205, 103);
299+ background-color: rgb(26 26 27 / 0.7);
300+ }
301+
302+ .download-button-nightly-prev-vers {
303+ color: #f5e58d;
304+ }
305+
306+ .download-button-nightly-prev-vers:hover {
307+ color: #faf4d3;
308+ }
309+
310+
221311 @media (prefers-color-scheme: light) {
222312 .download-button {
223- background-color: #1466b8 ;
313+ background-color: #233dcc ;
224314 color: #e8e8e8;
225315 }
226316 .download-button:hover {
227- background-color: #2879ca ;
317+ background-color: #1e54c9 ;
228318 color: #e8e8e8;
229319 }
320+
321+ .download-button-prev-vers {
322+ color: #07132c;
323+ }
324+
325+ .download-button-prev-vers:hover {
326+ color: #3056b1;
327+ }
328+
329+ .download-button-nightly {
330+ color: #f8d122;
331+ background-color: rgb(26, 26, 27);
332+ }
333+ .download-button-nightly:hover {
334+ color: rgb(252, 215, 50);
335+ background-color: rgb(26 26 27 / 0.9);
336+ }
337+
338+ .download-button-nightly-prev-vers {
339+ color: #332c0e;
340+ }
341+
342+ .download-button-nightly-prev-vers:hover {
343+ color: #7c6c2a;
344+ }
230345 }
231346
232347 .download-note {
0 commit comments