File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1+ /* Force 3 columns for grid cards */
2+ .md-typeset .grid .cards {
3+ grid-template-columns : repeat (3 , 1fr );
4+ gap : 1rem ;
5+ }
6+
7+ /* Clickable card hover effect */
8+ .grid .cards > ul > li {
9+ transition : all 0.3s ease;
10+ }
11+
12+ .grid .cards > ul > li : hover {
13+ background-color : rgba (var (--md-primary-fg-color--rgb ), 0.05 );
14+ transform : scale (1.05 );
15+ transition : all 0.3s ease;
16+ }
Original file line number Diff line number Diff line change 1212 --md-typeset-a-color : # 2596be ;
1313}
1414
15- /* Force 3 columns for grid cards */
16- .md-typeset .grid .cards {
17- grid-template-columns : repeat (3 , 1fr );
18- gap : 1rem ;
19- }
2015
2116: root {
2217
Original file line number Diff line number Diff line change @@ -122,3 +122,4 @@ copyright : KIR Training Catalogue is licensed under a <a rel="noopener" target=
122122
123123extra_css :
124124 - stylesheets/extra.css
125+ - stylesheets/cards.css
You can’t perform that action at this time.
0 commit comments