MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Hide sidebar | /* Hide sidebar menus only */ | ||
# | #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 { | ||
background: none !important; | background: none !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
} | } | ||
/* Pull logo up into the header strip */ | |||
/* | |||
#p-logo { | #p-logo { | ||
position: absolute !important; | position: absolute !important; | ||
top: | top: -55px !important; | ||
left: 8px !important; | left: 8px !important; | ||
z-index: | z-index: 100 !important; | ||
width: | width: 360px !important; | ||
height: | 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: | width: 360px !important; | ||
height: | 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: | width: 360px !important; | ||
height: auto !important; | height: auto !important; | ||
max-width: none !important; | max-width: none !important; | ||
| Line 45: | Line 42: | ||
} | } | ||
/* | /* Force the top-right menus back */ | ||
# | #mw-head, | ||
#p-personal, | #p-personal, | ||
#p-search, | #p-search, | ||
#left-navigation, | |||
#right-navigation { | #right-navigation { | ||
display: block !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;
}