Search form and the table of contents moves with the view and a "plainer" layout, the wiki editing features are disabled.
Warframe Wiki - fixed search and ToC by jerekorva

Details
Authorjerekorva
LicenseMIT
Categorywiki.warframe.com
Created
Updated
Size8.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Warframe wiki
@namespace userstyles.world
@version 0.0.1
@description the official Warframe wiki
@author jerekorva
==/UserStyle== */
@-moz-document domain("wiki.warframe.com") {
:root {
--search-box: #061219;
--body-main: #0e171d;
--wikitable-bg: var(--lotus-blue-darker);
--wikitable-border: var(--lotus-blue-dark);
--font-multiply: 0.95;
--right-margin: 15vw;
--lighter-gray: #f0f0f0;
}
body {
background: var(--template-background-color-1);
background-image: linear-gradient(var(--almost-black), var(--template-background-color-1));
background-repeat: no-repeat;
background-attachment: fixed;
}
.vector-body {
font-size: calc(1em * var(--font-multiply));
}
.infobox .title {
font-size: calc(2em * var(--font-multiply));
}
.infobox .label {
font-size: calc(1.4em * var(--font-multiply));
}
.infobox .value {
font-size: calc(1.4em * var(--font-multiply));
}
.mw-body {
margin-left: var(--right-margin);
margin-right: 0;
border: 2px solid var(--lotus-blue);
border-right: none;
}
div #mw-panel .vector-menu-portal .vector-menu-content {
background: var(--lotus-bl);
padding: 0;
padding-left: 3px;
}
.vector-legacy-sidebar .vector-menu-portal {
margin: 0px;
margin-top: 5px;
padding: 5px;
}
div#mw-panel .vector-menu-portal .vector-menu-heading {
background: var(--lotus-blue-darker);
clip-path: none;
}
#mw-panel {
position: absolute;
top: 10px;
}
/*#content {}*/
.vector-user-menu-legacy .vector-menu-content-list {
position: static;
}
/* discussion % page*/
#mw-head #left-navigation .mw-list-item {
transform: none;
padding: 0px !important;
text-align: center;
font-size: 1.2em;
border: 1px solid var(--lotus-blue);
border-bottom: 2px solid var(--lotus-blue);
height: 39px;
}
.vector-menu-tabs-legacy li a {
color: var(--vector-tab-link-color);
padding: 0.5em;
align-content: stretch;
height: auto;
}
#p-namespaces .vector-menu-content-list li:first-child {
clip-path: none;
}
#p-namespaces .vector-menu-content-list li:first-child a {
padding-left: 10px;
}
#mw-head #left-navigation .mw-list-item > a > span {
transform: none;
}
#left-navigation {
float: right;
}
/* watchlist */
#p-views {
display: none;
transform: none;
}
#mw-head #right-navigation nav:not(.mw-portlet-cactions) .mw-list-item {
transform: none;
border: 1px solid var(--lotus-blue);
border-bottom: 2px solid var(--lotus-blue);
height: 39px;
padding: 0px !important;
background: var(--almost-black);
}
.vector-menu-tabs #ca-watch.icon a::before,
.vector-menu-tabs #ca-watch.icon a:hover::before,
.vector-menu-tabs #ca-watch.icon a:focus::before,
.vector-menu-tabs #ca-unwatch.icon a::before,
.vector-menu-tabs #ca-unwatch.icon a:hover::before,
.vector-menu-tabs #ca-unwatch.icon a:focus::before,
#p-cactions-label::after,
#p-cactions-label span {
transform: none;
}
#ca-nstab-main {
transform: none;
}
/* dropdown menu more */
#p-cactions {
display: none;
transform: none;
}
#p-cactions > .vector-menu-content {
transform: none;
}
#p-cactions-label > span {
transform: none;
}
#p-cactions-label::after {
transform: none;
}
.mw-portlet-cactions {
margin-right: 0;
border-left: none;
}
/* login, preferences, etc. */
#p-personal {
/*display: none;*/
opacity: 0.2;
}
#p-personal:hover {
opacity: 1;
}
/* left side navigaiton */
/*#mw-panel {
font-size: calc(1.1em * var(--font-multiply));
display: none;
} */
#p-Navigation-label h3 {
background: #fff;
}
#p-Navigation,
#p-Gameplay,
#p-Lore,
#p-Development,
#p-tb,
#p-Guides {
display: none;
}
/* left side navigation background */
#mw-panel ul {
background: var(--almost-black);
}
/* wiki logo */
#p-logo {
position: absolute;
top: -10px;
left: calc(var(--right-margin) + 10px);
}
.mw-wiki-logo {
background-size: 120px auto;
}
#mw-head {
top: 0;
right: 0;
transform: none;
height: 2.5rem;
z-index: 100;
}
/* search box */
#p-search {
height: 2.5rem;
top: 0px;
position: fixed;
left: 0px;
;
max-width: var(--right-margin);
border-bottom: 2px solid var(--lotus-blue-light);
border-right: 2px solid var(--lotus-blue-light);
/*filter: drop-shadow(0px 0px 2px #fff);*/
}
/* search list */
.vector-search-box-vue .cdx-menu {
position: fixed;
top: 55px;
left: 10px;
width: 300px;
background: var(--lotus-blue-darker);
border: 2px solid var(--lotus-blue-light);
}
/* hilighted search */
.vector-search-box-vue .cdx-menu .cdx-menu-item--enabled.cdx-menu-item--highlighted {
background: var(--lotus-blue-dark);
}
/* table */
table.foundrytable td {
text-align: center;
padding: 1px;
}
table.foundrytable th {
background: #0e171d;
text-align: center;
border: none !important;
padding: 1px;
}
table.article-table th,
table.emodtable th {
background: var(--lotus-blue-dark);
border-right: 1px solid var(--lotus-blue-darker);
}
table.article-table th:nth-last-child(1),
table.emodtable th:nth-last-child(1) {
border-right: 1px solid var(--lotus-blue-dark);
}
/* ability calculator thingy */
/*[id^="maximization"] td{
border: 1px solid var(--lotus-blue-darker);
}
[id^="maximization_table"] {
background: #0e171d;
border: none;
}*/
td.resultingStat {
background: var(--lotus-blue-dark);
}
.tabber .tabbertab {
background-color: var(--body-main);
}
.tabber th,
.navbox th {
background: var(--lotus-blue-dark);
border: 1px solid var(--lotus-blue-darker);
}
.emodtable,
.emodlist,
.bigmodtable,
table.listtable,
.wikitable {
text-align: left;
}
.mw-customtoggle,
.mw-collapsible-toggle {
color: var(--lotus-blue-light);
font-weight: bold;
text-transform: uppercase;
}
figure[typeof~='mw:File/Thumb'] > figcaption,
figure[typeof~='mw:File/Frame'] > figcaption {
display: table-caption;
word-break: normal;
text-align: center !important;
padding: 2px;
}
figure[typeof~='mw:File/Thumb'] > .mw-file-description::after,
figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
content: none;
}
#spoiler {
display: none;
}
/*table of contents*/
#toc {
position: fixed;
display: block;
top: 80px;
left: 9px;
background: var(--lotus-blue-darker);
width: calc(var(--right-margin) - 20px);
border: 2px solid var(--lotus-blue);
margin-top: 0;
box-shadow: none;
float: left;
overflow: auto;
scrollbar-color: var(--lotus-blue-light) var(--lotus-blue-dark);
scrollbar-width: thin;
max-height: 85vh;
}
.toctitle {
display: none;
}
#toc > ul {
font-size: calc(1em * var(--font-multiply));
padding: 5px;
line-height: 1.4em;
list-style: none;
}
#toc > ul > li > a {
font-weight: bold;
color: var(--light-gray);
}
#toc > ul > li > ul > li > a {
color: var(--lotus-blue-lighter);
}
.toc ul ul {
border-left: none;
padding-left: 0;
}
}