388388 margin-bottom : 1.5em ;
389389 }
390390
391-
391+ /* ===== Reduce spacing inside Diamond carousel ===== */
392+ # diamond-sponsor-wrapper {
393+ max-width : 1100px ; /* 可按需调:1000~1200 */
394+ margin : 10px auto; /* 上下更紧 */
395+ padding : 0 10px ;
396+ }
397+
398+ # diamond-sponsor-carousel .owl-stage {
399+ display : flex;
400+ }
401+
402+ # diamond-sponsor-carousel .owl-item {
403+ display : flex;
404+ }
405+
406+ # diamond-sponsor-carousel .diamond-slide {
407+ width : 100% ;
408+ padding : 0 6px ; /* 左右内边距,控制两卡之间的“视觉间距” */
409+ box-sizing : border-box;
410+ }
411+
412+ # diamond-sponsor-carousel .diamond-slide .sponsor-card {
413+ width : 100% ;
414+ max-width : none; /* 关键:不要 480px 限制 */
415+ margin : 0 ; /* 关键:不要 auto 居中 */
416+ }
417+
392418
393419 @media only screen and (max-width : 600px ) {
394420 .circular-image {
509535 margin : 0 !important ;
510536 }
511537
512- }
513-
514-
538+ }
515539
516540 </ style >
517541 < link href ="https://fonts.googleapis.com/css?family=Ubuntu:300 " rel ="stylesheet ">
@@ -1609,7 +1633,7 @@ <h2 class="ai_sponsor-title">Sponsorship</h2>
16091633
16101634 <!-- Diamond: Newton's Tree -->
16111635 < div class ="diamond-slide ">
1612- < div class ="sponsor-card " style ="text-align:left; max-width:480px; margin:0 auto; ">
1636+ < div class ="sponsor-card " style ="text-align:left; ">
16131637 < div class ="sponsor-badge " style ="background-color:#b9f2ff; "> Diamond</ div >
16141638 < a href ="https://www.newtonstree.ai/ " target ="_blank " rel ="noopener " style ="text-decoration:none; ">
16151639 < img src ="./NT logo-evergreen.svg " alt ="Newton's Tree Logo " style ="width:80%; height:auto; ">
@@ -1846,7 +1870,7 @@ <h3 style="font-size: 22px; color:#fff; margin:0;">
18461870 if ( $diamond . hasClass ( 'owl-loaded' ) ) return ;
18471871
18481872 $diamond . owlCarousel ( {
1849- margin : 20 ,
1873+ margin : 12 ,
18501874 nav : true ,
18511875 dots : true ,
18521876 navText : [ '❮' , '❯' ] ,
@@ -1865,7 +1889,5 @@ <h3 style="font-size: 22px; color:#fff; margin:0;">
18651889 } ) ;
18661890 </ script >
18671891
1868-
1869-
18701892</ body >
18711893</ html >
0 commit comments