Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: .infobox { border:1px solid #a2a9b1; float:right; margin:0px 0 20px 20px; width:30em; } .infobox .infobox-title { font-weig...") |
|||
Line 4: | Line 4: | ||
float:right; | float:right; | ||
margin:0px 0 20px 20px; | margin:0px 0 20px 20px; | ||
width: | width:25em; | ||
} | } | ||
Revision as of 08:40, 25 August 2021
/* CSS placed here will be applied to all skins */
.infobox {
border:1px solid #a2a9b1;
float:right;
margin:0px 0 20px 20px;
width:25em;
}
.infobox .infobox-title {
font-weight:bold;
text-align:center;
background-color:#F6F6F6;
padding:10px;
}
.infobox .infobox-picture{
text-align:center;
}
.infobox .infobox-detail{
display: flex;
background-color:#F6F6F6;
}
.infobox .infobox-detail:nth-child(even){
background-color:#EEEEEE;
}
.infobox .infobox-detail .infobox-detail-label,
.infobox .infobox-detail .infobox-detail-value{
flex: 1;
padding:5px;
font-size:0.9em;
}
.infobox .infobox-detail .infobox-detail-label {
font-weight:bold;
text-align:right;
}
@media (max-width:991.98px) {
.infobox {
border:1px solid #a2a9b1;
float:none;
margin:0px;
margin-bottom:20px;
}
}