MediaWiki:Hydra.css

/**************** /* Custom Fonts * /****************/

@font-face { font-family: 'OpenSans'; font-weight: normal; font-style: normal; src: url(/media/hydra/fonts/OpenSans-Regular.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans'; font-weight: bold; font-style: normal; src: url(/media/hydra/fonts/OpenSans-Bold.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans'; font-weight: normal; font-style: italic; src: url(/media/hydra/fonts/OpenSans-Italic.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans'; font-weight: bold; font-style: italic; src: url(/media/hydra/fonts/OpenSans-BoldItalic.ttf) format('truetype'); }

/****************** /* General Styles * /******************/

body { background-image: url(https://static.wikia.nocookie.net/viridi_gamepedia_en/images/1/1f/Background.jpg/revision/latest); background-position: center center; background-attachment: fixed; background-size: cover; background-repeat: no-repeat; font-family: 'OpenSans', sans-serif; }

div#mw-head-base, div#mw-page-base { background-image: none; background-color: transparent; }

/********************** /* Article Navigation * /**********************/

div#left-navigation { margin-left: 13em; }

div#right-navigation { margin-right: 3em; }

div.vectorTabs, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs span, div.vectorTabs li a, div.vectorTabs li.selected, div.vectorTabs li.selected a, div.vectorMenu, div#mw-head div.vectorMenu h3 { background-image: none; background-color: transparent; }

div.vectorTabs li { font-variant: small-caps; }

div.vectorTabs li:hover, div.vectorTabs li.selected, div#mw-head div.vectorMenu:hover, div#mw-head div.vectorMenu.menuForceShow { background-image: linear-gradient(to top, rgba(255,255,255,.5) 0px, rgba(255,255,255,0) 50%); }

div.vectorMenu h3 { line-height: 1.125em; }

div.vectorMenu h3 span { padding-top: 1.25em; padding-left: 0.5em; }

div.vectorMenu div.menu { background-color: rgba(255,255,255,.75); border: solid 3px #ffffff; border-radius: 0 0 1em 1em; padding: .25em; }

/****************** /* Sidebar Styles * /******************/

height: 105px; }
 * 1) p-logo,
 * 2) p-logo a {

position: static; }
 * 1) p-logo {

div#mw-panel { top: 0; }

div#mw-panel div.portal { background-image: none; }

div#mw-panel div.portal:not(#p-claimWiki):not(#p-socialProfiles) { background-color: rgba(255,255,255,.7); border: solid 3px #ffffff; border-radius: 1em; margin-bottom: 1em; box-shadow: 5px 5px 10px rgba(0,0,0,.3); }

/****************** /* Article Styles * /******************/

div#content { border: 3px solid #FFFFFF; border-radius: 2em; margin-right: 1em; margin-top: 0; background: rgba(255,255,255,.7); box-shadow: 5px 5px 10px rgba(0,0,0,.3); }

h1, h2, h3 { border-bottom: solid 3px #ffffff; }

h1, h2, h3, h4, h5, h6 { font-variant: small-caps; }

pre, .mw-code, ul#filetoc, .catlinks, .toc, .mw-warning, .toccolours { background: rgba(255,255,255,.5); border: solid 3px #ffffff; border-radius: 1em; box-shadow: 5px 5px 10px rgba(0,0,0,.3); }
 * toc,

div.thumbinner { border: solid 3px #ffffff; background: rgba(255,255,255,.5); border-radius: 1em; padding: .5em; }

li.gallerybox div.thumb { border: solid 3px #ffffff; background: rgba(255,255,255,.5); border-radius: 1em; }

table.wikitable { border: none; background-color: transparent; border-collapse: separate; border-spacing: 2px; }

table.wikitable > tr > td, table.wikitable > * > tr > td { background-color: rgba(255,255,255,.5); border: solid 3px #ffffff; border-radius: 3px; }

table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: rgba(255,255,255,1); border: solid 3px #ffffff; border-radius: 3px; }

.mw-datatable, .mw-datatable td, .mw-datatable th { border: none; background-image: none; background-color: transparent; }

.mw-datatable { border-collapse: separate; border-spacing: 1px; }

.mw-datatable td { background-color: rgba(255,255,255,.6); border-radius: 3px; }

.mw-datatable th { background-color: rgba(255,255,255,1); border-radius: 3px; }

/***************** /* Footer Styles * /*****************/

div#footer { border: 3px solid #FFFFFF; border-radius: 2em; background: rgba(255,255,255,.7); margin-right: 1em; margin-top: 1em; margin-bottom: 1em; box-shadow: 5px 5px 10px rgba(0,0,0,.3); }

/****************************** /* Special:Preferences Styles * /******************************/

.client-js #preftoc, .client-js #preftoc li, .client-js #preftoc li.selected a { background-image: none; }

.client-js #preftoc { margin-left: 1em; }

.client-js #preftoc li.selected a{   background-image: linear-gradient(to top, rgba(255,255,255,.8) 0px, rgba(255,255,255,0) 100%); }

.client-js #preferences { border: 3px solid #FFFFFF; border-radius: 1em; margin-top: 0; background: rgba(255,255,255,.7); box-shadow: 5px 5px 10px rgba(0,0,0,.3); }

/************************* /* Special:Search styles * /*************************/

.mw-search-profile-tabs { border: 3px solid #FFFFFF; border-radius: 1em; background: rgba(255,255,255,.7); }

/* Make the bottom of the tabs flat when doing an advanced search */ border-radius: 1em 1em 0 0; }
 * 1) powersearch .mw-search-profile-tabs {

fieldset#mw-searchoptions { border: 3px solid #FFFFFF; border-radius: 0 0 1em 1em; border-top: none; background: rgba(255,255,255,.3); }

/* wiki editor styling */ .wikiEditor-ui { background: rgba(0, 0, 0, 0); border: none; }

.wikiEditor-ui-tabs div { border-bottom: 1px solid silver; border-right: 1px solid silver; }

.wikiEditor-ui-buttons { background: rgba(0, 0, 0, 0); border-top: none; margin-right: 5px; }

.wikiEditor-ui-toolbar { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); }

.wikiEditor-ui-toolbar .tabs span.tab a, .wikiEditor-ui-toolbar .tabs span.tab a:visited { color: #000000; }

.wikiEditor-ui-toolbar .tabs span.tab a.current, .wikiEditor-ui-toolbar .tabs span.tab a.current:visited { color: #000000; font-weight: bold; }

.wikiEditor-ui-toolbar .sections .section { background-color: rgba(0, 0, 0, 0.05); border-top: 1px solid silver; color: #000000; }

.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid silver; color: #000000; }

.wikiEditor-ui-toolbar .booklet .pages { background-color: rgba(255, 255, 255, 0.2); }

.wikiEditor-ui-toolbar .booklet .index .current { background-color: rgba(255, 255, 255, 0.2); color: #0645ad; }

.wikiEditor-ui-toolbar .booklet .index div { color: #000000; }

.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(255, 255, 255, 0.2); border-color: silver; color: #ffffff; }

.wikiEditor-ui-toolbar .page-table th, .wikiEditor-ui-toolbar .page-table td { color: #000000; }

.wikiEditor-ui-toolbar .page-table td { border-top: 1px solid silver; }

.wikiEditor-ui-tabs div a { background: none repeat scroll 0 0 silver; display: inline-block; color: #FFFFFF; }

.wikiEditor-ui-tabs div.current { border-bottom: 1px solid silver; }

.wikiEditor-ui-tabs div.current a { color: #ffffff; font-weight: bold; }

.wikiEditor-ui-tabs { border-left: 1px solid silver; border-top: 1px solid silver; }

.wikiEditor-preview-contents { background: rgba(0, 0, 0, 0); background-color: rgba(255, 255, 255, 0.2); border-color: silver; border-style: solid; border-width: 0 1px 1px; color: #000000; }

.wikiEditor-ui-controls { background: rgba(0, 0, 0, 0); border-bottom: 1px solid silver; }

.wikiEditor-preview-contents, .wikiEditor-preview-loading { background-color: transparent; }

.editOptions { background-color: rgba(255, 255, 255, 0.2); border-color: -moz-use-text-color silver silver; border-image: none; border-radius: 0 0 5px 5px; border-style: none solid solid; border-width: medium 1px 1px; }

input#wpSummary { margin-bottom: 1em; margin-top: 1em; width: 80%; }

/* this CSS governs the responsive 2 column main page layout */

.fpcontent { width: 100%; overflow: hidden; z-index: 1; }

.fpmaybecols { overflow: hidden; margin: -5px 0 -5px 0; }

.fpmaybecols + .fpmaybecols { margin: 0 0 -5px 0; }

.fpbox { background: rgba(255,255,255,.5); border: solid 3px #ffffff; border-radius: 5px; box-shadow: 5px 5px 10px rgba(0,0,0,.3); margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

.fpbox .welcome { border-bottom: 1px solid #ffffff; font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; }

.fpbox .heading { border-bottom: 1px solid #ffffff; font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #e0e0e0; /* change for hydra (light) wikis */ font-size: 75%; font-weight: bold; }

.fpbox hr { border: none; border-bottom: 2px solid #ffffff; }

.fplinks { margin: -5px; }

.fplinks .linkslabel { background: rgba(0, 0, 0, 0); border-bottom: 2px solid #ffffff; margin: 15px 5px 5px 5px; padding: 0 0 5px 0; }

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */ .fplink .box { border-collapse: separate; border-spacing: 5px; display: table; width: 100%; }

.fplink .box .row { display: table-row; }

.fplink .box .row .cell { background: rgba(0, 0, 0, 0); border: 2px solid #ffffff; border-radius: 2px; box-shadow: 0 0 0 2px rgba(0,0,0,.3) inset; display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; vertical-align: middle; }

.fplink.wide .box .row .cell { padding: 0 5px; }

height: 114px;{ width: 114px; }
 * 1) fptopsection .fplink.image,
 * 2) fpflexsection .fplink.image,
 * 3) fpbottomsection .fplink.image

.fplink.image .box .row .cell { height: 100px; width: 100px; vertical-align: bottom; }

.fplink.image .box .row .cell .image img { height: 100px; width: 100px; }

@media (min-width: 470px) { .fplink { width: 50%; }

.fplink.wide { width: 100%; } }

@media (min-width: 580px) { .fplink { width: 33.333%; }

.fplink.wide { width: 66.666%; } }

@media (min-width: 690px) { .fplink { width: 25%; }

.fplink.wide { width: 50%; } }

@media (min-width: 800px) { .fplink { width: 20%; }

.fplink.wide { width: 40%; } }

@media (min-width: 910px) { .fplink { width: 16.666%; }

.fplink.wide { width: 33.333%; } }

@media (min-width: 990px) { .fpcontent { padding-right: 520px; width: auto; }

#fptopsection { float: left; width: 100%; }

#fpflexsection { float: right; width: 520px; margin-right: -520px }

#fpbottomsection { float: left; width: 100%; margin-top: -5px; }

#fptopsection .fplink, #fpbottomsection .fplink { width: 50%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 100%; }

#fpflexsection .fplink { width: 25%; }

#fpflexsection .fplink.wide { width: 50%; } }

@media (min-width: 1100px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 33.333%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 66.666%; } }

@media (min-width: 1210px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 25%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 50%; } }

@media (min-width: 1320px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 20%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 40%; } }

@media (min-width: 1430px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 16.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 33.333%; }

.fplink a { padding: 3px 5px; } }

@media (min-width: 1540px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 14.285%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 28.571%; }

#fptopsection .fpmaybercol .fpbox, #fpbottomsection .fpmaybercol .fpbox { background-image: none; }

.fpmaybelcol { float: left; width: 70.886%; }

#fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 20%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 40%; }

.fpmaybercol { float: right; width: 29.113%; }

#fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 50%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 100%; } }

@media (min-width: 1650px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 12.5%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 25%; } }

@media (min-width: 1697px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 16.666%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 33.333%; } }

@media (min-width: 1760px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 11.111%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 22.222%; } }

@media (min-width: 1850px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 14.285%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 28.571%; } }

@media (min-width: 1870px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 10%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 20%; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 134px; height: 134px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 120px; height: 120px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 120px; height: 120px; } }

@media (min-width: 1918px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 33.333%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 66.666%; } }

@media (min-width: 1980px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 9.09%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 18.181%; } }

@media (min-width: 2006px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 12.5%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 25%; } }

@media (min-width: 2090px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 8.33%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 16.666%; } }

@media (min-width: 2161px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 11.111%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 22.222%; } }

@media (min-width: 2200px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.692%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 15.384%; } }

@media (min-width: 2296px) { #fptopsection .fpmaybercol .fplink, #fpbottomsection .fpmaybercol .fplink { width: 25%; }

#fptopsection .fpmaybercol .fplink.wide, #fpbottomsection .fpmaybercol .fplink.wide { width: 50%; } }

@media (min-width: 2310px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 7.142%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 14.285%; } }

@media (min-width: 2316px) { #fptopsection .fpmaybelcol .fplink, #fpbottomsection .fpmaybelcol .fplink { width: 10%; }

#fptopsection .fpmaybelcol .fplink.wide, #fpbottomsection .fpmaybelcol .fplink.wide { width: 20%; } }

@media (min-width: 2420px) { #fptopsection .fplink, #fpbottomsection .fplink { width: 6.666%; }

#fptopsection .fplink.wide, #fpbottomsection .fplink.wide { width: 13.333%; }

.fplink a { padding: 5px 5px; }

#fptopsection .fplink.image, #fpbottomsection .fplink.image { width: 164px; height: 164px; }

#fptopsection .fplink.image .box .row .cell, #fpbottomsection .fplink.image .box .row .cell { width: 150px; height: 150px; }

#fptopsection .fplink.image .box .row .cell .image img, #fpbottomsection .fplink.image .box .row .cell .image img { width: 150px; height: 150px; } }

.fplink.image .image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: 75%; z-index: 1; }

.fplink.image a { z-index: 2; }

.fplink a { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 1px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { background: rgba(0, 0, 0, 0.1); border-top: 2px solid #505050; }

.fplink.wide a { margin: 0 -5px; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; }

.fpvideo { display: inline-block; margin: 0 5px; }

/* Image highlighting with drop shadow */ .highlight img, .highlight a img { background: rgba(0,0,0,0); -webkit-filter: drop-shadow(0px 0px 10px rgba(0,0,0,.6)); filter: drop-shadow(0px 0px 3.5px rgba(0,0,0,.6)) drop-shadow(1px 1px 1px rgba(0,0,0,.6)); }

/* INFOBOXES: game or book depended color style */ .infoboxtable { background: rgba(255,255,255,.5); border: solid 3px #ffffff; border-radius: 1em; box-shadow: 5px 5px 10px rgba(0,0,0,.3); color: #000000; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: rgba(255,255,255,1); border: 2px solid inherit; border-radius: 1em; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: rgba(255,255,255,1); border: 2px solid inherit; border-radius: 1em; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { background-color: rgba(255,255,255,1); border: solid 3px #ffffff; border-radius: 1em; padding: 0em; }