MediaWiki:Vector.css: Difference between revisions
From Elwiki
mNo edit summary |
|||
Line 2: | Line 2: | ||
/* override font */ | /* override font */ | ||
html * { | /* html * { | ||
font-family: "Lucida Console", Consolas, Georgia,"Microsoft YaHei", SimHei, Serif; | |||
} */ | |||
} | |||
/* Allow popup submenus to overflow the sidebar area for the Vector skin */ | /* Allow popup submenus to overflow the sidebar area for the Vector skin */ |
Revision as of 06:38, 27 August 2014
/* CSS placed here will affect users of the Vector skin */
/* override font */
/* html * {
font-family: "Lucida Console", Consolas, Georgia,"Microsoft YaHei", SimHei, Serif;
} */
/* 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 */
}
/* CSS placed here will affect users of the Vector skin */
/* 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 */
}