MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
background-color: var(--background-color-base); | background-color: var(--background-color-base); | ||
color: var(--color-base); | color: var(--color-base); | ||
} | |||
#mw-page-base { | |||
background: none; | |||
height: 85px; | |||
} | |||
/* Remove excess spacing between the sidebar and the logo */ | |||
div#mw-panel { | |||
padding-top: 0; | |||
padding-bottom: 10px; | |||
} | |||
#p-logo, | |||
#p-logo a { | |||
margin: auto; | |||
height: 8.75em; /* 140px */ | |||
} | |||
#right-navigation, | |||
#content { | |||
margin-right: 0px; | |||
} | |||
#footer { | |||
margin-right: 0px; | |||
} | |||
/* Position the tabs */ | |||
#left-navigation, | |||
#right-navigation { | |||
margin-top: 54px; | |||
} | |||
#mw-head-base { | |||
height: 80px; | |||
margin-top: -80px; | |||
} | } | ||
Revision as of 11:07, 6 January 2026
/* 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);
}
#mw-page-base {
background: none;
height: 85px;
}
/* Remove excess spacing between the sidebar and the logo */
div#mw-panel {
padding-top: 0;
padding-bottom: 10px;
}
#p-logo,
#p-logo a {
margin: auto;
height: 8.75em; /* 140px */
}
#right-navigation,
#content {
margin-right: 0px;
}
#footer {
margin-right: 0px;
}
/* Position the tabs */
#left-navigation,
#right-navigation {
margin-top: 54px;
}
#mw-head-base {
height: 80px;
margin-top: -80px;
}
nav.vector-menu-tabs ul li.selected,
nav.vector-menu-tabs ul li:hover,
nav.vector-menu-tabs ul li:focus,
nav.vector-menu-dropdown:hover,
nav.vector-menu-dropdown:focus {
--ca-background-color: var(--content-background-color);
}
.mw-body, .parsoid-body,
div#content {
background-color: var(--content-background-color);
border-top: 0px solid var(--content-background-color);
border-bottom: 0px solid var(--content-background-color);
border-left: 0px solid var(--content-background-color);
border-right: 0px solid var(--content-background-color);
}
.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
background-color: var(--content-background-color);
}
#preferences .mw-htmlform-submit-buttons {
background-color: var(--content-background-color);
}
/* ------------------------------------------- */
/* 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;
}
}