Jump to content

MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 149: Line 149:
}
}


.article-card a {
.article-card {
     display: inline-block;
     flex: 0 0 300px;
    margin-right: 20px;
    scroll-snap-align: start;
     background: #ffffff;
     background: #ffffff;
    color: #000000;  /* Changed to black */
     border-radius: 10px;
    padding: 8px 15px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     border-radius: 20px;
     overflow: hidden;
     text-decoration: none;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.9em;
     border: 1px solid #e0e0e0;
     font-weight: 600;
    margin: 0 15px 15px;
     transition: background 0.3s, color 0.3s;
     border: 1px solid #000000; /* Added a black border */
}
}


.article-card a:hover {
.article-card:hover {
     background: #f0f0f0; /* Light gray background on hover */
     transform: translateY(-5px);
     color: #000000; /* Keeps text black on hover */
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
}