File tree Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Expand file tree Collapse file tree 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change 1- .cards-container {
2- display : flex;
3- flex-direction : column;
4- /* Stack the cards vertically */
5- margin : 20px ;
6- }
7-
81.example-card {
92 display : flex;
10- /* Enables flexbox inside each card */
113 align-items : center;
12- /* Aligns the items vertically */
134 box-shadow : 0 4px 8px 0 rgba (0 , 0 , 0 , 0.4 );
145 transition : 0.3s ;
156 margin : 10px 0 ;
16- /* Space between cards */
177}
188
199.example-card img {
2010 width : 150px ;
21- /* Fixed width for images */
2211 height : auto;
2312 margin-right : 20px ;
24- /* Space between the image and the text */
2513}
2614
2715.example-container {
2816 flex : 1 ;
29- /* Takes up the remaining space */
3017 padding : 2px 16px ;
3118}
3219
3320.example-card : hover {
3421 box-shadow : 0 8px 16px 0 rgba (0 , 0 , 0 , 0.4 );
3522}
3623
37- .title-with-links {
38- display : flex;
39- align-items : center;
40- justify-content : space-between;
41- flex-wrap : nowrap;
42- /* Prevents wrapping to the next line */
43- }
44-
45- .links a {
24+ /* Ensures the links remain inline and don't disrupt layout */
25+ h4 a {
4626 margin-left : 10px ;
27+ text-decoration : none;
4728 white-space : nowrap;
48- /* Prevents the text in links from wrapping */
29+ /* Prevents breaking to new lines */
30+ }
31+
32+ h4 a : hover {
33+ text-decoration : underline;
4934}
You can’t perform that action at this time.
0 commit comments