8,856
editsno edit summary
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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]] | ||
and https://phabricator.wikimedia.org/source/Timeless/browse/REL1_39/resources/screen-mobile.less$268 */ | and https://phabricator.wikimedia.org/source/Timeless/browse/REL1_39/resources/screen-mobile.less$268 */ | ||
border-left: 10px solid #969696; | border-left: 10px solid #969696; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
Line 41: | Line 40: | ||
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 49: | ||
/* @noflip */ | /* @noflip */ | ||
padding: 2px 0 2px 0.5em; | padding: 2px 0 2px 0.5em; | ||
text-align: center; | |||
} | } | ||
Line 63: | Line 57: | ||
/* @noflip */ | /* @noflip */ | ||
padding: 2px 0.5em 2px 0; | padding: 2px 0.5em 2px 0; | ||
text-align: center; | |||
} | } | ||