MediaWiki:Vector.css

From Elwiki
Revision as of 21:19, 14 May 2015 by Boxsnake (talk | contribs)

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.
/****************************** Extension MenuSidebar Styles ******************************/
/* Allow popup submenus to overflow the sidebar area for the Vector skin */
#mw-panel div.portal div.body ul li {
    overflow: visible !important;
}

/* Positioning tweak for submenus specific to vector */
.menuSidebar ul div { 
    top: -1px !important; /* vertical offset of submenus */
}

/* keep nested list fonts from continually decreasing in size with each nesting */
#mw-panel div.portal div.body ul li {
    font-size: small !important;
}

/* Allow popup submenus to overflow the sidebar area */
#mw-panel div.portal div.body ul li {
    overflow: visible !important;
}

/* minor adjustments to the sidebar area for the Vector skin */
.menuSidebar ul div {
    top: -1px !important; /* vertical offset of submenus */
}

.menuSidebar ul {
    width: 8em; /* width of main menu */
}

/****************************** Font Settings ******************************/
/* Override Fonts to MS YaHei, and can fallback to default */
html * {
    font-family: "Microsoft YaHei";
}