Difference between revisions of "MediaWiki:Common.css"

Jump to navigation Jump to search
127 bytes added ,  14:50, 3 October 2020
Ambox style tweaks.
(Add initial ambox styles.)
(Ambox style tweaks.)
Line 7: Line 7:
 
display: block;
 
display: block;
 
padding: 1em;
 
padding: 1em;
clear: both;
 
 
border: 1px solid hsl(0, 0%, 89%);
 
border: 1px solid hsl(0, 0%, 89%);
 
background-color: hsl(0, 0%, 100%);
 
background-color: hsl(0, 0%, 100%);
 +
clear: both;
 +
overflow: hidden;
 
}
 
}
  
Line 91: Line 92:
 
}
 
}
 
.box.ambox + .box.ambox { margin-top: -1px; }
 
.box.ambox + .box.ambox { margin-top: -1px; }
 +
.box.ambox .ambox__icon { padding-right: 1em; }
 
.box.ambox.section { /* Smaller, section-specific variant */
 
.box.ambox.section { /* Smaller, section-specific variant */
 
max-width: 20em;
 
max-width: 20em;
Line 97: Line 99:
 
font-size: smaller;
 
font-size: smaller;
 
}
 
}
 +
.box.ambox.section .ambox__icon { padding-right: .5em; }

Navigation menu