MediaWiki:Minerva.css: Difference between revisions
Appearance
Created page with "→Reset user agent styles. We don't reset small or blockquote here deliberately: cite, dfn { font-style: inherit; } q { quotes: '"' '"' "'" "'"; } →Hide stuff meant for accounts with special permissions. Made visible again in [[MediaWiki:Group-sysop.css]] and so on for other groups.: .checkuser-show, .sysop-show, .user-show, .templateeditor-show, .extendedmover-show, .patroller-show, .extendedconfirmed-show, .autoconfirmed-show { display: none; } /* Prev..." |
No edit summary Tags: Mobile edit Mobile web edit |
||
(53 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.infobox { | |||
background-color: #F9F9F9 !important; | |||
border: 1px solid #DCDBE0 !important; | |||
border-collapse: collapse; | |||
width: 100%; | |||
padding: 0.01em !important; | |||
font-size: 14.4px !important; | |||
line-height: 1.8em !important; | |||
color: #202123 !important; | |||
margin: 0 auto 1em auto; | |||
} | } | ||
.infobox td, | |||
.infobox th { | |||
border: none; | |||
padding: 6px 8px; | |||
vertical-align: top; | |||
background-color: #F9F9F9; | |||
font-size: 14.4px !important; | |||
color: #202123 !important; | |||
} | } | ||
/* | /* ✅ NEW ALIGNMENT RULES + INDENT */ | ||
.infobox td:nth-child(1) { | |||
. | text-align: center !important; | ||
width: 48% !important; | |||
} | } | ||
.infobox td:nth-child(2) { | |||
text-align: left !important; | |||
padding-left: 12px !important; | |||
. | |||
} | } | ||
/* | /* Clean row-based dividers */ | ||
. | .infobox tr { | ||
border-bottom: 0.75px solid #DCDBE0 !important; | |||
} | } | ||
.infobox tr:last-child { | |||
border-bottom: none; | |||
} | } | ||
/* | /* Section header style */ | ||
.infobox .section-header { | |||
background-color: #F9F9F9; | |||
*/ | font-weight: bold; | ||
. | text-align: left; | ||
border-bottom: 0.75px solid #DCDBE0 !important; | |||
} | } | ||
/* Caption style */ | |||
.infobox caption { | |||
background-color: #F9F9F9; | |||
padding: 0.5em; | |||
text-align: center; | |||
font-weight: bold; | |||
font-size: 14.4px !important; | |||
color: #202123; | |||
} | } | ||
@media screen and ( | @media screen and (max-width: 720px) { | ||
.infobox { | |||
float: none !important; | |||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
} | } | ||
} | } |
Latest revision as of 11:32, 25 April 2025
.infobox {
background-color: #F9F9F9 !important;
border: 1px solid #DCDBE0 !important;
border-collapse: collapse;
width: 100%;
padding: 0.01em !important;
font-size: 14.4px !important;
line-height: 1.8em !important;
color: #202123 !important;
margin: 0 auto 1em auto;
}
.infobox td,
.infobox th {
border: none;
padding: 6px 8px;
vertical-align: top;
background-color: #F9F9F9;
font-size: 14.4px !important;
color: #202123 !important;
}
/* ✅ NEW ALIGNMENT RULES + INDENT */
.infobox td:nth-child(1) {
text-align: center !important;
width: 48% !important;
}
.infobox td:nth-child(2) {
text-align: left !important;
padding-left: 12px !important;
}
/* Clean row-based dividers */
.infobox tr {
border-bottom: 0.75px solid #DCDBE0 !important;
}
.infobox tr:last-child {
border-bottom: none;
}
/* Section header style */
.infobox .section-header {
background-color: #F9F9F9;
font-weight: bold;
text-align: left;
border-bottom: 0.75px solid #DCDBE0 !important;
}
/* Caption style */
.infobox caption {
background-color: #F9F9F9;
padding: 0.5em;
text-align: center;
font-weight: bold;
font-size: 14.4px !important;
color: #202123;
}
@media screen and (max-width: 720px) {
.infobox {
float: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
}