MediaWiki:Common.css: Difference between revisions

m Serving custom fonts from web server
Infobox display on mobile (thanks to Sintel)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* for [[Template::Monzo]] and [[Template::Val]] */
/* set infoboxes to full width to clear anything on the side */
/* prevent line breaks within monzo and val notations */
/* if the interface is too narrow for it to make sense */
span.monzo,  
@media screen and (max-width: 720px) {
span.val {
    div.infobox {
  white-space: nowrap;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1em 0 !important;
        box-sizing: border-box !important;
    }
}
 
/* for bracket-like templates e.g. [[Template: Bra]] and [[Template: Ket]] */
/* no effects for now */
span.left-delim, span.right-delim {
}
}