MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
width: 300px; | width: 300px; | ||
} | } | ||
/* md */ | |||
@media (width <= 48rem) { | |||
.infobox { | |||
width: 95%; | |||
float: none; | |||
margin: 0px auto; | |||
margin-top: 0.25rem; | |||
} | |||
} | |||
.infobox-title { | .infobox-title { | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
| Line 23: | Line 33: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: center; | |||
margin-top: 0.5rem; | |||
} | } | ||
.infobox-table:nth-child(odd) { | .infobox-table > span:nth-child(odd) { | ||
font-weight: | font-weight: bold; | ||
} | } | ||