Jump to content
Toggle menu
  • 7 articles
  • 95 files
  • 12.4K users
  • 771 edits
Williams Arcades Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* Hide sidebar sections, keep the logo */
/* Hide sidebar menus only */
#mw-panel > *:not(#p-logo) {
#p-navigation,
   display: none;
#p-tb,
#p-interaction,
#p-coll-print_export,
#p-lang,
#p-Help_about_MediaWiki {
   display: none !important;
}
}


#mw-panel {
#mw-panel {
  width: auto !important;
  height: auto !important;
   background: none !important;
   background: none !important;
  padding: 0 !important;
   overflow: visible !important;
   overflow: visible !important;
}
}


#mw-head,
/* Pull logo up into the header strip */
#mw-page-base {
  position: relative !important;
}
 
/* Logo in the header only — scrolls away with the page */
#p-logo {
#p-logo {
   position: absolute !important;
   position: absolute !important;
   top: 8px !important;
   top: -55px !important;
   left: 8px !important;
   left: 8px !important;
   z-index: 1000 !important;
   z-index: 100 !important;
   width: 420px !important;
   width: 360px !important;
   height: 110px !important;
   height: 90px !important;
   overflow: visible !important;
   overflow: visible !important;
}
}
Line 31: Line 28:
#p-logo a span {
#p-logo a span {
   display: block !important;
   display: block !important;
   width: 420px !important;
   width: 360px !important;
   height: 110px !important;
   height: 90px !important;
   background-position: left center !important;
   background-position: left center !important;
   background-repeat: no-repeat !important;
   background-repeat: no-repeat !important;
Line 39: Line 36:


#p-logo img {
#p-logo img {
   width: 420px !important;
   width: 360px !important;
   height: auto !important;
   height: auto !important;
   max-width: none !important;
   max-width: none !important;
Line 45: Line 42:
}
}


/* Only move the left tabs; leave search + personal menu alone */
/* Force the top-right menus back */
#left-navigation {
#mw-head,
  margin-left: 280px !important;
}
 
#p-personal,
#p-personal,
#p-search,
#p-search,
#left-navigation,
#right-navigation {
#right-navigation {
   margin-left: 0 !important;
   display: block !important;
   padding-left: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
 
#left-navigation {
   margin-left: 280px !important;
}
}



Revision as of 21:22, 11 September 2026

/* Hide sidebar menus only */
#p-navigation,
#p-tb,
#p-interaction,
#p-coll-print_export,
#p-lang,
#p-Help_about_MediaWiki {
  display: none !important;
}

#mw-panel {
  background: none !important;
  overflow: visible !important;
}

/* Pull logo up into the header strip */
#p-logo {
  position: absolute !important;
  top: -55px !important;
  left: 8px !important;
  z-index: 100 !important;
  width: 360px !important;
  height: 90px !important;
  overflow: visible !important;
}

#p-logo a,
#p-logo a span {
  display: block !important;
  width: 360px !important;
  height: 90px !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

#p-logo img {
  width: 360px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}

/* Force the top-right menus back */
#mw-head,
#p-personal,
#p-search,
#left-navigation,
#right-navigation {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#left-navigation {
  margin-left: 280px !important;
}

#content,
.mw-body,
#footer {
  margin-left: 1em !important;
}