MediaWiki:Hydra.css

/* CSS placed here will affect users of the Hydra skin */

/* 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"; }

/* For elements which only display in the mobile view */ .mobileonly { display: none; } /* Hide main page header */ body.page-Dragon_Quest_Wiki h1.firstHeading { display:none; }

body { background-image: url("https://static.wikia.nocookie.net/dragonquest_gamepedia_en/images/7/73/Dragonquest_bg.jpg/revision/latest"); background-position: center top; background-attachment: fixed; background-repeat: no-repeat; background-color: #000000; background-size: cover; font-family: "OpenSans-Regular", Arial, sans-serif; }

/* Head */ background: transparent; background-image: none; border-bottom: 0px; }
 * 1) mw-head-base {

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

color: #db9fc9; }
 * 1) mw-head li.new a {

/* Logo */ height: 130px !important; width: 450px !important; background-size: 100% 100%; background-position: center bottom; }
 * 1) p-logo,
 * 2) p-logo a {

left: 38vw; margin-left: -50px; margin-top: 5px; }
 * 1) p-logo {

.mw-wiki-logo { -webkit-filter: drop-shadow(0px 0px 10px #000000); filter: drop-shadow(0px 0px 3.5px #000000) drop-shadow(1px 1px 1px #000000); }

.mw-body { margin-left: 11em; padding: 1em; border: 1px solid #a7d7f9; border-right-width: 0; margin-top: 92px; background-color: #fff; color: #222; direction: ltr; }

/* Tabs */ float: right; margin-top: 8.3em; }   margin-left: 11em; margin-top: 8.3em; }
 * 1) right-navigation {
 * 1) left-navigation {

div.vectorTabs, div.vectorTabs span, div.vectorTabs li.selected, div.vectorTabs ul, div.vectorTabs ul li, div.vectorTabs li a { background-color: rgba(0, 0, 0, 0); background-image: none; }

div.vectorTabs ul li { margin-right: 5px; }

div.vectorTabs li span { background: #505050; border: 2px outset #202020; border-radius: 4px; display: inline-block; padding: 2px 10px; margin-top: 0.5em; height: 19px; text-align: center; }

div.vectorTabs li a { background-image: none; margin-top: -16px; }

div#mw-head a, div#mw-head div.vectorTabs a, div#mw-head div.vectorMenu a, .vectorTabs li a span, div.vectorMenu h3 span { color: #c0c0c0; font-weight: bold; }

div.vectorMenu h3 span::after { content: ''; position: absolute; top: 0.5em; right: 0; bottom: 0; left: 0; background-image: url(/skins/Vector/images/arrow-down.png?42edd); background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23222%22/%3E %3C/svg%3E"); background-position: 100% 50%; background-repeat: no-repeat; opacity: 0.85; }

div#mw-head li.new a, div#mw-head li.new a:visited { color: #fc0000 !important; text-shadow: 1px 1px #000000; }

div.vectorTabs ul li:first-child { border-image: none; border-left: medium none; }

div#mw-head li.selected a, div#mw-head li.selected a span, div#mw-head div.vectorTabs li.selected a, div#mw-head div.vectorTabs li.selected a:visited { color: #ffffff !important; font-weight: bold; }

div#p-sharing .menu { background-color: #000000; box-shadow: 0 0.1em 0.75em #d5d4d4; margin-left: 45px; min-width: 0px; width: 48px; }

width: 100%; }
 * 1) p-sharing #socialIconImages img {

width: 40px; }
 * 1) p-sharing #socialIconImages a {

div.vectorMenu h3 span { font-weight: bold; padding-top: 0.1em; }

div.vectorMenu h3 span a, div.vectorMenu h3 span a:active { background: url("https://static.wikia.nocookie.net/commons_hydra/images/0/0b/Vector_menu_downarrow.png") no-repeat scroll center center transparent; }

div#mw-head div.vectorMenu h4, div#p-variants.vectorMenu #mw-vector-current-variant { color: #FFFFFF; font-weight: bold; padding-top: 0.2em; text-shadow: none; }

