MediaWiki:Common.css: Difference between revisions

From Hidden Mickey Wiki

No edit summary
No edit summary
Line 17: Line 17:
*/
*/


/* === Settings dropdown in mw-navbar-left === */
#mw-settings-dropdown {
#mw-settings-dropdown {
  position: absolute;
    display: inline-block;
  top: 10px;
    float: right;         /* far right of navbar-left */
  right: 10px;
    position: relative;
  background: #fff;
    margin-right: 10px;
  border: 1px solid #ccc;
    font-family: sans-serif;
  padding: 4px;
    z-index: 9999;
  z-index: 9999;
}
}


#mw-settings-dropdown button {
#mw-settings-dropdown button {
  padding: 6px 10px;
    padding: 6px 12px;
  cursor: pointer;
    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 {
#mw-settings-dropdown ul {
  list-style: none;
    display: none;              /* hidden by default */
  margin: 4px 0 0 0;
    position: absolute;
  padding: 0;
    right: 0;
  display: none;
    top: 100%;
    min-width: 150px;
    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 {
#mw-settings-dropdown ul li a {
  display: block;
    display: block;
  padding: 6px 12px;
    padding: 8px 12px;
  text-decoration: none;
    text-decoration: none;
  color: black;
    color: #000;
}
}


#mw-settings-dropdown ul li a:hover {
#mw-settings-dropdown ul li a:hover {
  background: #eee;
    background: #f1f3f5;
}
}

Revision as of 15:57, 18 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; } }
*/

/* === Settings dropdown in mw-navbar-left === */
#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;
    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;
}