MediaWiki:Hydra.css

/* CSS placed here will affect users of the Hydra skin */ /* For elements which only display in the mobile view */ .mobileonly { display: none; }

.skin-hydra { --theme-article-background-color: #d1d0cd; }

/* Colors and custom wiki design -- */

.colbox { background-color: var(--header-color) !important; color: var(--txt-color) !important; }

.mw-body { border-radius: 0 15px 15px 15px; border-color: var(--line-color); margin-right: 7px; }

/* Tabs (recolor to purple) */ .vectorTabs, .vectorMenu { filter: hue-rotate(50deg) saturate(100%) brightness(90%) contrast(117%); }

/* --- Links --- */

a:link.external, a:link:visited.external { color: #cfa10c; } .mw-body a:link, .mw-body a:visited:hover, #mw-panel .portal .body li a { color: #690bc8 }

.mw-body a:visited, #mw-panel .portal .body li a:visited { color: #80347b; }

.mw-body a:hover, .mw-body a:active, color: #8a454f; text-shadow: none; }
 * 1) mw-panel .portal .body li a:hover,
 * 2) mw-panel .portal .body li a:active {

.mw-body a.new { color: red; text-shadow: rgba(0, 0, 0, 0.2) 0 0px 1.5px !important }

/* - */

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

/* Tabs */ margin-top: 141px; }
 * 1) left-navigation,
 * 2) right-navigation {

div#content { margin-top: 100px; }

/* Sidebar */ div#mw-panel { top: 90px; }

/* From old css */ .portal_section { border: 1px solid black; margin: 0 0 10px 0; background: transparent; background-image: -moz-border-radius: 1em; -moz-box-shadow: 1px 1px 4px rgb(24,24,24); background-color: rgba(0,0,0,.25); -webkit-border-radius: 1em; -webkit-box-shadow: 1px 1px 4px rgb(24,24,24); border-radius: 0.4em; box-shadow: 1px 1px 4px rgb(24,24,24); }

abbr, acronym, .explain { cursor: help;; border-bottom: none; text-decoration: underline; }

.spoiler { background-color: white; color: white; } .spoiler:hover { color: black; }

.legobutton { background-color: #CCC; transition: background-color 0.5s; -moz-transition: background-color 0.5s; /* Firefox 4 */ -webkit-transition: background-color 0.5s; /* Safari and Chrome */ -o-transition: background-color 0.5s; /* Opera */ } .legobutton:hover { background-color: #AAA; }

td.diff-deletedline { background: #ffffff !important; } td.diff-addedline { background: #ffffff !important; } .diffchange { color: black !important; }

table.diff td { padding: 0.1em 0.2em; }

table.diff, td.diff-otitle, td.diff-ntitle { background-color: #E9E1D9; } td.diff-context { background: #f9f9f9; border-color: rgba(67, 55, 46, 0.25); color: #333333; font-size: 88%; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; } td.diff-deletedline { font-size: 88%; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; background: #ffffff; } td.diff-addedline { border-color: #a3d3ff; font-size: 88%; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; background: #ffffff; } td.diff-addedline .diffchange { background: rgba(60, 140, 0, .6); } td.diff-deletedline .diffchange { background: #f9e9a2; } .diffchange { color: black; font-weight: normal; }

table.collapsed tr.collapsible { display: none; } .collapseButton {       /* 'show'/'hide' buttons created dynamically by the	    */ float: right;       /* CollapsibleTables JavaScript in MediaWiki:Common.js */ font-weight: normal; /* are styled here so they can be customised. */   text-align: right; width: auto; }

table.terraria { margin: 1em 1em 1em 0; background: rgba(67, 55, 46, 0.1); padding: 0.2em; border-radius: .7em; -moz-border-radius: .7em; -webkit-border-radius: .7em; }

.terraria caption { font-weight: bold; }

/* 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 */ /* Border color */ .infobox, .infoboxtable, .craftbox, .infoborder, table.terraria { border-color: var(--line-color) !important; } .infobox { background-color: #f9f9f9; color: #3a3a3a; } .infoboxtable { color: #000000; }

.infoboxtable td { vertical-align: top; }

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

.infoboxname { background-color: rgba(0, 0, 0, 0.05); font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { background-color: rgba(0, 0, 0, 0.05); padding: 0em; } .infobox .section.ids { margin-top: 3px; border-top: 1px solid #aaa; text-align: center; font-size: 10.5px; background-color: var(--header-color); color: var(--txt-color); }

.infobox .section.ids li { padding: 2px 0; border-bottom: 2px solid #f9f9f9; margin: 0; font-weight: bold; }

.infobox .section.ids li:last-child { border-bottom: 0; }

/* 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 */

/* *********************************************************************************** */ /* CSS placed here will affect the main page layout                                   */ /*                                                                                    */ /* The main page css has been moved to two different pages: MediaWiki:3colmainpage.css */ /* and MediaWiki:2colmainpage.css                                                     */ /* Wiki managers can either customize one or the other for their wiki and overwrite   */ /* this section with the customized version, or update them in situ and use one of the */ /* import commands shown below                                                        */ /*                                                                                    */ /* The following is for the regular 2 column responsive main page                      */ /*                                                                                    */ /* @import url(/index.php?title=MediaWiki:2colmainpage.css&action=raw&ctype=text/css); */ /*                                                                                    */ /*                                                                                     */ /* The following is for the regular 3 column responsive main page                      */ /*                                                                                    */ /* @import url(/index.php?title=MediaWiki:3colmainpage.css&action=raw&ctype=text/css); */ /*                                                                                    */ /* *********************************************************************************** */

/* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border: 0; border-bottom: 1px solid #505050; }

.fpbox { background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; }

.fplink { background: rgba(0,0,0,0.3); border: 1px solid #505050; }

.fplink-fullwidth .fplink { background: rgba(0,0,0,0.4); }

.linkslabel { border-bottom: 2px solid #505050; }

/* -- helper for nowrap - */ .nowrap{ white-space:nowrap; } /* -- */

/* -- note text - */ .note-text{ color: #666; } /* -- */

/* ".center" has width=100% rule, we don't want it, so use a different class name. */ .aligncenter, .align-center { text-align: center; }

/* -- Infobox & infobox wrapper template style -- */ /* some rules just kept for "old" template. */ .infobox td, .infobox th { vertical-align: top; } .infobox caption { font-size: larger; margin-left: inherit; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px #AAA solid; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } /* styles for latest template */ .infobox{ padding: 6px; float: right; font-size: 12px; background-color: #f9f9f9; color: black; margin: 0 0 0.5em 1em; } @media(max-width:450px){ .infobox{ float: none; } } .infobox.float-right{ float: right; margin: 0 0 0.5em 1em; } .infobox.float-left{ float: left; margin:0 1em 0.5em 0; } .infobox.float-none{ float: none; margin:0 1em 0.5em 0; } .infobox table{ background-color: transparent; width: 100%; border-spacing: 0; }

.infobox table td{ padding: 2px; vertical-align: middle; } .infobox .title{ background-color: var(--header-color); color: var(--txt-color); font-weight: bold; text-align: center; padding: 2px 0; }

.infobox > .title{ font-size: 15px; padding: 8px 0; line-height: 1.2; } .infobox > .title span{ display: block; font-size: 12px; color: slategray; font-style: italic; } .infobox > .title span::before{ content: "(";  font-style: normal; } .infobox > .title span::after{   content: ")"; font-style: normal; } .infobox .variant { background-color: var(--header-color); color: var(--txt-color); font-weight: bold; text-align: center; font-size: 12px; padding: 4px 0; line-height: 1.2; }

.infobox .images{ position: relative; padding: 6px 0; min-height: 40px; text-align: center; display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex; /* direction=column, for IE11 */ -webkit-box-direction:normal;-webkit-box-orient:vertical;-moz-box-direction:normal;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column; -webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-justify-content:center;justify-content:center; -webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center; } .infobox ul{ list-style: none; margin: auto; text-align: center; } .infobox .stat td > small{ font-size: 10.5px; font-weight: bold; } .infobox .stat td > small::before{ content: "("; } .infobox .stat td > small::after{  content: ")"; } .infobox tr.buff th, .infobox tr.buff td { background-color: var(--header-color); border: 1px solid #f9f9f9; }

.infobox tr.buff th{ border-left: 0; } .infobox tr.buff td{ border-right: 0; padding-left: 3px; } .infobox tr.buff td b{  font-weight: bold; } .infobox .variant{ margin-bottom: 2px; white-space: nowrap; } .infobox .drops td:first-child{ text-align: left; } .infobox .drops td:last-child{ text-align: right; } .infobox .drops th:first-child{ text-align: left; border-right: 0; } .infobox .section.drops{ margin-top: 6px; } .infobox .drops.money{ margin: 2px auto; } .infobox .image2{ text-align: center; padding-top: 3px; border-top: 1px solid #aaa; } .infobox .drops.items{ margin-bottom: 1px; } .infobox .drops.items li{ border-bottom: 1px var(--header-color) solid; padding: 3px 0; margin-bottom: auto; display:-webkit-box; display:-webkit-flex; display:-moz-flex; display:-ms-flexbox; display:flex; -ms-flex-wrap:nowrap; -webkit-flex-wrap:nowrap; -moz-flex-wrap:nowrap; flex-wrap:nowrap; -webkit-box-direction:normal; -webkit-box-orient:horizontal; -moz-box-direction:normal; -moz-box-orient:horizontal; -webkit-flex-direction:row; -ms-flex-direction:row; flex-direction:row; -webkit-box-pack:justify; -ms-flex-pack:justify; -webkit-justify-content:space-between; -moz-justify-content:space-between; justify-content:space-between; -webkit-box-align:center; -ms-flex-align:center; -webkit-align-items:center; -moz-align-items:center; align-items:center; } .infobox .drops.items li:first-child { background-color: var(--header-color); color: var(--txt-color); padding: 0.3em 0.5em; }

.infobox .drops.items li > div{ display: block; } .infobox .drops.items li > div:first-child{ text-align: left; } .infobox .drops.items li > div:last-child{ text-align: right; } .infobox .drops.items li:last-child{ border-bottom: none; } .infobox .drops.items li.caption { /*border-top: 2px var(--header-color) solid;*/ background: var(--bg-color); }

.infobox .drops.items li.group_end{ border-bottom-color: var(--header-color); } .infobox .drops.items li.group_end::after{ background-color: #f9f9f9; } /* for item infobox */ .item.infobox{ width: 21em; } .item.infobox .images .auto, .infobox.item .images .stack{ position: absolute; right: 3px; } .item.infobox .images .instrument { position: absolute; left: 3px; } .item.infobox .images .auto{ top: 3px; } .item.infobox .images .stack, .item.infobox .images .instrument{ bottom: 3px; } .item.infobox .images ul.inline li{ display: inline-block; padding: 0 8px 0 9px; margin: 2px auto; position: relative; } .item.infobox .images ul.inline li::before { content: ""; display: block; width: 1px; background: #ccc; height: 80%; position: absolute; left: 0; top: 10%; }

.item.infobox .images ul.inline li:first-child::before{ display: none; } .item.infobox .images ul.block li{ display: block; padding: 13px 0 0 0; margin: auto; position: relative; } .item.infobox .images ul.block li::before{ content: ""; display: block; height: 1px; background: #ccc; width: 80%; position: absolute; left: 10%; top: 6px; } .item.infobox .images ul.block li:first-child{ padding-top: 0; } .item.infobox .images ul.block li:first-child::before{ display: none; } .item.infobox ul.toolpower{ padding: 6px 0; cursor: pointer; } .item.infobox ul.toolpower li{ display: inline-block; padding: 0 0.5em; } /* for npc infobox */ .npc.infobox{ width: 23em; } .npc.infobox .statistics table th{ width: 6em; } .npc.infobox .images .map{ position: absolute; left: 3px; top: 3px; } /* infobox wrapper */ .infobox-wrapper.float-right{ float: right; margin-left: 0.5em; } .infobox-wrapper.float-left{ float: left; margin-right: 0.5em; } .infobox-wrapper.float-none{ float: none; }

/* -- */

.template-heading { border-radius: 10px; background: #ccc1be; padding: 4px; margin: 3px; font-weight: bold; text-align: center; color: #59271c; font-size: 120%; }

/* -- item link - */ .item-link{ white-space:nowrap; display: inline-block; } .item-link > a, .item-link > img{ display: inline-block; line-height: 0.1; vertical-align: middle; margin-left: 2px; } .item-link > span{ display: inline-block; margin-left: 3px; text-align: left; } .item-link > a:first-child, .item-link > img:first-child, .item-link > span:first-child{ margin-left: auto; } .item-link.-w > span{ vertical-align: middle; line-height: 1.25; } .item-link .note{ color: #666; font-size: 85.7142%; /*12px/14px*/ } .item-link div.note{ /*note2*/ font-size: 100%; line-height: 1; } .item-link span.note{ margin-left: 3px; } .item-link.-w span.note:last-child{ display: block; margin-left: auto; line-height: 1; } .item-link.boldname >span span:first-child{ font-weight: bold; } .item-link.notecolor span.note{ color: inherit; } .item-link.note2color div.note{ color: inherit; } .item-link.block, .item-link.block > span{ display: block; } .item-link.notesize span.note{ font-size: 100%; } .item-link.note2size div.note{ font-size: 100%; font-size: 85.7142%; /*12px/14px*/ } .item-link.alignleft{ text-align: left; } .item-link.aligncenter{ text-align: center; } .item-link.alignright{ text-align: right; } .item-link.textleft>span{ text-align: left; } .item-link.textcenter>span{ text-align: center; } .item-link.textright>span{ text-align: right; }

.fp-section { padding:1em; text-align: left; color: #333333; }

/* -- "terraria" box style. --*/ .terraria{ padding: 8px 12px; position: relative; } .terraria > .heading, .terraria > .mw-collapsible-content > .heading { background: var(--header-color); text-align: center; font-weight: bold; line-height: 2; min-height: 1em; margin: auto -4px; padding: 0; font-size: inherit; margin-top: 8px; } .terraria > .heading:first-child, .terraria > .mw-collapsible-content > .heading:first-child { margin-top: auto; } .terraria > .heading + *, .terraria > .mw-collapsible-content > .heading + * { padding-top: 8px; } .terraria > .mw-collapsible-toggle { position: absolute; line-height: 1; right: 12px; top: 12px; font-size: 12px; } .terraria > .mw-collapsible-toggle > .mw-collapsible-bracket { display: none; } .terraria > .mw-collapsible-toggle:before { content: ""; vertical-align: middle; display: inline-block; width: 4px; height: 4px; transform: rotate(45deg); position: relative; left: -3px; border-left: 2px solid #0645ad; border-top: 2px solid #0645ad; border-right: 0; border-bottom: 0; top: 1px; } .terraria > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { border-left: 0; border-top: 0; border-right: 2px solid #0645ad; border-bottom: 2px solid #0645ad; top: -2px; }

/* -- "terraria"-classed tables - */ table.terraria { margin: 1em 1em 1em 0; background: #F9F9F9; padding: 0.2em; } .terraria th { background: var(--header-color); color: black; text-align: center; } .terraria caption { font-weight: bold; } /* -- */

/* -- "terraria" box style. --*/ .terraria{ border: 1px var(--header-color) solid; padding: 8px 12px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; position: relative; } .terraria > .heading, .terraria > .mw-collapsible-content > .heading { background: var(--header-color); color: #ffffff; text-align: center; font-weight: bold; line-height: 2; min-height: 1em; margin: auto -4px; padding: 0; font-size: inherit; margin-top: 8px; } .terraria > .heading:first-child, .terraria > .mw-collapsible-content > .heading:first-child { margin-top: auto; } .terraria > .heading + *, .terraria > .mw-collapsible-content > .heading + * { padding-top: 8px; } .terraria > .mw-collapsible-toggle { position: absolute; line-height: 1; right: 12px; top: 12px; font-size: 12px; } .terraria > .mw-collapsible-toggle > .mw-collapsible-bracket { display: none; } .terraria > .mw-collapsible-toggle:before { content: ""; vertical-align: middle; display: inline-block; width: 4px; height: 4px; transform: rotate(45deg); position: relative; left: -3px; border-left: 2px solid #0645ad; border-top: 2px solid #0645ad; border-right: 0; border-bottom: 0; top: 1px; } .terraria > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before { border-left: 0; border-top: 0; border-right: 2px solid #0645ad; border-bottom: 2px solid #0645ad; top: -2px; }

/* -- */

color: #033251; text-align: center; display:-webkit-box; display:-webkit-flex; display:-moz-flex; display:-ms-flexbox; display:flex; -ms-flex-wrap:wrap; -webkit-flex-wrap:wrap; -moz-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-align:center; -ms-flex-align:center; -webkit-align-items:center; -moz-align-items:center; align-items:center; -webkit-align-content:space-between; -ms-flex-line-pack:space-between; align-content:space-between; }  -webkit-flex-basis:480px; -moz-flex-basis:480px; -ms-flex-preferred-size:480px; flex-basis:480px; -webkit-box-flex:1; -webkit-flex-grow:1; -moz-flex-grow:1; -ms-flex-positive:1; flex-grow:1; -webkit-flex-shrink:1; -moz-flex-shrink:1; -ms-flex-negative:1; flex-shrink:1; }  -webkit-flex-basis:1000px; -moz-flex-basis:1000px; -ms-flex-preferred-size:1000px; flex-basis:1000px; -webkit-box-flex:3; -webkit-flex-grow:3; -moz-flex-grow:3; -ms-flex-positive:3; flex-grow:3; -webkit-flex-shrink:99; -moz-flex-shrink:99; -ms-flex-negative:99; flex-shrink:99; margin: 0.75em 0; }  display:-webkit-box; display:-webkit-flex; display:-moz-flex; display:-ms-flexbox; display:flex; -ms-flex-wrap:wrap; -webkit-flex-wrap:wrap; -moz-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-align:center; -ms-flex-align:center; -webkit-align-items:center; -moz-align-items:center; align-items:center; -webkit-box-pack:center; -ms-flex-pack:center; -webkit-justify-content:center; -moz-justify-content:center; justify-content:center; margin-bottom: 0.3em; }  margin: 0 1.5em; -webkit-box-flex:0; -webkit-flex-grow:0; -moz-flex-grow:0; -ms-flex-positive:0; flex-grow:0; -webkit-flex-shrink:1; -moz-flex-shrink:1; -ms-flex-negative:1; flex-shrink:1; -webkit-flex-basis:auto; -moz-flex-basis:auto; -ms-flex-preferred-size:auto; flex-basis:auto; }
 * 1) mf-wikiheader {
 * 1) mf-wikiheader > div:first-child{
 * 1) mf-wikiheader > div:first-child > span:first-child {font-size: 24px;}
 * 2) mf-wikiheader > .ext-info {
 * 1) mf-wikiheader .links {
 * 1) mf-wikiheader .links > * {