File tree Expand file tree Collapse file tree 4 files changed +59
-38
lines changed Expand file tree Collapse file tree 4 files changed +59
-38
lines changed Original file line number Diff line number Diff line change @@ -239,49 +239,32 @@ html[dir="rtl"] {
239239}
240240
241241.splide {
242- height : 9 rem ;
243- padding : 0 45 px ;
242+ height : 8 rem ;
243+ padding : 0 55 px ;
244244 margin : 0 calc (-1 * var (--margin ) / 2 );
245245}
246246
247247li .sponsor-card {
248- width : calc ( 12 % );
248+ width : max ( 10 % , 170 px );
249249
250250 & [data-tier = silver ] {
251- width : calc ( 17 % );
251+ width : max ( 15 % , 200 px );
252252 }
253253
254254 & [data-tier = gold ] {
255- width : calc ( 22 % );
255+ width : max ( 20 % , 230 px );
256256 }
257257
258258 & [data-tier = platinum ] {
259- width : calc ( 30 % );
259+ width : max ( 25 % , 260 px );
260260 }
261261}
262262
263- @media (max-width : 1400px ) {
264- li .sponsor-card {
265- width : calc (20% );
266-
267- & [data-tier = silver ] {
268- width : calc (25% );
269- }
263+ @media (max-width : 320px ) {
270264
271- & [data-tier = gold ] {
272- width : calc (30% );
273- }
274-
275- & [data-tier = platinum ] {
276- width : calc (35% );
265+ li .sponsor-card {
266+ a :has (img ) .caption {
267+ display : none ;
277268 }
278269 }
279270}
280-
281- @media (max-width : 1000px ) {
282- li .sponsor-card img + .caption {
283- display : none ;
284- }
285-
286-
287- }
Original file line number Diff line number Diff line change 33 --primary-shadow-color : #5b29e45d ;
44 --secondary-color : #D442C6 ;
55 --fg-color : #1f1c24 ;
6+ --col-bg : #ffffff ;
67 --margin : 60px ;
78 --font-sans : ' DM Sans' , sans-serif ;
89 --font-mono : ' DM Mono' , monospace ;
4243 width : 60% !important ;
4344 }
4445 }
45- }
46+ }
Original file line number Diff line number Diff line change 11li .sponsor-card {
2-
3- width : calc (15% );
4-
52/* &[data-has-logo=true] .caption {
63 display: none;
74 }*/
85
6+ width : max (20% , 170px );
7+
98 & [data-tier = gold ] {
10- width : calc (25% );
9+ width : max (25% , 220 px );
1110 }
1211
1312 & [data-tier = platinum ] {
14- width : calc ( 33 % );
13+ width : max ( 30 % , 250 px );
1514 }
1615}
1716
@@ -35,3 +34,20 @@ blockquote{
3534 padding : 10px ;
3635 }
3736}
37+
38+ @media (max-width : 480px ) {
39+
40+ li .sponsor-card {
41+ width : calc (100% );
42+ }
43+ }
44+
45+ @media (max-width : 400px ) {
46+
47+ li .sponsor-card {
48+
49+ a :has (img ) .caption {
50+ display : none ;
51+ }
52+ }
53+ }
Original file line number Diff line number Diff line change @@ -17,11 +17,8 @@ body.dark {
1717}
1818
1919.splide {
20- height : 7rem ;
21- /* background-color: var(--carousel-bg);*/
20+ height : 7.3rem ;
2221 border-radius : 5px ;
23- padding : 0 55px ;
24- margin : 0 calc (-1 * var (--margin ) / 2 );
2522
2623 .splide__arrows {
2724 visibility : hidden ;
@@ -31,6 +28,30 @@ body.dark {
3128 height : 100% ;
3229 }
3330
31+ .splide__track ::after {
32+ content : " " ;
33+ position : absolute ;
34+ top : 0 ;
35+ right : 0 ;
36+ height : 100% ;
37+ width : 30px ;
38+ pointer-events : none ;
39+ background : linear-gradient (to right , transparent , var (--col-bg ));
40+ z-index : 1 ;
41+ }
42+
43+ .splide__track ::before {
44+ content : " " ;
45+ position : absolute ;
46+ top : 0 ;
47+ left : 0 ;
48+ height : 100% ;
49+ width : 30px ;
50+ pointer-events : none ;
51+ z-index : 1 ;
52+ background : linear-gradient (to left , transparent , var (--col-bg ));
53+ }
54+
3455 & :hover .splide__arrows {
3556 visibility : visible ;
3657 }
@@ -40,7 +61,7 @@ li.sponsor-card {
4061
4162 width : calc (15% );
4263
43- padding : 1.2 rem 0 ;
64+ padding : 1.5 rem 0 1.5 rem 1.5 rem ;
4465
4566 .chevron {
4667 flex-grow : 0 ;
You can’t perform that action at this time.
0 commit comments