MediaWiki:Hydra.css

/* CSS placed here will affect users of the Hydra skin */ /************/ /* Fonts   */ /************/ /* fonts */ @font-face { font-family: 'OpenSans-Bold'; src: local('OpenSans-Bold'), local('OpenSans-Bold'), url(/media/hydra/fonts/OpenSans-Bold.ttf) format('truetype'); }

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

@font-face { font-family: 'OpenSans-ExtraBold'; src: local('OpenSans-ExtraBold'), local('OpenSans-ExtraBold'), url(/media/hydra/fonts/OpenSans-ExtraBold.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans-ExtraBoldItalic'; src: local('OpenSans-ExtraBoldItalic'), local('OpenSans-ExtraBoldItalic'), url(/media/hydra/fonts/OpenSans-ExtraBoldItalic.ttf) format('truetype'); }

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

@font-face { font-family: 'OpenSans-Light'; src: local('OpenSans-Light'), local('OpenSans-Light'), url(/media/hydra/fonts/OpenSans-Light.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans-LightItalic'; src: local('OpenSans-LightItalic'), local('OpenSans-LightItalic'), url(/media/hydra/fonts/OpenSans-LightItalic.ttf) format('truetype'); }

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

@font-face { font-family: 'OpenSans-Semibold'; src: local('OpenSans-Semibold'), local('OpenSans-Semibold'), url(/media/hydra/fonts/OpenSans-Semibold.ttf) format('truetype'); }

@font-face { font-family: 'OpenSans-SemiboldItalic'; src: local('OpenSans-SemiboldItalic'), local('OpenSans-SemiboldItalic'), url(/media/hydra/fonts/OpenSans-SemiboldItalic.ttf) format('truetype'); }

p { font-family: "OpenSans-Regular"; }

/********/ /* Logo */ /********/

background-position-x: center; background-position-y: center; background-repeat: no-repeat; background-size: 150% auto; display: block; height: 160px; text-decoration-color: currentcolor; text-decoration-line: none; text-decoration-style: solid; width: 10em; }
 * 1) p-logo a {

/******************************************************/ /* For elements which only display in the mobile view */ /******************************************************/ .mobileonly { display: none; }

/*************************/ /* Hide main page header */ /*************************/ body.page-Re_Legend_Wiki h1.firstHeading { display:none; }

/****************** /* General styles * /******************/ body { background: url("https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/3/3a/Bg.png/revision/latest") no-repeat fixed center center / cover rgba(255, 255, 255, 0); -webkit-background-size: cover; -o-background-size: cover; -moz-background-size: cover; }

div#mw-page-base { background: transparent !important; }

padding-right: 1em; }
 * 1) pageWrapper {

/***********/ /* content */ /***********/ .mw-body { background-color: rgba(255, 255, 255, 0.9); border: none; border-radius: 10px; color: #222; direction: ltr; margin-top: -1px; }

/*******************/ /* Top Vector menu */ /*******************/ display: inline; float: left; margin-left: 11em; margin-top: 2.5em; }
 * 1) left-navigation {

float: right; margin-top: 2.5em; }
 * 1) right-navigation {

div.vectorTabs { background-image: none; background-color: transparent; background-position-x: left; background-position-y: bottom; background-repeat: no-repeat; float: left; height: 2.5em; padding-left: 1px; }

div.vectorTabs span { background-image: none; background-color: transparent; background-position-x: right; background-position-y: bottom; background-repeat: no-repeat; display: inline-block; }

div.vectorTabs li a, div.vectorMenu { background-color: transparent; background-image: url("https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/2/27/Vector.png/revision/latest"); background-position-x: left; background-position-y: bottom; background-repeat: no-repeat; background-size: 100% 60%; }

div.vectorTabs ul li { background-color: transparent; background-image: none; background-position-x: left; background-position-y: bottom; background-repeat: repeat-x; background-size: 100%; float: left; height: 100%; line-height: 1.125em; white-space: nowrap; }

div#mw-head div.vectorMenu h3 { background-image: none; background-position-x: right; background-position-y: bottom; background-repeat: no-repeat; float: left; font-size: 1em; height: 2.5em; margin-right: -1px; padding-right: 1px; }

div.vectorMenu h3 span { display: block; font-size: 0.8em; font-weight: normal; margin-right: 20px; padding-left: 0.7em; padding-top: 1.25em; }

div.vectorTabs li.selected { background-image: none; }

div.vectorTabs ul { background-image: none; background-position-x: right; background-position-y: bottom; background-repeat: no-repeat; float: left; height: 100%; }

div.vectorMenu div.menu { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background-color: white; border-bottom-color: silver; border-bottom-style: solid; border-bottom-width: 1px; border-image-outset: 0 0 0 0; border-image-repeat: stretch stretch; border-image-slice: 100% 100% 100% 100%; border-image-source: none; border-image-width: 1 1 1 1; border-left-color: silver; border-left-style: solid; border-left-width: 1px; border-right-color: silver; border-right-style: solid; border-right-width: 1px; border-top-color: silver; border-top-style: solid; border-top-width: 0; clear: both; left: -1px; min-width: 100%; position: absolute; text-align: left; top: 2.5em; z-index: 1; }

/* top nav link color */ div.vectorMenu h3 span, div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited, div.vectorTabs li a, div.vectorTabs li a span, div.vectorMenu li a, div.vectorTabs li a:link, div.vectorTabs li a:visited { color: black; font-family:"OpenSans-Light"; }

div.vectorTabs li a:focus, div.vectorTabs li a:active { color: #505050; font-family: "OpenSans-Light"; }

div.vectorTabs li a:hover { color: #79ABE4; font-family: "OpenSans-Light"; }

background-position-x: 0px; background-position-y: 60%; display: block; height: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 3.1em; width: 26px; }
 * 1) ca-unwatch.icon a, #ca-watch.icon a {

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { background-position: 0px 60%; }

/************/ /* Side bar */ /************/ div#mw-panel div.portal h3 { color: #4d4d4d; font-family: "OpenSans-Bold"; text-decoration-color: currentcolor; text-decoration-line: none; text-decoration-style: solid; font-size: 100%; }
 * 1) mw-panel.collapsible-nav .portal h3 a,
 * 2) mw-panel.collapsible-nav .portal.collapsed h3 a,

