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; }
/* 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; } }
*/
/* === Settings dropdown (site-wide) ===
Put this in MediaWiki:Common.css
*/
/* container */
#mw-settings-dropdown {
display: inline-block;
position: relative;
font-size: 0.95rem;
vertical-align: middle;
}
/* button (look like a header link/button) */
#mw-settings-dropdown .mw-settings-button {
background: transparent;
border: none;
padding: 6px 10px;
cursor: pointer;
font: inherit;
color: inherit;
white-space: nowrap;
}
/* visible focus outline (keyboard users) */
#mw-settings-dropdown .mw-settings-button:focus {
outline: 2px solid Highlight;
outline-offset: 2px;
}
/* the dropdown list */
#mw-settings-dropdown .mw-settings-list {
position: absolute;
top: 100%;
right: 0;
min-width: 180px;
margin: 6px 0 0 0;
padding: 4px 0;
list-style: none;
border-radius: 4px;
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
background: var(--mw-ui-surface, #fff);
z-index: 1200;
}
/* list items */
#mw-settings-dropdown .mw-settings-list li a {
display: block;
padding: 8px 12px;
text-decoration: none;
color: inherit;
}
/* hover / focus */
#mw-settings-dropdown .mw-settings-list li a:hover,
#mw-settings-dropdown .mw-settings-list li a:focus {
background: rgba(0,0,0,0.06);
}
/* small screens: hide (optional) */
@media (max-width: 640px) {
#mw-settings-dropdown { display: none; }
}