155155
156156 .clocking-schemes-grid {
157157 display : grid;
158- grid-template-columns : repeat (auto-fit, minmax (200 px , 1fr ));
159- gap : 1.5 rem ;
158+ grid-template-columns : repeat (auto-fit, minmax (250 px , 1fr ));
159+ gap : 2 rem ;
160160 margin : 2rem 0 ;
161161 }
162162
195195
196196 .scheme-card img {
197197 width : 100% ;
198- height : 120px ;
199- object-fit : cover;
198+ max-height : 200px ;
199+ height : auto;
200+ object-fit : contain;
200201 border-radius : 8px ;
201202 margin-bottom : 1rem ;
202203 border : 1px solid var (--border-color );
204+ background : white;
203205 }
204206
205207 .table-modern {
298300 cursor : pointer;
299301 position : relative;
300302 overflow : hidden;
303+ transition : all 0.2s ease;
301304 }
302305
303306 .clickable-card : hover {
304307 transform : translateY (-4px );
305308 box-shadow : var (--shadow-lg );
306309 border-color : var (--primary-color );
310+ background : rgba (37 , 99 , 235 , 0.05 );
307311 }
308312
309313 .card-overlay {
356360 }
357361
358362 .clocking-schemes-grid {
359- grid-template-columns : repeat (auto-fit, minmax (150 px , 1fr ));
363+ grid-template-columns : repeat (auto-fit, minmax (200 px , 1fr ));
360364 }
361365
362366 .gate-libraries {
@@ -685,15 +689,14 @@ <h2>File Naming Conventions</h2>
685689 // Get all clickable cards
686690 const clickableCards = document . querySelectorAll ( ".clickable-card" ) ;
687691
688- clickableCards . forEach ( ( card ) => {
692+ clickableCards . forEach ( function ( card , index ) {
689693 card . addEventListener ( "click" , function ( e ) {
690694 // Don't trigger if clicking on the paper link
691695 if ( e . target . closest ( ".paper-link" ) ) {
692696 return ;
693697 }
694698
695699 const url = this . getAttribute ( "data-url" ) ;
696- const title = this . getAttribute ( "data-title" ) ;
697700
698701 if ( url ) {
699702 // Add a small delay to show the click effect
@@ -716,7 +719,7 @@ <h2>File Naming Conventions</h2>
716719 card . setAttribute ( "role" , "button" ) ;
717720 card . setAttribute (
718721 "aria-label" ,
719- `Click to view ${ this . getAttribute ( "data-title" ) } ` ,
722+ `Click to view ${ card . getAttribute ( "data-title" ) } ` ,
720723 ) ;
721724 } ) ;
722725 } ) ;
0 commit comments