MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 432: | Line 432: | ||
.infobox th { | .infobox th { | ||
word-wrap: break-word !important; | word-wrap: break-word !important; | ||
} | |||
} | |||
/* === Force mobile ‘U’ icon logo and hide wordmark on narrow screens === */ | |||
@media (max-width: 768px) { | |||
/* Hide your wide wordmark logo */ | |||
.mw-logo-wordmark img[src*="Untenables_Wiki_Logo_200.png"], | |||
.branding-box img[src*="Untenables_Wiki_Logo_200.png"] { | |||
display: none !important; | |||
} | |||
/* Show your U favicon/logo instead */ | |||
.mw-logo img[src*="Favicon.png"], | |||
.branding-box img[src*="Favicon.png"] { | |||
display: inline-block !important; | |||
max-width: 48px !important; | |||
height: auto !important; | |||
margin: 0 auto !important; | |||
visibility: visible !important; | |||
} | } | ||
} | } | ||