Module:Message box/ambox.css: Difference between revisions

Jump to navigation Jump to search
no 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
  */
  */
table.ambox {
.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;
background-color: #0c0c0c;
box-sizing: border-box;
box-sizing: border-box;
    color: #fff;
}
}


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%;
}
.ambox .mbox-text {
border: none;
padding: 0.25em 0.5em;
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;
}
}


8,856
edits

Navigation menu