MediaWiki:Vector.css
Jump to navigation
Jump to search
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* <pre> */
html {
-webkit-text-size-adjust: 100%;
}
body {
background: var(--body-background-image) var(--body-background-color) no-repeat;
background-size: 1500px 375px;
background-position: top left;
font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
}
.vector-body {
font-size: 0.9em;
line-height: 1.6em;
}
#firstHeading {
font-weight: bold;
}
:root {
--personal-links-bg: hsl(43, 27%, 78%);
}
.vector-menu-dropdown h3 {
background-color: var(--body-background-color);
padding-top: 1em;
}
.vector-menu-dropdown h3 span {
color: var(--background-text-color);
}
.vector-menu-dropdown h3:after {
margin-bottom: 0.4em;
}
.vector-menu-dropdown .vector-menu-content {
border: 1px solid var(--body-border);
background-color: var(--body-light);
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.vector-menu-dropdown li a {
color: var(--background-link-color);
}
.vector-menu-dropdown .selected a,
.vector-menu-dropdown .selected a:visited {
color: var(--text-color);
}
#p-personal {
background: var(--personal-links-bg);
top: 0;
right: 0;
border-radius: 0 0 0 0.3em;
height: 30px;
}
#p-personal ul {
padding: 0 1em 0 0.4em;
}
div#simpleSearch {
border: none;
background: var(--search-box);
height: 2.485em;
margin-top: 0;
box-shadow: inset 0 -7px 7px -7px rgba(0, 0, 0, 0.15);
}
div#simpleSearch #searchInput {
color: var(--text-color);
height: 100%;
border: none;
background: none;
padding-left: 1em;
}
div#simpleSearch #searchInput::placeholder {
color: var(--text-color);
opacity: 0.6;
}
div#simpleSearch #searchButton {
width: 2.5em;
background: none;
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213%22%3E %3Cg fill=%22none%22 stroke=%22%2354595d%22 stroke-width=%222%22%3E %3Cpath d=%22M11.29 11.71l-4-4%22/%3E %3Ccircle cx=%225%22 cy=%225%22 r=%224%22/%3E %3C/g%3E %3C/svg%3E");
background-position: center center;
background-repeat: no-repeat;
}
#searchInput:focus,
#simpleSearch:hover #searchInput:focus {
border: none;
box-shadow: none;
}
#p-search {
margin: 0;
}
#p-search form {
margin-top: 0;
}
#mw-panel {
padding-top: 2.5em;
}
.vector-menu-portal h3 {
color: var(--background-text-color);
font-weight: bold;
background: none;
}
.vector-menu-portal .vector-menu-content li a,
.vector-menu-portal .vector-menu-content li a:visited {
color: var(--background-link-color);
}
#p-logo {
filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
margin: -1.5em 0 0;
}
#n-Discord a {
color: white !important;
font-size: 12px;
font-weight: bold;
border-radius: 5px;
border: 1px solid #4c57d0;
background-color: #5865f2;
display: block;
position: relative;
padding: 4px 0 5px calc(17px + 6.5px * 2);
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
transition: 0.2s ease;
}
#n-Discord a::before {
content: 'Chat on ';
font-weight: normal;
opacity: 0.85;
}
#n-Discord a::after {
content: '';
background: url('filepath://Discord_icon.png') no-repeat;
background-size: 17px 13px;
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
position: absolute;
top: 5px;
left: 7px;
width: 17px;
height: 13px;
}
#n-Discord a:hover {
text-decoration: none;
background-color: #525ee0;
}
.wgl-darkmode #n-Discord a {
background-color: #525ee0;
}
.wgl-darkmode #n-Discord a:hover {
background-color: #4c57d0;
}
.vector-menu-tabs,
.vector-menu-tabs ul {
padding: 0;
}
.vector-menu-tabs .vector-menu-content {
height: 100%;
}
.vector-menu-tabs .new a,
.vector-menu-tabs .new a:visited {
color: var(--redlink-color);
}
.vector-menu-tabs .selected {
background: var(--body-main);
}
.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited {
color: var(--text-color);
}
.vector-menu-tabs li a {
color: var(--background-link-color);
padding: 0 0.75em;
padding-top: 1em;
}
.vector-menu-tabs li a:visited {
color: var(--background-link-color);
}
.vector-menu-tabs ul li {
background: var(--body-background-color);
}
.vector-menu-tabs #ca-view {
display: none !important;
}
.vector-menu-tabs ul li:hover a {
text-decoration: none;
}
.vector-menu-tabs ul li:not(.selected):hover,
#p-cactions:hover #p-cactions-label {
background: var(--body-mid);
}
.vector-menu-tabs ul li:not(.selected),
#mw-head .vector-menu-dropdown h3 {
box-shadow: inset 0 -7px 7px -7px rgba(0, 0, 0, 0.15);
}
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown h3 {
background-image: none;
}
.ve-activated .vector-menu-tabs .selected {
box-shadow: none;
}
.vector-menu-tabs #ca-watch.icon a:before {
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill-opacity=%220%22 stroke=%22%2372777d%22 stroke-width=%22.99992%22 d=%22M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z%22/%3E %3C/svg%3E");
}
.vector-menu-tabs #ca-unwatch.icon a:before {
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22%3E %3Cpath fill=%22%23605443%22 stroke=%22%2372777d%22 stroke-width=%22.99992%22 d=%22M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z%22/%3E %3C/svg%3E");
}
.vector-menu-tabs #ca-unwatch.icon a:hover:before,
.vector-menu-tabs #ca-unwatch.icon a:focus:before {
background-image: linear-gradient(transparent, transparent), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E %3Cpath fill=%22%23999692%22 stroke=%22%2399856B%22 stroke-width=%22.99992%22 d=%22M8.103 1.146l2.175 4.408 4.864.707-3.52 3.431.831 4.845-4.351-2.287-4.351 2.287.831-4.845-3.52-3.431 4.864-.707z%22/%3E %3C/svg%3E");
}
#p-Recent_changes {
display: block;
}
#p-Recent_changes .vector-menu-content {
display: none;
}
#p-Recent_changes h3::after {
content: '';
position: relative;
left: 0.5em;
display: inline-block;
background-color: #3b7a07;
width: 6px;
height: 6px;
border-radius: 100%;
}
#p-Recent_changes .rc-sidebar-item {
position: relative;
font-size: 0.75em;
margin: 0.5em 0.25em 0 0.66em;
}
#p-Recent_changes .rc-sidebar-item::before {
position: absolute;
left: -0.75em;
top: 0.5em;
background-color: #327ba7;
width: 4px;
height: 4px;
border-radius: 100%;
}
#p-Recent_changes .rc-sidebar-page {
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: max-content;
}
#p-Recent_changes .rc-sidebar-page,
#p-Recent_changes .rc-sidebar-page:active,
#p-Recent_changes .rc-sidebar-page:visited {
color: var(--background-link-color);
}
#p-Recent_changes .rc-sidebar-user {
color: #555;
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#p-Recent_changes .rc-sidebar-user a {
color: inherit;
}
#p-Recent_changes .rc-sidebar-more {
text-align: left;
}
#p-Recent_changes .rc-sidebar-more .rc-sidebar-page {
display: inline-block;
}
.infobox {
background: var(--body-light);
border: 1px solid var(--body-border);
font-size: 0.85em;
width: 300px;
margin: 0.5em 0 1em 1em;
border-collapse: collapse;
box-shadow: 0 0.25rem 0.35rem -0.25rem rgba(0, 0, 0, 0.1);
float: right;
table-layout: fixed;
word-break: break-word;
}
.infobox .infobox-header {
color: var(--infobox-text-color);
font-size: 1.15em;
line-height: 1.4em;
background: var(--body-dark);
padding: 0.5em 0;
white-space: normal;
}
.infobox .infobox-header a {
color: var(--infobox-text-color);
font-size: 1.15em;
font-weight: bold;
}
.infobox .infobox-subheader {
background: var(--body-dark);
color: var(--infobox-text-color);
line-height: 2em;
}
.infobox .infobox-subheader a {
color: var(--infobox-text-color);
}
.infobox .infobox-subheader + .infobox-subheader {
border-left: 2px solid var(--body-light);
}
.infobox .infobox-image {
text-align: center;
}
.infobox .infobox-image.inventory-image {
height: 32px;
}
.infobox .infobox-image a.image + a.image {
margin-left: 0.1em;
}
.infobox .infobox-image img {
max-width: 300px;
height: auto;
}
.infobox th:not(.infobox-header):not(.infobox-subheader):not(.infobox-nested) {
text-align: right;
vertical-align: top;
border-right: 2px solid var(--body-dark);
padding: 0.2em 0.5em;
}
.infobox th {
white-space: nowrap;
}
.infobox td {
padding: 0.25em 0.5em;
line-height: 1.6em;
}
.infobox td.infobox-nested {
padding: 0.25em 0;
line-height: 1em;
}
.infobox .infobox-padding {
height: 0.5em;
padding: 0;
border: 0;
}
.infobox .infobox-nested {
text-align: center;
}
.infobox .infobox-nested + .infobox-nested {
border-left: 2px solid var(--body-dark);
}
.infobox .infobox-cell-hidden {
display: none;
}
.infobox .infobox-template-links {
text-align: center;
}
.infobox .infobox-full-width-content {
max-width: 300px;
text-align: center;
overflow: hidden;
padding: 0;
}
.infobox .infobox-caption {
font-weight: bold;
}
.infobox.skill-info {
float: none;
margin: 0 0 1em 0;
}
.infobox .infobox-media-player {
overflow: visible;
}
.infobox-item th {
width: 75px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.infobox-item .infobox-image {
image-rendering: -moz-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
}
.infobox-bonuses {
clear: left;
float: none;
word-break: break-word;
font-size: 100%;
}
.infobox-bonuses .infobox-bonuses-image {
width: 125px;
text-align: center;
vertical-align: middle;
border: 1px solid var(--body-border);
}
.infobox-bonuses .infobox-bonuses-image-caption {
font-size: 0.85em;
}
.infobox-bonuses .infobox-subheader {
width: 250px;
}
.infobox-bonuses a {
font-weight: bold;
}
.skill-info a[href$="?action=edit"] + a[href$="?action=edit"] {
display: none;
}
.poh-room {
background-color: var(--infobox-room-poh-color);
margin: auto;
width: 100px;
}
.poh-room img {
display: block;
}
.poh-room-row {
display: flex;
}
.poh-room-text {
margin: auto;
width: 92px;
}
.infobox-bottom-links {
clear: right;
float: right;
font-size: xx-small;
margin-top: -1.5em;
}
.infobox-buttons {
text-align: center;
max-width: 300px;
display: none;
}
.infobox-buttons .button {
margin: 0 3px;
}
.infobox-switch-resources {
display: none;
}
.switch-infobox .switch-infobox-triggers,
.switch-infobox .loading-button {
clear: left;
}
.infobox-pure .max-hit-list {
list-style: none;
margin-left: 0;
}
.infobox-pure .max-hit-list a {
display: inline-block;
min-width: 32px;
min-height: 32px;
text-align: center;
}
.advanced-data {
display: none;
}
.multi-infobox {
float: right;
margin-left: 5px;
}
.multi-infobox .tabber {
margin: 0;
}
.multi-infobox .tabber .tabbernav {
text-align: center;
margin: 0;
}
.multi-infobox .tabber .tabbernav a {
padding: 0.5em 0.8em;
}
.multi-infobox .tabber .tabbertab {
padding: 5px;
}
.multi-infobox .infobox {
margin: 0;
}
.navbox {
font-size: 0.85em;
background: var(--body-light);
border-collapse: collapse;
margin: 15px auto;
width: 100%;
clear: both;
}
.navbox:not(.navbox-collapsible) {
box-shadow: 0 2px 3px -2px rgba(0, 0, 0, 0.1);
}
.navbox .navbox-title {
font-size: 110%;
background: var(--body-dark);
text-align: center;
padding: 3px 8px;
}
.navbox .navbox-title .mw-collapsible-toggle {
font-size: 0.9em;
margin-left: 6em;
float: right;
}
.navbox .navbox-footer {
background: var(--body-dark);
border-top: 1px;
text-align: center;
font-size: smaller;
}
.navbox .navbox-group-title {
background: var(--body-mid);
border: 1px solid var(--body-dark);
border-width: 0 1px 1px 0;
font-weight: bold;
padding-left: 10px;
width: 15%;
}
.navbox .navbox-group-title a {
white-space: normal;
}
.navbox .navbox-list {
border-bottom: 1px solid var(--body-dark);
padding: 4px 8px;
}
.navbox .navbox-list ul {
margin: 0;
}
.navbox .navbox-list li {
display: inline-block;
}
.navbox .navbox-list li + li::before {
content: '• ';
}
.navbox .navbox-parent {
padding: 0;
}
.navbox .navbox-subgroup {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
.navbox .navbox-subgroup > tbody > tr:last-child > td {
border-bottom: none;
}
.navbox .navbox.navbox-collapsible {
font-size: 100%;
margin: 5px 0 0;
}
.navbox .navbox.navbox-collapsible .navbox-title {
background: var(--body-dark);
padding: 0 8px;
}
.navbox img {
height: auto;
width: auto;
padding: 0 1px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
.navbox img {
image-rendering: -moz-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
}
.navbox + .navbox {
margin-top: -8px;
}
.navbox-data {
display: none;
}
.navbox-data + .navbox {
margin-top: -8px;
}
.mw-collapsible.mw-collapsed {
min-width: 250px;
}
.mw-collapsible .mw-collapsible-toggle {
font-weight: normal;
}
.navbox-title-name-plain {
padding-right: 6em;
}
.navbox-title-name-notplain {
padding-right: 0;
}
.navbox-title-noname-plain {
padding-left: 0;
}
.navbox-title-noname-notplain {
padding-left: 6em;
}
:root {
--button-background: var(--osrsw-brown);
--button-color: #fff;
}
.button {
background: var(--button-background);
border: transparent;
color: var(--button-color);
cursor: pointer;
display: inline-block;
font-size: 12px;
height: 19px;
line-height: 20px;
padding: 0 10px;
}
input[name="model"][value="Scribunto"] ~ .wikiEditor-ui #wpTextbox1,
input[name="model"][value="css"] ~ .wikiEditor-ui #wpTextbox1,
input[name="model"][value="less"] ~ .wikiEditor-ui #wpTextbox1,
input[name="model"][value="javascript"] ~ .wikiEditor-ui #wpTextbox1,
input[name="model"][value="json"] ~ .wikiEditor-ui #wpTextbox1 {
height: 600px;
}
#mw-scribunto-input,
#mw-scribunto-output {
padding: 3px;
font-family: monospace;
font-size: 13px;
line-height: 1.5em;
}
.tdg-templateDataDialog-listParamsPanel textarea.oo-ui-textInputWidget-autosized {
resize: vertical;
}
#wpAceFilterEditor {
resize: horizontal;
}
.warn-userupload,
.ns-2 .upload-own-work {
display: none;
}
.ns-2 .warn-userupload {
display: inline;
}
ul.preload-list {
margin-left: 0;
}
ul.preload-list li {
list-style: none;
display: inline-block;
margin: 0.3em;
}
textarea[name="wfUploadDescription"] {
height: 3em;
}
#editform {
margin-top: 1.25em;
}
:root {
--echo-icon-moon-bg-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.85464918.37900488c-1.91149353 1.51069427-3.13816124 3.84973402-3.13816124 6.47527736 0 4.55564936 3.69308349 8.24873286 8.24873286 8.24873286 2.5815709 0 4.8861545-1.1859235 6.3986798-3.0426994-.8206378 4.7389755-4.9523867 8.343122-9.9259291 8.343122-5.56375572 0-10.07407088-4.5103151-10.07407088-10.0740709 0-5.02506013 3.67919933-9.19079725 8.49074856-9.95036192z' fill='%235D5141' fill-rule='evenodd'/%3E%3C/svg%3E");
--echo-icon-person-bg-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2213.836%22 viewBox=%220 0 12 13.836%22%3E %3Cpath fill='%235D5141' d=%22M1.938%2C6.656c-1.32%2C1.485-1.47%2C3.15-0.97%2C4.25c0.323%2C0.707%2C0.78%2C1.127%2C1.313%2C1.375 c0.496%2C0.229%2C1.074%2C0.273%2C1.658%2C0.282c0.023%2C0%2C0.04%2C0.03%2C0.062%2C0.03h4.187c0.61%2C0%2C1.225-0.125%2C1.75-0.405 c0.527-0.28%2C0.961-0.718%2C1.188-1.376c0.335-0.964%2C0.175-2.529-1.094-4.03C9.094%2C7.954%2C7.68%2C8.719%2C6.065%2C8.719 c-1.677%2C0-3.182-0.812-4.125-2.063H1.938z%22/%3E %3Cpath fill='%235D5141' d=%22M6.063%2C0c-1.89%2C0-3.595%2C1.674-3.594%2C3.563C2.467%2C5.45%2C4.173%2C7.155%2C6.06%2C7.155 c1.89%2C0%2C3.564-1.705%2C3.563-3.593C9.625%2C1.673%2C7.95%2C0%2C6.063%2C0L6.063%2C0z%22/%3E %3C/svg%3E");
}
#pt-skin-toggles .oo-ui-icon-advanced {
background-image: var(--echo-icon-moon-bg-image);
}
.vector-user-menu-legacy #pt-userpage a,
.vector-user-menu-legacy #pt-anonuserpage {
background-image: var(--echo-icon-person-bg-image);
padding-top: 0 !important;
background-position-y: 0;
}
#pt-notifications-notice .mw-echo-notifications-badge,
#pt-notifications-alert .mw-echo-notifications-badge {
background-size: 75%;
background-position: center 80%;
background-repeat: no-repeat;
}
.mw-parser-output .messagebox ul,
.mw-talkpageheader .messagebox ul {
margin: 0.3em 0 0 1.6em;
}
.ns-120 .mw-parser-output > ul,
.transcript > ul {
margin: 5px 0 0 0;
}
.ns-120 .mw-parser-output > ul ul,
.transcript > ul ul,
.ns-120 .mw-parser-output > ul ol,
.transcript > ul ol {
margin: 5px 0 0 15px;
}
.ns-120 .mw-parser-output > ul,
.transcript > ul,
.ns-120 .mw-parser-output > ul ul,
.transcript > ul ul,
.ns-120 .mw-parser-output > ul ol,
.transcript > ul ol {
list-style: none;
border-left: 1px dashed var(--transcript-border-color);
}
.ns-120 .mw-parser-output > ul:hover,
.transcript > ul:hover,
.ns-120 .mw-parser-output > ul ul:hover,
.transcript > ul ul:hover,
.ns-120 .mw-parser-output > ul ol:hover,
.transcript > ul ol:hover {
border-color: var(--transcript-border-hover-color);
}
.ns-120 .mw-parser-output > ul li,
.transcript > ul li,
.ns-120 .mw-parser-output > ul ul li,
.transcript > ul ul li,
.ns-120 .mw-parser-output > ul ol li,
.transcript > ul ol li {
flex-direction: column;
padding-left: 15px;
margin: 14px 0;
}
.ns-120 .mw-parser-output > ul li:last-of-type,
.transcript > ul li:last-of-type,
.ns-120 .mw-parser-output > ul ul li:last-of-type,
.transcript > ul ul li:last-of-type,
.ns-120 .mw-parser-output > ul ol li:last-of-type,
.transcript > ul ol li:last-of-type {
margin-bottom: 0;
}
.nodesktop {
display: none;
}
.tabber {
display: inline-grid;
}
.mw-editsection {
font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
}
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-rtl .mw-editsection-bracket:not(:first-of-type),
.client-js .mw-content-rtl .mw-editsection-bracket:first-of-type,
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type) {
color: var(--text-color);
}
.mw-editsection-divider {
color: var(--text-color);
}