MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
text-align: center; | text-align: center; | ||
} | } | ||
.infobox-image img { | |||
max-width: 100% | |||
} | |||
.infobox-table th { | .infobox-table th { | ||
text-align: right; | text-align: right; | ||
Revision as of 15:00, 27 December 2024
/* CSS placed here will be applied to all skins */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css");
.skin-theme-clientpref-night .infobox {
background: #333 !important;
border: 1px solid #aaa;
}
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 .5em .5em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-image img {
max-width: 100%
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}