MediaWiki:Common.css: Difference between revisions
From Hidden Mickey Wiki
No edit summary |
No edit summary |
||
| Line 18: | Line 18: | ||
*/ | */ | ||
/* | /* "Where To" dropdown */ | ||
#mw-settings-dropdown { | #mw-settings-dropdown { | ||
display: inline-block; | display: inline-block; | ||
| Line 68: | Line 68: | ||
background: #f1f3f5; | background: #f1f3f5; | ||
} | } | ||
/* Hide Settings dropdown on screens narrower than 768px */ | /* Hide Settings dropdown on screens narrower than 768px */ | ||
Revision as of 14:02, 19 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; } }
@media (min-width: 768px) { .mw-settings-dropdown { display: none !important; } }
*/
/* "Where To" dropdown */
#mw-settings-dropdown {
display: inline-block;
float: right; /* far right of navbar-left */
position: relative;
margin-right: 10px;
font-family: sans-serif;
z-index: 9999;
}
#mw-settings-dropdown button {
padding: 6px 12px;
cursor: pointer;
background: #f8f9fa; /* light header-style background */
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.95rem;
}
#mw-settings-dropdown button:hover {
background: #e9ecef; /* slightly darker on hover */
}
#mw-settings-dropdown ul {
display: none; /* hidden by default */
position: absolute;
right: 0;
top: 100%;
min-width: 150px;
width: auto; /* allows it to expand based on content */
white-space: nowrap; /* prevents text from wrapping to multiple lines */
padding: 0;
margin: 4px 0 0 0;
background: #fff;
border: 1px solid #ccc;
border-radius: 4px;
list-style: none;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
#mw-settings-dropdown ul li a {
display: block;
padding: 8px 12px;
text-decoration: none;
color: #000;
}
#mw-settings-dropdown ul li a:hover {
background: #f1f3f5;
}
/* Hide Settings dropdown on screens narrower than 768px */
@media (max-width: 768px) {
#mw-settings-dropdown {
display: none !important;
}
}