MediaWiki:Common.css
From Hidden Mickey Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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; }
/* Hide DIVs whose class attribute is exactly "d-flex flex-row" or "flex-row d-flex"
This causes the "Page / Action / Tools" dropdowns to disappear */
div[class="d-flex flex-row"],
div[class="flex-row d-flex"] {
display: none !important;
}
/* Make sidebars sticky across common skins */
#mw-panel,
.vector-sidebar-container,
#column-one,
#mw_portlets,
#mw-related-navigation,
#mw-site-navigation {
position: -webkit-sticky;
position: sticky;
top: 0; /* stick to top of viewport */
max-height: 100vh;
overflow-y: auto; /* add scrollbar if sidebar is taller than screen */
z-index: 100;
}
/* Optional: turn off on small screens */
@media (max-width: 800px) {
#mw-panel,
.vector-sidebar-container,
#column-one,
#mw_portlets,
#mw-related-navigation,
#mw-site-navigation {
position: static;
max-height: none;
overflow: visible;
}
}