User:Roseofwales/common.css

/*Eborg Font*/ @font-face { font-family: 'EborgITCStd'; src: local('EborgITCStd'), local('EborgITCStd'), url('/media/hydra/fonts/EborgITCStd.ttf') format('truetype'); } /*Nunito Font*/ @font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; src: local('Nunito Regular'), local('Nunito-Regular'), url(https://fonts.gstatic.com/s/nunito/v11/XRXV3I6Li01BKofINeaB.woff2) format('woff2'); }

/*Eborg font for first header*/ .mw-body .firstHeading { overflow: visible; font-family: EborgITCStd; }

/* Show logo */ @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) { .mw-wiki-logo { background-image: url(https://gamepedia.cursecdn.com/milmo_gamepedia_en/2/2c/MilMo_Wiki_Logo-2.png); background-size: 75% auto; } }

/*moves content down a bit*/ .mw-body { padding-top: 4.25em; }

div#content { border: none; }

/*logo positioning*/ body.page-Wiki_Sandbox_Wiki.ns-0.action-view #p-logo { height: 150px; left: calc(50vw - 100px); position: absolute; top: -320px; width: 10em; }

/* SIDEBAR */ /***********/ /*Discord button*/ div#mw-panel div.portal li a[href="https://discord.gg/milmo"] { background: url(https://discordapp.com/api/guilds/428607186588008448/embed.png) no-repeat; color: transparent !important; display: inline-block; height: 20px; width: 119px; margin-top: 10px; }

/*moves panel down*/ body.page-Wiki_Sandbox_Wiki.ns-0.action-view div#mw-panel { font-size: inherit; position: absolute; top: 500px; padding-top: 0; width: 10em; left: 0; }

/* VECTOR BAR */ /**************/

/* moves vector tabs down */ body.page-Wiki_Sandbox_Wiki.ns-0.action-view #mw-head { position: absolute; top: 460px; right: 0; font-family: EborgITCStd; width: 100%; }

div.vectorTabs ul li { float: left; line-height: 1.125em; display: inline-block; height: 100%; margin: 0; padding: 0; background-image: none; background-color: transparent; white-space: nowrap; }

div.vectorTabs li a { padding-left: 0.5em; padding-right: 0.5em; color: #fff; }

div.vectorMenu h3 span { color: #fff; }

div.vectorTabs, div.vectorTabs ul, div.vectorTabs span, div#mw-head div.vectorMenu h3 { background-image: none; }

margin-top: 0; }
 * 1) right-navigation, #left-navigation {

/*Search*/ body.page-Wiki_Sandbox_Wiki.ns-0.action-view #p-search { margin: 0; position: absolute; right: 1em; top: -110px; }

display: inline-block; content: ""; height: 128px; vertical-align: middle; }
 * 1) p-search::before {

display: inline-block; height: auto; vertical-align: middle; margin: 0; }
 * 1) p-search form {

div#simpleSearch { width: 500px; height: 43px; max-width: 500px; margin: 0; }

div#simpleSearch #searchInput { padding: 0 1em; line-height: 43px; }

div#simpleSearch input { box-shadow: none; }

text-transform: uppercase; }
 * 1) mw-head {

/*hero image*/ body.page-Wiki_Sandbox_Wiki.ns-0.action-view #mw-page-base { background-size: cover; background-position: center center; background-attachment: fixed; height: 500px; filter: blur(3px); }

/*****non main page*****/

/*hero image*/ background-size: cover; background-position: center center; background-attachment: fixed; height: 250px; filter: blur(3px); }
 * 1) mw-page-base {

/*search bar positioning*/

margin: 0; position: absolute; right: 1vw; top: -200px; }
 * 1) p-search {

/*hero image*/ background-image: url(https://gamepedia.cursecdn.com/milmo_gamepedia_en/0/0a/The_Refuge_Cover.jpg); background-size: cover; background-position: center center; background-attachment: fixed; height: 250px; filter: blur(3px); }
 * 1) mw-page-base {

/*vector bars*/ position: absolute; top: 250px; font-family: EborgITCStd; right: 0; background: linear-gradient(to top,#000000,#464646 75%,#a5a5a5); width: 100%; }
 * 1) mw-head {

/*logo positioning*/ height: 150px; left: calc(10vw - 100px); position: absolute; top: -45%; width: 10em; }
 * 1) p-logo {