MediaWiki:Common.css
Appearance
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.
/* CSS placed here will be applied to all skins */
/* Stile pagina principale */
.mt-mainpage {
max-width: 1180px;
margin: 0 auto;
font-family: sans-serif;
}
.mt-hero {
background: #f8f9fa;
border: 1px solid #a2a9b1;
border-radius: 8px;
padding: 28px 32px;
margin-bottom: 18px;
text-align: center;
}
.mt-hero-title {
font-size: 2.1em;
font-weight: bold;
margin-bottom: 8px;
color: #202122;
}
.mt-hero-subtitle {
font-size: 1.1em;
color: #54595d;
}
.mt-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.mt-box,
.mt-wide-box {
background: #ffffff;
border: 1px solid #a2a9b1;
border-radius: 8px;
overflow: hidden;
}
.mt-box-title {
background: #eaecf0;
border-bottom: 1px solid #a2a9b1;
padding: 10px 14px;
font-weight: bold;
font-size: 1.05em;
color: #202122;
}
.mt-box-content {
padding: 14px 18px;
line-height: 1.6;
}
.mt-wide-box {
margin-top: 16px;
}
.mt-footer {
margin-top: 18px;
padding: 12px;
text-align: center;
color: #54595d;
font-size: 0.95em;
}
/* Mobile */
@media screen and (max-width: 700px) {
.mt-grid {
grid-template-columns: 1fr;
}
.mt-hero {
padding: 22px 18px;
}
.mt-hero-title {
font-size: 1.6em;
}
}