Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Tag: Reverted
Line 23: Line 23:
         flex: 1 1 100%; /* 1 column */
         flex: 1 1 100%; /* 1 column */
     }
     }
}
.mw-editsection a[href*="action=edit"] {
    display: none;
}
}

Revision as of 09:25, 13 December 2024

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: space-between;
}

.card {
    flex: 1 1 calc(33.333% - 1em); /* 3 columns with spacing */
    box-sizing: border-box;
}

/* Adjust for tablets */
@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 1em); /* 2 columns */
    }
}

/* Adjust for mobile */
@media (max-width: 480px) {
    .card {
        flex: 1 1 100%; /* 1 column */
    }
}

.mw-editsection a[href*="action=edit"] {
    display: none;
}