MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1,666: Line 1,666:
}
}


.bc-cta-button {
/* Dark Mode Support */
    background-color: var(--bc-blue) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
}
 
.bc-cta-button:hover {
    background-color: var(--bc-blue-dark) !important;
    transform: translateY(-2px);
    color: white !important;
}
 
/* Dark Mode Fixes */
html.skin-theme-clientpref-night .bc-screenshot-frame {
html.skin-theme-clientpref-night .bc-screenshot-frame {
     border-color: #333 !important;
     border-color: #333 !important;
     background: #1e1e1e !important;
     background: #1e1e1e !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}
}


html.skin-theme-clientpref-night .bc-cta-button {
/* Mobile: Stack the image and text on small screens */
    background-color: #4db6ac !important;
    color: #121212 !important;
}
 
/* Mobile: Stack the image and text */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {
     .bc-screenshot-frame {
     .bc-screenshot-frame {