MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 151: Line 151:
.article-card a {
.article-card a {
     display: inline-block;
     display: inline-block;
     background: #333;
     background: #ffffff;
     color: #ffffff;
     color: #000000; /* Changed to black */
     padding: 8px 15px;
     padding: 8px 15px;
     border-radius: 20px;
     border-radius: 20px;
Line 160: Line 160:
     margin: 0 15px 15px;
     margin: 0 15px 15px;
     transition: background 0.3s, color 0.3s;
     transition: background 0.3s, color 0.3s;
    border: 1px solid #000000;  /* Added a black border */
}
}


.article-card a:hover {
.article-card a:hover {
     background: #555;
     background: #f0f0f0; /* Light gray background on hover */
    color: #000000;  /* Keeps text black on hover */
}
}