MediaWiki:Vector.css
Jump to navigation
Jump to search
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/* All CSS here will be loaded for users of the Vector skin */ /* Background image and colors */ body { background-image: url(https://twoworldswiki.com/w/images/2/26/Background.png); -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; background-color: #A8967E; background-repeat: repeat; } /* Make Redirect Links White */ .allpagesredirect a.mw-redirect, .watchlistredir a.mw-redirect { color: #804edc !important; } /* Vector Tabs */ .vector-menu-heading, .vector-menu-dropdown, .mw-sidebar, .catlinks { background-color: var(--TwoWorldsWiki-primary-color); } #mw-head .vector-menu-dropdown .vector-menu-heading { background: var(--TwoWorldsWiki-primary-color); } .vector-menu-dropdown .mw-list-item { background-color: #D9C790; } /* Read/Edit/View history bar */ .vector-menu-tabs, .vector-menu-tabs li, .vector-menu-tabs .selected, .vector-menu-tabs a, #mw-head .vector-menu-dropdown h3 { background: var(--TwoWorldsWiki-primary-color); font-variant-caps: petite-caps; background-image: none; background-size: 0; } /* Page/section title background */ .mw-first-heading, .mw-parser-output > h1, .mw-parser-output > h2 { background: linear-gradient(to bottom, #00000000, var(--TwoWorldsWiki-secondary-color)); border-bottom: 1px solid var(--TwoWorldsWiki-border-color); } /* Background image and color */ body { background-color: var(--TwoWorldsWiki-tertiary-color); } /* Login settings */ #p-personal { top: -9vw; background-color: var(--TwoWorldsWiki-primary-color); border-bottom: 1px solid var(--TwoWorldsWiki-border-color); width: 100%; left: 0; font-variant-caps: petite-caps; } /* top bar buttons */ #p-personal ul { padding-left: 10rem; } #p-personal li { margin: 0 9.5rem 0 -8.5rem; padding: 7px 1rem 0; font-size: 0.9rem; background-image: linear-gradient(to bottom, #ffffff00 0, var(--TwoWorldsWiki-secondary-color)); border-right: 1px solid var(--TwoWorldsWiki-border-color); border-left: 1px solid var(--TwoWorldsWiki-border-color); } @media screen and (max-width: 1023px) { #p-personal li { margin: 0 0.25rem; } } /* Sidebar Discord embed */ div#mw-panel nav.portal li a[https://discord.gg/xVePauwDXa"] { display: inline-block; position: relative; height: 20px; width: 119px; margin-top: 10px; } div#mw-panel nav.portal li a[href="https://discord.gg/xVePauwDXa]::before { position: absolute; width: 100%; height: 100%; top: 0; left: 0; content: ""; background: url(https://discord.com/api/guilds/824318577380950046/embed.png) no-repeat; } /* Text input area */ input, textarea { background-color: var(--TwoWorldsWiki-primary-color); border-color: var(--TwoWorldsWiki-border-color); color: black; } /* Edit Options box (below the text input area)*/ .editOptions { background-color: var(--TwoWorldsWiki-secondary-color); border-color: var(--TwoWorldsWiki-border-color); } /* Sidebar */ #mw-panel.collapsible-nav .portal h3 { padding: 4px 0 3px 1.5rem; background-color: #ffffff80; margin-bottom: 0.25rem; } #mw-panel.collapsible-nav .portal h3 a { font-variant-caps: petite-caps; font-weight: bold; } #mw-panel.collapsible-nav .portal .body ul li { padding: 0.25rem 0 0.25rem 0.5rem; background-color: #ffffff80; margin-bottom: 0.25rem; margin-right: 0.75rem; } #mw-page-base { background: none; } .mw-body { position: relative; top: 9vw; /* page body foreground color and transparency */ background-color: var(--TwoWorldsWiki-primary-color); border: 1px solid var(--TwoWorldsWiki-border-color); } /* Header logo placement */ .mw-body { position: relative; top: 9vw; background: #D9C790; /* page body foreground color and transparency */ border: 1px solid; } #p-logo { left: 30vw; position: relative; /* banner border: 1px solid #aeaeae; height: 120px; width: 510px; background: url(/w/images/2/2e/Shiren_1_DS_Background_-_Table_Mountain.png); background-size: 100%; background-position-x: 50%; background-position-y: 50%; */ } #p-logo a { margin-top: 45px; background-size: contain; width: 33em; height: 100px; } #mw-head { position: absolute; top: 9vw; } .mw-footer { margin-top: 9vw; bottom: 0; position: relative; background-color: var(--TwoWorldsWiki-secondary-color); border: 1px solid var(--TwoWorldsWiki-border-color); padding-bottom: 3rem; } .mw-footer > ul > li > a { color: black; text-decoration: underline; } /* Border around images */ div.thumbinner { background-color: var(--TwoWorldsWiki-secondary-color); border: 3px solid var(--TwoWorldsWiki-border-color); } li.gallerybox div.thumb { border: 3px solid var(--TwoWorldsWiki-border-color); } /* Table of Contents */ .toc { background-color: var(--TwoWorldsWiki-primary-color); border: 3px solid var(--TwoWorldsWiki-border-color); } #mw-navigation #mw-panel .vector-menu-content { background-color: var(--TwoWorldsWiki-primary-color); margin-left: 0.5rem; } .vector-user-menu-legacy .vector-menu-content-list { display: block; } .vector-menu-portal .vector-menu-heading { text-align: center; background-repeat: repeat-y; cursor: pointer; font-variant-caps: petite-caps; border-style: solid; } .vector-menu-portal .vector-menu-content ul { margin: 5px; } .mw-editform #wpTextbox1 { background-color: #f8f9fa; } /* Padding Show/hide button for templates only */ #mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading, #mw-panel.collapsible-nav .portal .vector-menu-heading { padding-right: 1rem; } /* Vector 2022 */ .mw-header { background-color: var(--TwoWorldsWiki-secondary-color); border: 1px solid var(--TwoWorldsWiki-border-color); } .mw-page-container { background-color: var(--TwoWorldsWiki-primary-color); border: 1px solid var(--TwoWorldsWiki-border-color); } .vector-body { padding: 0.5rem; } .sidebar-toc { background-color: var(--TwoWorldsWiki-primary-color); border: 3px solid var(--TwoWorldsWiki-border-color); } @media screen and (min-width: 1000px) { .vector-toc-not-collapsed .sidebar-toc:after { background: none; } }