MediaWiki:Common.css: Difference between revisions
From Videogame Interface Wiki
|
|
Line 1: |
Line 1: |
| div#infobox {
| |
| display:grid;
| |
| grid-gap:3px;
| |
| grid-template-columns:repeat(4,1fr)
| |
| }
| |
|
| |
|
| div#infobox .infobox-section .infobox-image {
| |
| border:1px solid lightgrey
| |
| }
| |
|
| |
| div#infobox .infobox-section p {
| |
| margin:0
| |
| }
| |
|
| |
| div#infobox img {
| |
| width:100%;
| |
| height:auto
| |
| }
| |
|
| |
| div#infobox table {
| |
| border-collapse:collapse
| |
| }
| |
|
| |
| div#infobox table th,
| |
| div#infobox table td {
| |
| border:1px solid lightgrey;
| |
| padding:0.5em;
| |
| vertical-align:top
| |
| }
| |
|
| |
| div#infobox table th {
| |
| text-align:right
| |
| }
| |
|
| |
| td.positive {
| |
| background-color:#D4FFD4;
| |
| text-align:center
| |
| }
| |
|
| |
| td.negative {
| |
| background-color:#FFD9D4;
| |
| text-align:center
| |
| }
| |
|
| |
| td.mixed {
| |
| background-color:#DBDBDB;
| |
| text-align:center
| |
| }
| |
|
| |
| td.unknown {
| |
| text-align:center
| |
| }
| |
|
| |
| .mw-htmlform-field-HTMLInfoField.mw-ui-vform-field > label {
| |
| background:yellow;
| |
| display:block;
| |
| margin-bottom:1em
| |
| }
| |
Latest revision as of 03:34, 8 April 2023