padding: 16px 0 0; }
 * 1) ca-unwatch.icon a,
 * 2) ca-watch.icon a {

.vectorTabs #ca-unwatch.icon a, .vectorTabs #ca-watch.icon a { margin: 0; padding: 0; display: block; width: 28px; padding-top: 3.1em; margin-top: -1em; height: 0; overflow: hidden; background-position: 5px 60%; background-repeat: no-repeat; }

div#mw-head div.vectorMenu h3 { background: #505050; border: 2px outset #202020; border-radius: 4px; padding: 2px 10px; margin-top: 0.5em; margin-bottom: 0.5em; height: 19px; text-align: center; }

div.vectorMenu h3 a, div.vectorMenu h3 a:active { background-color: rgba(0, 0, 0, 0); background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/8/80/Vector_menu_downarrow_white.png"); background-position: 50% 50%; border: medium none; }

div.vectorMenu div.menu { border: none; left: auto; margin-left: 5px; right: 0; top: 40px; }

div#mw-head div.vectorMenu ul { background-color: #000000; background-image: none; border-right: 5px none; box-shadow: 0 0.1em 0.75em #d5d4d4; }

div#mw-head div.vectorMenu li a { color: #7AB1CC; }

div#mw-head div.vectorMenu li a:hover { color: #c0c0c0; }

/* Sidebar */ div#mw-panel div.portal, div#mw-panel div.portal div.body, background-image: none; /* Optional! This removes the lines be horizontal lines between the portals */ }
 * 1) mw-panel.collapsible-nav .portal {

div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited { color: white; /* This color can be the same as other links on the wiki, or the same as the portal labels on the sidebar, or different from either */ }

div#mw-panel div.portal h3, div#mw-panel div.portal h3:visited, color: white; text-shadow: 1px 1px black; font-family: "OpenSans-Bold"; text-transform: uppercase; /* Optional, to make the labels stand out */ font-size:102%; }
 * 1) mw-panel.collapsible-nav .portal h3 a,
 * 2) mw-panel.collapsible-nav .portal h3 a:visited,
 * 3) mw-panel.collapsible-nav .portal.collapsed h3 a,
 * 4) mw-panel.collapsible-nav .portal.collapsed h3 a:visited {

background-position: left center; background-repeat: no-repeat; background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/4/46/Arrow_down_icon.png); background-image: linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/4/46/Arrow_down_icon.png); background-image: -o-linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/4/46/Arrow_down_icon.png); padding: 4px 0 3px 1.5em; }
 * 1) mw-panel.collapsible-nav .portal h3 {

color: white; background-position: left center; background-repeat: no-repeat; background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/e/e0/Sidebar_toggle_collapse_white_right.png); background-image: linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/e/e0/Sidebar_toggle_collapse_white_right.png); background-image: -o-linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/e/e0/Sidebar_toggle_collapse_white_right.png); }
 * 1) mw-panel.collapsible-nav .portal.collapsed h3 {

div#mw-panel div#p-socialProfiles.portal .body { margin: auto; }

.socialSidebar { width: auto; max-width: 100%; }

background-color: rgba(0,0,0,0.5); background-image: none; border: none; margin-left: 5px !important; margin-right: 5px !important; padding: 4px; }
 * 1) p-navigation div.body,
 * 2) p-tb div.body,
 * 3) p-Gamepedia div.body {

/* tables */ table.wikitable > tr > th, table.wikitable > * > tr > th { background-color: #505050; text-align: center; color: white; } table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { border: 1px solid #202020; padding: 0.2em 0.4em; }

/* data tables */

.mw-datatable th { background-color: #505050; color: white; } .mw-datatable tr:hover td { background-color: rgba(0,0,0,0.5); } .mw-datatable, .mw-datatable td, .mw-datatable th { border: 1px solid #202020; padding: 0 0.15em 0 0.15em; }

table.jquery-tablesorter th.headerSort { background-image: url(https://static.wikia.nocookie.net/commons_hydra/images/3/36/Sort_both_white.gif); background-image: linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/3/36/Sort_both_white.gif); background-image: -o-linear-gradient(transparent,transparent),url(https://static.wikia.nocookie.net/commons_hydra/images/3/36/Sort_both_white.gif); cursor: pointer; background-repeat: no-repeat; background-position: center right; padding-right: 21px; }

.mw-interwiki-legend .mw-collapsible-toggle a { font-weight: normal; color: white !important; }

/* footer */ div#footer { border: 1px solid #a7d7f9; border-right-width: 0; background-color: #fff; color: #222; margin-left: 11em; margin-top:5px; }

/* 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%; }

.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 */ .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; }

.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: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; 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 { background-color: #505050; color: #FFFFFF; border: 2px outset #202020; border: none; 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; }

/* end of resp layout */

/* 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: #089381; border-left: 1px solid #202020; border-top: 1px solid #202020; }

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

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

.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: #49361f; }

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

.wikiEditor-ui-toolbar .group .tool-select .label { color: #0AA690; /* 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: #bb9872; color: white; }

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

.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: lightgray; border: 1px solid #202020; }

.wikiEditor-ui-toolbar .group .tool-select .options .option { color: #089381; display: block; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; text-decoration-color: currentcolor; text-decoration-line: none; text-decoration-style: solid; white-space: nowrap; }

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

.client-js #preftoc, .client-js #preftoc li, .client-js #preferences, .client-js #preftoc li a { background-image: none; background-color: transparent; color: #202020; /* 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: #505050; background-image: none; border-color: #202020 #202020 rgba(255, 255, 255, 0.5); border-style: solid; border-width: 1px; color: white; /* this font color may need tweaking, depending on your background choices */ top: -3px; }

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

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