MediaWiki:Common.css: Difference between revisions
Import from wiki-src |
Import from wiki-src |
||
| Line 68: | Line 68: | ||
/* ---------------------------------------------------------- Message boxes */ | /* ---------------------------------------------------------- Message boxes */ | ||
table.ambox { | table.ambox { | ||
width: | /* auto width lets the box sit beside a floated infobox instead of dropping below it */ | ||
margin: 0 | width: auto; | ||
max-width: 100%; | |||
margin: 0 0 0.8em; | |||
border: 1px solid var(--border-color-base, #a2a9b1); | border: 1px solid var(--border-color-base, #a2a9b1); | ||
border-left: 10px solid #36c; | border-left: 10px solid #36c; | ||
| Line 178: | Line 180: | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
.infobox { float: none; width: 100%; margin: 0 0 1em; } | .infobox { float: none; width: 100%; margin: 0 0 1em; } | ||
table.ambox { width: 100% | table.ambox { width: 100%; } | ||
.navbox-group { white-space: normal; } | .navbox-group { white-space: normal; } | ||
} | } | ||