MediaWiki:Vector.css: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); | box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); | ||
} | } | ||
/* input hover left border */ | |||
input { | |||
padding: 0.25em; | |||
padding-left: 0.75em; | |||
border-radius: 0; | |||
border: 1px black outset; | |||
} | |||
input:focus { | |||
border-color: transparent; | |||
border-left: 0.5em #0ebdd6 solid; | |||
margin-left: -0.25em; | |||
background-color: #f5fdfe; | |||
} | |||
/* Allow popup submenus to overflow the sidebar area for the Vector skin */ | /* Allow popup submenus to overflow the sidebar area for the Vector skin */ | ||
#mw-panel div.portal div.body ul li { | #mw-panel div.portal div.body ul li { |
Revision as of 18:11, 5 September 2014
/* CSS placed here will affect users of the Vector skin */
/* Override font, will fall back to default without MS YaHei */
html * {
font-family: "Microsoft YaHei";
}
/* content box shadow */
#content {
box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
/* input hover left border */
input {
padding: 0.25em;
padding-left: 0.75em;
border-radius: 0;
border: 1px black outset;
}
input:focus {
border-color: transparent;
border-left: 0.5em #0ebdd6 solid;
margin-left: -0.25em;
background-color: #f5fdfe;
}
/* 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 */
}