MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 44: | Line 44: | ||
.infobox-data .value { | .infobox-data .value { | ||
color: #555; | color: #555; | ||
} | |||
.infobox-data .infobox-row:nth-child(odd) { | |||
background-color: var(--background-color-primary); | |||
} | |||
.infobox-data .infobox-row:nth-child(even) { | |||
background-color: var(--background-color-secondary); | |||
} | } | ||
Revision as of 12:01, 12 December 2025
.infobox-healing-machine {
float: right;
width: 260px;
background-color: #f9f9f9;
border: 1px solid #ccc;
padding: 10px;
margin: 0 0 10px 20px;
font-size: 14px;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.infobox-title {
font-weight: bold;
font-size: 16px;
text-align: center;
margin-bottom: 8px;
}
.infobox-image {
text-align: center;
margin-bottom: 8px;
}
.infobox-data .infobox-row {
display: flex;
justify-content: space-between;
padding: 6px 8px;
border-bottom: 1px solid #ddd;
}
.infobox-data .infobox-row:nth-child(odd) {
background-color: #ffffff;
}
.infobox-data .infobox-row:nth-child(even) {
background-color: #eef0f8; /* soft blue-gray */
}
.infobox-data .label {
font-weight: bold;
color: #333;
}
.infobox-data .value {
color: #555;
}
.infobox-data .infobox-row:nth-child(odd) {
background-color: var(--background-color-primary);
}
.infobox-data .infobox-row:nth-child(even) {
background-color: var(--background-color-secondary);
}