Jump to content
Wikipedia The Free Encyclopedia

Module:Message box/ambox.css

From Wikipedia, the free encyclopedia
 /* {{pp|small=y}} */
 .ambox{
 border:1pxsolid#a2a9b1;
 /* @noflip */
 border-left:10pxsolid#36c;/* Default "notice" blue */
 background-color:#fbfbfb;
 box-sizing:border-box;
 }

 /* Single border between stacked boxes. Take into account base templatestyles,
  * user styles, and Template:Dated maintenance category.
  * remove link selector when T200206 is fixed
  */
 .ambox+link+.ambox,
 .ambox+link+style+.ambox,
 .ambox+link+link+.ambox,
 /* TODO: raise these as "is this really that necessary???". the change was Dec 2021 */
 .ambox+.mw-empty-elt+link+.ambox,
 .ambox+.mw-empty-elt+link+style+.ambox,
 .ambox+.mw-empty-elt+link+link+.ambox{
 margin-top:-1px;
 }

 /* For the "small=left" option. */
 /* must override .ambox + .ambox styles above */
 htmlbody.mediawiki.ambox.mbox-small-left{
 /* @noflip */
 margin:4px1em4px0;
 overflow:hidden;
 width:238px;
 border-collapse:collapse;
 font-size:88%;
 line-height:1.25em;
 }

 .ambox-speedy{
 /* @noflip */
 border-left:10pxsolid#b32424;/* Red */
 background-color:#fee7e6;/* Pink */
 }

 .ambox-delete{
 /* @noflip */
 border-left:10pxsolid#b32424;/* Red */
 }

 .ambox-content{
 /* @noflip */
 border-left:10pxsolid#f28500;/* Orange */
 }

 .ambox-style{
 /* @noflip */
 border-left:10pxsolid#fc3;/* Yellow */
 }

 .ambox-move{
 /* @noflip */
 border-left:10pxsolid#9932cc;/* Purple */
 }

 .ambox-protection{
 /* @noflip */
 border-left:10pxsolid#a2a9b1;/* Gray-gold */
 }

 .ambox.mbox-text{
 border:none;
 /* @noflip */
 padding:0.25em0.5em;
 width:100%;
 }

 .ambox.mbox-image{
 border:none;
 /* @noflip */
 padding:2px02px0.5em;
 text-align:center;
 }

 .ambox.mbox-imageright{
 border:none;
 /* @noflip */
 padding:2px0.5em2px0;
 text-align:center;
 }

 /* An empty narrow cell */
 .ambox.mbox-empty-cell{
 border:none;
 padding:0;
 width:1px;
 }

 .ambox.mbox-image-div{
 width:52px;
 }

 @media(min-width:720px){
 .ambox{
 margin:010%;/* 10% = Will not overlap with other elements */
 }
 }

 @mediaprint{
 body.ns-0.ambox{
 display:none!important;
 }
 }

AltStyle によって変換されたページ (->オリジナル) /