Selector
|
Description
|
Recommendations
|
|
Empty header element that influences top position of sidebar and content.
|
- This is one available option for a background for the header. Useful if the desired background size will be different than that of
#mw-head .
- Adjusting height, vertical margins, or vertical padding will adjust top position of sidebar and content.
|
|
Empty header element that influences top position of sidebar and content.
|
- Set
display: none; and add extra height to #mw-page-base to avoid inconsistent vertical positioning of sidebar and content between browsers. Important if you need pixel-perfect positioning.
|
|
Actual container for the page navigation bar.
|
- This is not in normal flow and won't affect content or sidebar position.
- It's easiest to set this to the same height as
#mw-page-base , but margins or positioning can be used if border, backgrounds, or other effects are desired around the entire page actions bar.
- If using non-standard content width, you'll probably need to set a width on this to match. In some cases, this may require a combination of positioning, margins, padding, and/or width to achieve the correct effect.
|
|
Links for the content and talk page.
|
- Position is relative to
#mw-head .
- Use
top and left to adjust position.
left will usually be set to the width of the sidebar or greater, unless you choose to adjust #mw-head 's position or margins instead (useful for certain effects).
|
|
Container for page actions links and search controls.
|
- Adjust position using margins.
|
|
Containers for: the content and talk page links; and the view, edit, and history links.
|
- Be careful when making adjustments to margins, paddings, or font sizes in these elements, as they may end up overlapping when the browser window is narrow.
- The Vector extension adds JavaScript that can move links into the hover menu when there isn't enough width, but it does not consider margins or padding. Any desired padding should be applied to
div.VectorTabs span instead to preserve full function of the collapse script.
- Has a background by default. You'll likely need to remove or override it.
|
|
An outer container for a single page tab link.
|
- Has a background by default. You'll likely need to remove or override it.
|
div.vectorTabs li.selected
|
An outer container for a selected single page tab link.
|
- Has a background by default. You'll likely need to remove or override it.
|
|
An inner container for a single page tab link.
|
- Has a background by default. You'll likely need to remove or override it.
|
|
A page tab link.
|
- Has height set in relative units. This may need to be changed to absolute units depending on height of the header.
|
div.vectorTabs li.new span a
|
A page tab link for a page that doesn't exist.
|
|
|
Container for the hover menu tabs in the top bar.
|
- If the height for the tab links has been adjusted, height here should generally be adjusted to match.
|
div.vectorMenu h3 span::after
|
Element that generates the arrow in the hover menus.
|
- The arrow is created using a background image, so the appearance of the arrow can be changed by using a different arrow image as the background image.
|
|
Container for the hover menu (only the part that appears when hovering over the arrow).
|
- If the height of the hover menu tabs have been adjusted, it may be necessary to adjust the menu's position with
left and top so there is no gap between the tab and the menu.
- If the menu is closing while the mouse cursor is still over it, you may need to increase the
z-index . A really high value like 3000 gives you plenty of room to adjust z-index elsewhere if you so desire.
|
|
Container for the share hover menu tab.
|
|
div#p-sharing div#socialIconImages
|
Container for the sharing icons inside the share hover menu.
|
|
div#p-sharing div#socialIconImages a
|
The individual sharing icons inside the share hover menu.
|
|
|
Container for the hover menu tab with the page actions (such as delete).
|
|
div#p-cactions div.menu ul li a
|
A link in the hover menu.
|
- Spacing between the links can be adjusted with vertical padding or margins.
|
.vectorTabs #ca-watch.icon a
|
The watch button.
|
- The appearance of the star can be changed by changing the background image of this element.
|
.vectorTabs #ca-unwatch.icon a
|
The unwatch button.
|
- The appearance of the star can be changed by changing the background image of this element.
|