|
|
| (5 intermediate revisions by the same user not shown) |
| Line 2: |
Line 2: |
| .vector-body-before-content > .mw-indicators { | | .vector-body-before-content > .mw-indicators { |
| display: none; | | display: none; |
| }
| |
|
| |
| @media screen and (max-width: 720px) {
| |
| /* Infobox container styling */
| |
| .infobox {
| |
| margin-bottom: 1.5em;
| |
| width: 80%;
| |
| max-width: 400px;
| |
| margin-left: auto;
| |
| margin-right: auto;
| |
| }
| |
|
| |
| /* Name (header) centered */
| |
| .infobox-header {
| |
| text-align: center;
| |
| font-weight: bold;
| |
| font-size: 1.2em;
| |
| padding: 0.5em;
| |
| background-color: #f8f9fa;
| |
| }
| |
|
| |
| /* Image container centered */
| |
| .infobox-image-container {
| |
| text-align: center;
| |
| }
| |
|
| |
| /* Caption centered */
| |
| .infobox-caption {
| |
| text-align: center;
| |
| font-style: italic;
| |
| font-size: 0.9em;
| |
| padding-top: 0.3em;
| |
| padding-bottom: 0.5em;
| |
| }
| |
|
| |
| /* Data rows stay left aligned (default) */
| |
| .infobox-table td:not(.infobox-header):not(.infobox-image):not(.infobox-caption) {
| |
| text-align: left;
| |
| }
| |
| } | | } |
Latest revision as of 03:11, 22 May 2025
/* Hide indicators only while they're in the original container */
.vector-body-before-content > .mw-indicators {
display: none;
}