MediaWiki:Minerva.css: Difference between revisions
Appearance
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Reverted Mobile edit Mobile web edit |
||
Line 45: | Line 45: | ||
font-size: 14.4px !important; | font-size: 14.4px !important; | ||
color: #202122; | color: #202122; | ||
} | |||
@media screen and (max-width: 720px) { | |||
.desktop-title { display: none; } | |||
.infobox-mobile-title { display: table-row; } | |||
} | |||
@media screen and (min-width: 721px) { | |||
.desktop-title { display: table-caption; } | |||
.infobox-mobile-title { display: none; } | |||
} | } |
Revision as of 22:15, 24 April 2025
.infobox {
background-color: #F8F9FA !important;
border: 1px solid #DADDE3 !important;
border-collapse: collapse;
width: 100%;
font-size: 14.4px !important;
line-height: 1.4;
color: #202122 !important;
margin: 0 auto 1em auto;
}
.infobox td,
.infobox th {
border: none;
padding: 6px 8px;
vertical-align: top;
background-color: #F8F9FA;
font-size: 14.4px !important;
color: #202122 !important;
}
/* Clean row-based dividers */
.infobox tr {
border-bottom: 1px solid #DADDE3;
}
.infobox tr:last-child {
border-bottom: none;
}
/* Section header style */
.infobox .section-header {
background-color: #F8F9FA;
font-weight: bold;
text-align: left;
border-bottom: 1px solid #DADDE3;
}
/* Caption style */
.infobox caption {
background-color: #F8F9FA;
padding: 0.5em;
text-align: center;
font-weight: bold;
font-size: 14.4px !important;
color: #202122;
}
@media screen and (max-width: 720px) {
.desktop-title { display: none; }
.infobox-mobile-title { display: table-row; }
}
@media screen and (min-width: 721px) {
.desktop-title { display: table-caption; }
.infobox-mobile-title { display: none; }
}