MediaWiki:Vector.css
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.
/* Structorica Vector Theme */
:root {
/* Width control */
--fixed-width: 1200px; /* Dynamicly changed by Hook */
}
/* Main page elements */
body {
background-color: var(--background-color-base);
color: var(--color-base);
}
/* ------------------------------------------- */
/* Theme and Width toggle buttons styling */
.theme-toggle-button,
.width-toggle-button {
display: block;
padding: 8px 12px;
text-decoration: none;
border-radius: 4px;
font-size: 14px;
margin: 4px 0;
}
body.stw-theme-dark .theme-toggle-button:hover,
body.stw-theme-dark .width-toggle-button:hover,
#p-personal .theme-toggle-button,
#p-personal .width-toggle-button {
display: inline-block;
margin: 0 0 0 10px;
padding: 0.5em;
font-size: 0.875em;
line-height: 1;
}
/* Width control */
@media screen and (min-width: 1200px) {
body {
max-width: var(--fixed-width); /* Dynamicly changed by Hook */
margin: auto;
}
}