MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Import Material Design Icons */
@import url('https://cdn.jsdelivr.net/npm/@mdi/font@7.4.47/css/materialdesignicons.min.css');
/* Dashboard Grid Container */
.dashboard-grid {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-bottom: 20px;
}
/* Individual Dashboard Cards */
.dashboard-card {
flex: 1 1 250px; /* Grow to fill, shrink, base width 250px */
display: flex;
align-items: center;
background-color: #ffffff; /* Or whatever matches your skin */
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
transition: all 0.2s ease-in-out;
text-decoration: none !important; /* Kill the underline */
min-width: 200px;
}
.dashboard-card:hover {
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
border-color: #b0b0b0;
}
/* The Icon Box */
.dashboard-icon {
font-size: 24px;
margin-right: 15px;
color: #555;
display: flex;
align-items: center;
justify-content: center;
}
/* The Text Area */
.dashboard-text {
display: flex;
flex-direction: column;
}
.dashboard-label {
font-weight: bold;
font-size: 1.1em;
color: #333;
}
.dashboard-desc {
font-size: 0.85em;
color: #666;
margin-top: 2px;
}
/* Remove external link icon for these cards if you hate them */
.dashboard-card a.external {
background-image: none !important;
padding-right: 0 !important;
}