8,856
editsModule:Message box/ambox.css: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* @revision 2021-07-15 | * @revision 2021-07-15 | ||
*/ | */ | ||
.ambox { | |||
margin: 0 10%; | |||
/* Prevent overflow in narrow screens (<=850px) in the Timeless skin. | /* Prevent overflow in narrow screens (<=850px) in the Timeless skin. | ||
See [[Skin:Timeless#Less than 851 pixels]] | See [[Skin:Timeless#Less than 851 pixels]] | ||
Line 41: | Line 42: | ||
padding: 0.25em 0.5em; | padding: 0.25em 0.5em; | ||
/* Make all mboxes the same width regardless of text length */ | /* Make all mboxes the same width regardless of text length */ | ||
width: 100%; | width: 100%; | ||
} | } | ||
Line 56: | Line 51: | ||
/* @noflip */ | /* @noflip */ | ||
padding: 2px 0 2px 0.5em; | padding: 2px 0 2px 0.5em; | ||
text-align: center; | |||
} | } | ||
Line 63: | Line 59: | ||
/* @noflip */ | /* @noflip */ | ||
padding: 2px 0.5em 2px 0; | padding: 2px 0.5em 2px 0; | ||
text-align: center; | |||
} | } | ||