div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited, div#mw-panel div.portal div.body ul li a:focus { color: black; }

/*******************/ /* Template:Header */ /*******************/ .header { margin: auto; width: 100%; }

.lablemid { background: url("https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/9/93/Mid.png/revision/latest") repeat-x scroll 0 0 transparent; color: #000000; }

/*****************************************************/ /* for "edit this page" tab and "discussion" tab etc */ /*****************************************************/ .pagetab { border-style: solid solid none; border-width: thin; border-color: #808080; padding:0.25ex 1ex 0ex; font-size: 95%; }

/* Wiki editor fixes */ div.wikiEditor-preview-contents, div.wikiEditor-preview-loading { background-color: transparent; }

.wikiEditor-ui { background: rgba(0, 0, 0, 0); border: medium none; }

.wikiEditor-ui .wikiEditor-ui-view { border-bottom: medium none; border-left: 1px solid #202020; border-right: 1px solid #202020; border-top : medium none; }

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

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

.wikiEditor-ui-tabs { background-color: orange; border-left: 1px solid #202020; border-top: 1px solid #202020; }

.wikiEditor-ui-tabs div { background-color: orange; border-right: 1px solid #202020; border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs div a { background: orange; /* you can use a gradient here if you want to match your vector tabs or get fancy */ color: #202020; }

.wikiEditor-ui-tabs div.current { background-color: #FF7727; border-bottom: 1px solid #202020; }

.wikiEditor-ui-tabs div.current a { color: white; /* depends on your tabs bg & how different you wish the current tab and text to appear */ font-weight: bold; /* optional to make it stand out */ }

.wikiEditor-ui .wikiEditor-ui-top { border-bottom: 1px solid #202020; }

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

.wikiEditor-ui-toolbar .group { border-right: 1px solid #202020; }

.wikiEditor-ui-toolbar .group-search { border-left: 1px solid #202020; border-right: none; }

.wikiEditor-ui-toolbar .group .label { color: black; }

.tab { border-color: rgba(0, 0, 0, 0); }

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

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

.wikiEditor-ui-toolbar .group .tool-select .label { color: #000000; /* or any other dark colour, or change the bg to a dark colour to contrast with light text */ }

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

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

.wikiEditor-ui-toolbar .booklet .index .current { background-color: orange; color: #202020; }

.wikiEditor-ui-toolbar .booklet .pages { background-color: orange; }

.wikiEditor-ui-toolbar .page-characters div span { border: 1px solid #202020; color: #202020; background:white; }

.wikiEditor-ui-toolbar .page-characters div span:hover { background-color: rgba(255, 255, 255, 0.3); border-color: #202020; color: #FF7796; }

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

.wikiEditor-preview-loading { background-color: rgba(0, 0, 0, 0); }

.wikiEditor-preview-contents { background-color: rgba(0, 0, 0, 0); border-color: -moz-use-text-color #202020 #202020; border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

.editOptions { background-color: gray; border-color: -moz-use-text-color #202020 #202020; border-image: none; border-style: none solid solid; border-width: medium 1px 1px; }

/* Preferences */ .client-js #preftoc { background-color: rgba(255, 255, 255, 0.5); border: 0px; }

.client-js #preftoc, .client-js #preftoc li, .client-js #preferences, .client-js #preftoc li a { background-image: none; background-color: transparent; color: #666666; /* this font color may need tweaking, depending on your background choices */ }

.client-js #preftoc li:first-child { margin-bottom: 1px; margin-left: 5px; }

.client-js #preftoc li.selected a { background-color: rgba(255, 255, 255, 0.5); background-image: none; border-color: #aaaaaa #aaaaaa rgba(255, 255, 255, 0.5); border-style: solid; border-width: 1px; color: #000000; /* this font color may need tweaking, depending on your background choices */ }

.client-js #preferences { background-color: rgba(255, 255, 255, 0.5); border: 1px solid #aaaaaa; }

.client-js #preferences fieldset { border-color: #aaaaaa; }

/* Page history */ background-color: rgba(0, 0, 0, 0); border: none; padding: 3px; }
 * 1) pagehistory li {

background-color: rbga(0, 0, 0, 0); background-image: none; border: 1px dashed #aaaaaa; padding: 3px; }
 * 1) pagehistory li.selected {

table.diff { background: transparent; }

td.diff-context { background: none repeat scroll 0 0 transparent; color: #000000; /* this font colour may need tweaking depending on your choice of background */ }

td.diff-deletedline { background-color: #FFE49C; border-color: #FFE49C; color: #000000; }

td.diff-addedline { background-color: #A3D3FF; border-color: #A3D3FF; color: #000000; }

/*********/ /* Ambox */ /*********/ .ambox { background-color: #eeeeee; border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0px 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left:0.8em; margin-top:0.5em; }

/************************************************/ /* INFOBOXES: game or book depended color style */ /************************************************/ .infoboxtable { background-color: #f9f9f9; border: 1px solid #aaaaaa; 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: #f9f9f9; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { padding: 0em; }

/**************************/ /* copyright images tweak */ /**************************/ .copyright-icon { background: url(https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png) transparent center center no-repeat; background-size: 100%; width: 32px; height: 32px; }

/**************************/ /* Can be used for the MP */ /**************************/ .feature { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 5px; padding: 10px; }

/*************************/ /* Navbox template style */ /*************************/ table.navbox { border: 1px solid #aaaaaa; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(255, 255, 255, 0.2); }

.navbox-list { border-color: rgba(255, 255, 255, 0.2); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(255, 255, 255, 0.2); color: #444; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(255, 255, 255, 0.2); color: #333; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.05); color: #333; }

/* Even row striping */ .navbox-even { background: rgba(0, 0, 0, 0.05); color: #333; }

/* Odd row striping */ .navbox-odd { background: transparent; } .collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; } .navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; } table.collapsed tr.collapsible { display: none; } /* End of new Navbox styling */

/*****************************************************************/ /* this section governs the responsive 3 column main page layout */ /*****************************************************************/ .fpmain { width: 100%; overflow: hidden; z-index: 1; }

.fpbanner { background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; margin: 0 5px 5px 5px; padding: 5px; min-height: 80px; }

.fpbannertable { display: table; border: none; background: transparent; width: 100%; min-height: 75px; margin: 0; padding: 5px; }

.fpbannercell { display: table-cell; text-align: center; vertical-align: middle; }

.fpbannerblock { border: none; color: #ffffff; font-weight: bold; text-shadow: 0 0 8px rgba(255, 255, 255, 0.75); font-size: 132%; width: 100%; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpmidsections { float: left; width: 100%; overflow: hidden; }

.fpbox { background-color: transparent; border-style: solid; border-width: 38px 38px 38px 38px; border-color: transparent; -moz-border-image: url(https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/4/42/Welcome.png/revision/latest) 38 38 38 38 repeat; -webkit-border-image: url(https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/4/42/Welcome.png/revision/latest) 38 38 38 38 repeat; -o-border-image: url(https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/4/42/Welcome.png/revision/latest) 38 38 38 38 repeat; border-image: url(https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/4/42/Welcome.png/revision/latest) 38 38 38 38 fill repeat; margin: 5px; padding: 5px; overflow: auto; }

.fpbox .mainheading { border: none; border-bottom: 1px solid #505050; font-size: 150%; font-weight: bold; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.fpbox .heading { border: none; border-bottom: 1px solid #505050; text-align: center; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.fpmain .columns .leftcol { width: 100%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { width: 100%; margin: 0; padding: 0; }

.fpsection1, .fpsection2, .fpsection3, .fpsection4 { float: left; clear: both; width: 100%; }

div.fp2columnonly, div.fp3columnonly { display: none; }

@media (min-width: 790px) { .fpsection1 { float: left; clear: none; width: 50%; }

.fpmidsections { clear: none; float: right; width: 50%; }

.fpsection4 { float: left; clear: none; width: 50%; }

div.fp2columnonly { display: block; } }

@media (min-width: 990px) { .fpmain .columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { float: right; width: 50%; margin: 0; padding: 0; } }

@media (min-width: 1390px) { .fpmidsections { clear: none; float: right; width: 66.667%; }

.fpsection1 { clear: none; width: 33.333%; }

.fpsection2 { clear: none; width: 50%; }

.fpsection3 { clear: none; width: 50%; } .fpsection4 { clear: left; width: 33.333%; }

div.fp2columnonly { display: none; }

div.fp3columnonly { display: block; } }

.fpbox.plain { background: transparent; border: none; box-shadow: none; }

.fpimagelist ul { list-style-type: none; list-style-image: none; }

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

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

/**********/ /* Button */ /**********/ ul { list-style-image: url("https://static.wikia.nocookie.net/relegend_gamepedia_com_en/images/7/70/Bullit.png/revision/latest"); list-style-type: disc; }