MediaWiki:Vector.css
From Ardent Spacers Wiki
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */
:root {
/* -----------------------------------
Vector Tabs
----------------------------------- */
--vector-tab-background: var(--lotus-blue-dark);
--vector-tab-background--hover: var(--lotus-blue);
--vector-tab-link-color: var(--light-gray);
--vector-tab-gap: var(--mid-darker-gray);
--watch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='transparent' stroke='%235BB7E5' stroke-width='.8' d='m8.1 1.1 2.2 4.5 4.8.7-3.5 3.4.9 4.8L8 12.2l-4.3 2.3.8-4.8L1 6.3l4.8-.7z'/%3E%3C/svg%3E");
--unwatch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%235BB7E5' stroke='%235BB7E5' stroke-width='.8' d='m8.1 1.1 2.2 4.5 4.8.7-3.5 3.4.9 4.8L8 12.2l-4.3 2.3.8-4.8L1 6.3l4.8-.7z'/%3E%3C/svg%3E");
/* -----------------------------------
Links
----------------------------------- */
div#mw-panel .vector-menu-portal .vector-menu-heading {
color: var(--sidebar-heading-text-color);
font-weight: bold;
display: flex;
justify-content: center;
align-content: center;
text-align: center;
background: var(--sidebar-heading-background);
text-transform: uppercase;
margin: 0;
clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0 100%);
text-shadow: 1px 1px 1px var(--transparent-black-less);
}
div#mw-panel .vector-menu-portal .vector-menu-content {
background: var(--sidebar-content-background);
padding: .25em .5em;
margin: 0;
box-shadow: 2px 3px 5px 0px var(--transparent-black-subtle);
}
div#mw-panel .vector-menu-portal .vector-menu-heading .vector-menu-heading-label {
display: inline-block;
position: relative;
right: 10px;
}
div#mw-panel .vector-menu-portal .vector-menu-content ul {
padding-top: 0;
}
div#mw-panel li a,
div#mw-panel li a:visited {
color: var(--sidebar-content-link-color);
}
div#mw-panel li a:hover {
color: var(--sidebar-content-link-color-hover);
}
#p-interaction li,
#p-navigation li,
#p-Navigation ul,
#p-personal,
#p-tb ul {
text-transform: capitalize;
}
}
