MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
#p-navigation { display: none; }
#p-navigation h3 { display: none; }


@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
Line 94: Line 99:
.pre-content.heading-holder {
.pre-content.heading-holder {
     display: none !important;
     display: none !important;
}
/*Make pretty button Layout */
/* Container: Forces side-by-side layout regardless of hidden tags */
.button-grid-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 20px 0 !important;
}
/* Force each button to take up roughly 48% of the width */
.static-button {
    display: block !important;
    flex: 0 0 calc(50% - 10px) !important; /* Forces 2 per row */
    box-sizing: border-box !important;
    background-color: #3eb489 !important; /* Mintarc Green */
    border: 1px solid #2e8b65 !important;
    border-radius: 4px !important;
    text-align: center !important;
}
/* Link inside the button */
.static-button a {
    display: block !important;
    padding: 12px 5px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    width: 100% !important;
}
/* Remove MediaWiki's external link icon to keep centering clean */
.static-button a.external {
    background-image: none !important;
    padding-right: 5px !important;
}
.static-button:hover {
    background-color: #2e8b65 !important;
}
}