Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 435: Line 435:
}
}


/* === Force mobile ‘U’ icon logo and hide wordmark on narrow screens === */
/* === Desktop: show full wordmark === */
.mw-logo-icon { display: none !important; }
.mw-logo-wordmark { display: inline-block !important; }
 
/* === Mobile (under 768px): hide wordmark, show square icon === */
@media (max-width: 768px) {
@media (max-width: 768px) {
  /* Hide your wide wordmark logo */
   .mw-logo-wordmark { display: none !important; }
   .mw-logo-wordmark img[src*="Untenables_Wiki_Logo_200.png"],
   .mw-logo-icon {
  .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;
     display: inline-block !important;
     max-width: 48px !important;
     content: url("https://untenables.com/images/2/26/Favicon.png");
     height: auto !important;
     width: 42px;
     margin: 0 auto !important;
     height: auto;
     visibility: visible !important;
     margin-top: 4px;
   }
   }
}
}