MediaWiki:Common.css: Difference between revisions
From Hidden Mickey Wiki
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 17: | Line 17: | ||
*/ | */ | ||
/* Keep the navbar fixed at the top */ | |||
/* Keep the | |||
#mw-navbar { | #mw-navbar { | ||
position: fixed; | position: fixed; | ||
| Line 24: | Line 23: | ||
left: 0; | left: 0; | ||
right: 0; | right: 0; | ||
z-index: 1000; /* | z-index: 1000; /* stays above content */ | ||
overflow: visible; /* allow dropdowns to extend outside */ | |||
} | } | ||
/* | /* Push down the page content so it's not hidden under the navbar */ | ||
#content { | #content { | ||
margin-top: | margin-top: 4em; /* adjust to match navbar height */ | ||
} | |||
/* Make sure dropdown menus appear on top of everything */ | |||
#mw-navbar .dropdown, | |||
#mw-navbar .dropdown-menu, | |||
#mw-navbar .menu, | |||
#mw-navbar .vector-menu-content { | |||
position: absolute; | |||
z-index: 2000 !important; | |||
} | } | ||
Revision as of 12:51, 15 September 2025
/* CSS placed here will be applied to all skins */
/* Quote boxes */
blockquote { background-color: #e9ecef;padding: 5px;border-radius: 3px;font-style: italic;max-width: 860pt;word-wrap: break-word; }
blockquote cite { display: block;margin-top: 5px;font-size: 0.9em;color: #555;text-align: left; }
/* Disneyland fonts for the title bar; use larger font for desktop computers */
@font-face { font-family: 'Waltograph';src: url('/images/f/fb/Waltograph42.otf') format('opentype'); }
#p-logo a { font-family: 'Waltograph', sans-serif;font-size: 28px; }
@media (min-width: 768px) { #p-logo a { font-family: 'Waltograph', sans-serif;font-size: 42px; } }
/* Disable Discussion pages */
#ca-talk, .mw-indicator-talkpages { display: none !important; }
/* Change title bar, enables <title> to be different from display
@media (min-width: 768px) { .mw-desktop-sitename { visibility: hidden; position: relative; } }
@media (min-width: 768px) { .mw-desktop-sitename::after { content: "Hidden Mickey Wiki"; visibility: visible; position: absolute; top: 0; left: 0; } }
*/
/* Keep the navbar fixed at the top */
#mw-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000; /* stays above content */
overflow: visible; /* allow dropdowns to extend outside */
}
/* Push down the page content so it's not hidden under the navbar */
#content {
margin-top: 4em; /* adjust to match navbar height */
}
/* Make sure dropdown menus appear on top of everything */
#mw-navbar .dropdown,
#mw-navbar .dropdown-menu,
#mw-navbar .menu,
#mw-navbar .vector-menu-content {
position: absolute;
z-index: 2000 !important;
}