MediaWiki:Common.css

/** FTB Wiki Global Stylesheet Current maintainers: Jinbobo Please discuss changes on MediaWiki talk:Common.css or User talk:Jinbobo For skin specific stylesheets, see: Vector Skin: MediaWiki:Vector.css FTB Skin: MediaWiki:Ftb.css

/** Testing area, please clear out this section after testing is done **/

/** Deprecated as of the creation of the new tooltips, see Template:Tooltip **/ /** Ask denkbert to remove this section after done testing **/ /* Styling for onmouseover */ /*span.dropt {border-bottom: thin dotted; background: #ffeedd;}*/ span.dropt:hover {text-decoration: none; background: #ffffff; z-index: 6; } span.dropt span {position: absolute; left: -9999px; margin: 20px 0 0 0px; padding: 3px 3px 3px 3px; border-style:solid; border-color:black; border-width:1px; z-index: 6;} span.dropt:hover span {left: 0px; background: #ffffff;} span.dropt span {position: absolute; left: -9999px; margin: 4px 0 0 0px; padding: 3px 3px 3px 3px; border-style:solid; border-color:black; border-width:1px;} span.dropt:hover span {margin: -48px 0 0 -32px; background: #ffffff; z-index:6;}

/** End test area **/

/** Generic infobox styling **/ .infobox { width: 22em; text-align: right; border: 1px solid #AAA; background-color: #F9F9F9; color: #000; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.2em; vertical-align: top; border-collapse: collapse; }

.infobox td[colspan="2"], .infobox th[colspan="2"] { text-align: center; }

.infobox td:first-child:not([colspan="2"]) { text-align: left; font-weight: bold; width: 50%; vertical-align: top; }

.infobox th.infoboxFirstHeader{ font-size: 120% }

.infobox td ul, .infobox td ol{ text-align:left; }

.infobox th{ border-bottom: #AAA thin solid; border-top: #AAA thin solid; }

.infobox th, .infobox td{ padding: 0.4em 0.6em 0.2em 0.6em; }

.infobox tr.infoboxSubsectionBreak{ border-top: #AAA thin solid; }

.infobox th.infoboxSectionHeader, .infobox th.infoboxFirstHeader { background-color: #CDDEFF; }

/** Crafting grid override classes **/ .craftingGridNoBg .gridContainer, .craftingGridNoBg .gridBorder, .craftingGridNoBg .gridBorder span{ border:none !important; background:none !important; }

/** Galleries **/ .gallery > .page{ display:none; }

.gallery > div.page.active{ display:block; }

.gallery > span.page.active{ display:inline; }

/** Crafting Grid Slides **/ .CraftingGridCell > span.ActiveSlide{ display:inline-block; } .CraftingGridCell > div.GridTank, .CraftingGridCell > span{ display:none } .CraftingGridCell > div.GridTank.ActiveSlide{ display:block; }

/** FTB table **/ /** Probably will merge and replace .wikitable in the FTB Skin **/ table.ftbtable{ margin:1em 0; border-collapse: collapse; background-color: #FFF2E5; border:solid thin #DAB08B; color: #000; } table.ftbtable > tr > th, table.ftbtable > * > tr > th{ background-color: #FFDEBF; text-align:center; } table.ftbtable > tr > th, table.ftbtable > tr > td, table.ftbtable > * > tr > th, table.ftbtable > * > tr > td{ border:solid thin #DAB08B; padding:0.2em; } table.ftbtable > * > tr > th > h2, table.ftbtable > tr > th > h2{ border:none; font-weight:bold; margin:0.5em; margin-top:0.1em; text-align:center; width:100%; }

/** Image tags for shortened links **/ .tracking-link img{ vertical-align:baseline !important; }

/** Tooltips **/ /** Template:Tooltip **/ .tooltip{ text-align:left; position:absolute; white-space:nowrap; overflow:hidden; z-index:100; /* Defaults */ color:white; background-color:green; }

.tooltipParent{ position:relative; /* Defaults */ /*background-color:#AAA; height:100px; width:100px;*/ }

/** Crafting grid tooltips **/ .gridTooltipOuter{ border:solid 2px #100210; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; color:white; font-size:16px; font-family: Minecraft, sans-serif; text-shadow:2px 2px #3F3F3F; padding:2px; /* Background gradient */ background: #27187f; /* Old browsers */ background: -moz-linear-gradient(top, #27187f 0%, #1f174c 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#27187f), color-stop(100%,#1f174c)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, #27187f 0%,#1f174c 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, #27187f 0%,#1f174c 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, #27187f 0%,#1f174c 100%); /* IE10+ */ background: linear-gradient(to bottom, #27187f 0%,#1f174c 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#27187f', endColorstr='#1f174c',GradientType=0 ); /* IE6-9 */ }

.gridTooltipInner{ background:#100210; padding:3px 4px; }

/** Thaumcraft Aspect Tooltips **/ .tcAspectTooltip{ color:#54FCFC; text-shadow:2px 2px #153E3E; }

.tcAspectTooltipDesc{ color:#A8A8A8; text-shadow:2px 2px #292929; font-style:italic; font-size:85%; line-height:1.25em; }

.tcAspectTooltip a.new{ display:none; }

/** Tanks **/ /** Template:Tanks **/ .tanks{ position:absolute; top:0; }

/** Styling for the new grid templates **/ .gridContainer{ display: inline-block; position: relative; text-align: left !important; background-color: #8B8B8B; height: 32px; width: 32px; padding: 2px; vertical-align:bottom; }

.gridContainer .gridBorder{ display: block; margin: -2px 0 0 -2px; border-style: solid none none solid; border-width: 2px; border-color: #373737; height: 100%; }

.gridContainer .gridBorder span { display: block; margin-right: -2px; border-style: none solid solid none; border-width: 2px; border-color: #FFFFFF; height: 100%; }

.gridContainer .gridImage, .gridContainer .gridDefaultImage { position: absolute; top: 2px; width: 32px; }

.gridContainer .gridImage > a.new { background-image: url("http://wiki.feed-the-beast.com/images/3/35/Grid_Unknown.png"); display: block; width: 32px; height: 32px; outline: none; color: rgba(0,0,0,0); }

.gridContainer .gridNumber { position:absolute; bottom:-1px; right:-2px; height:16px; display: block; text-align: right; font-family: Minecraft, sans-serif; font-size: 16px; }

.gridContainer .gridNumber .selflink, .gridContainer .gridNumber a { /* color: #3F3F3F; */ text-decoration: none; font-weight: normal; }

.gridContainer .gridImage a.new + .gridNumber { display: none; }

.gridNumber, .gridNumber a, .gridNumber a.new{ text-shadow:2px 2px #3F3F3F; color:white !important; }

/** Generic animation support **/ .animated > span.gridContainer.active{ display:inline-block; } .animated > span, .animated:not(.gridImage) > div { display:none; } /** Animation support for the new grid templates **/ .oreDictAnimated > a{	display:none; } .oreDictAnimated > a.active{ display:inline; } /** This section is created by Denkbert, minor modifications has been made by Jinbobo, suggest changes on User talk:Jinbobo or MediaWiki talk:Common.css **/ /* Template:Grid */ .grid .animated .image, .grid .paused .image { display: none; } .grid .animated .image.active, .grid .paused .image.active { display: block; }

/* Template:Grid/Cell */ .grid { display: inline-block; position: relative; text-align: left !important; background-color: #8B8B8B; height: 32px; width: 32px; padding: 2px; vertical-align: bottom; } .grid.output { height: 48px; width: 48px; }

.grid .border { display: block; margin: -2px 0 0 -2px; border-style: solid none none solid; border-width: 2px; border-color: #373737; height: 100%; } .grid .border span { display: block; margin-right: -2px; border-style: none solid solid none; border-width: 2px; border-color: #FFFFFF; height: 100%; }

.grid .image, .grid .default-image { position: absolute; top: 2px; width: 32px; } .grid.output .image { top: 10px; left: 10px; } .grid .image > a.new { background-image: url("http://wiki.feed-the-beast.com/images/3/35/Grid_Unknown.png"); display: block; width: 32px; height: 32px; outline: none; text-indent: -99999px; }

.grid .number { position:absolute; bottom:-1px; right:-2px; height:16px; display: block; text-align: right; font-family: Minecraft, sans-serif; font-size: 16px; pointer-events: none; } .grid .number .selflink, .grid .number a { /* color: #3F3F3F; */ text-decoration: none; font-weight: normal; } .grid .image a.new + .number { display: none; } .number, .number a, .number a.new{ text-shadow:2px 2px #3F3F3F; color:white !important; }

.grid2 .number .selflink { font-weight: normal; } .grid2 .image a.new + .number { display: none; }

.grid-Crafting_Table, .grid-Furnace, .grid-Brewing_Stand table, .grid-generic { background: #C6C6C6; border: outset 2px #999; padding: 6px; text-align: left !important; }

.grid-Crafting_Table td, .grid-Furnace td, .grid-Brewing_Stand td, .grid-generic td { border: none; padding: 0; }

/* Template:Grid/Crafting Table */ .grid-Crafting_Table .arrow, .grid-Crafting_Table .shapeless { text-align: center; vertical-align: bottom; }

.grid-Crafting_Table .arrow { width: 40px; padding-bottom: 5px; }

.grid-Crafting_Table .shapeless span { cursor: help; }

/* Template:Grid/Furnace */ .grid-Furnace { padding-left: 24px; padding-right: 24px; }

.grid-Furnace .arrow, .grid-Furnace .output { text-align: center; vertical-align: middle; }

.grid-Furnace .arrow { padding-right: 18px !important; padding-left: 14px !important; }

/* Template:Grid/Brewing Stand */ .grid-Brewing_Stand { position: relative; width: 144px; }

.grid-Brewing_Stand .bubbles { text-align: right; }

.grid-Brewing_Stand .input { padding: 3px 0 !important; vertical-align: top; } .grid-Brewing_Stand .output1 { padding: 4px 10px 14px 0 !important; } .grid-Brewing_Stand .output2 { padding-top: 18px !important; } .grid-Brewing_Stand .output3 { padding: 4px 0 14px 10px !important; }

.grid-Brewing_Stand .paths { position: absolute; bottom: 42px; left: 42px; z-index: 5; }

/* Generic styling for animation class */ .animated > span, .animated > div { display: none; }

.animated > span.active { display: inline; }

.animated > div.active { display: block; } .animated p {visibility:hidden;}

.nowrap { white-space: nowrap; }

/* Default skin for navigation boxes */ /** Template:Navbox **/ table.navbox {			/* Navbox container style */ border: 1px solid #aaa; width: 100%; margin: auto; clear: both; font-size: 88%; text-align: center; padding: 1px; } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px;		 /* (doesn't work for IE6, but that's okay)	   */ } .navbox-title, .navbox-abovebelow, table.navbox th { text-align: center;	 /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } .navbox-group {			 /* Group style */ white-space: nowrap; /* @noflip */text-align: right; font-weight: bold; padding-left: 1em; padding-right: 1em; } .navbox, .navbox-subgroup { background: #fdfdfd;	 /* Background color */ } .navbox-list { border-color: #fdfdfd;  /* Must match background color */ } .navbox-title, table.navbox th { background: #d4d4d4;	 /* Level 1 color */ color: #4d4d4d; } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #e2e2e2;	 /* Level 2 color */ color: black; } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #ebebeb;	 /* Level 3 color */ color: black; } .navbox-even { background: #f9f9f9;	 /* Even row striping */ color: black; } .navbox-odd { background: transparent; /* Odd row striping */ } .collapseButton {		 /* 'show'/'hide' buttons created dynamically */ /* @noflip */float: right;		 /* by the CollapsibleTables javascript in	*/ font-weight: normal;  /* MediaWiki:Common.js are styled here   */ /* @noflip */text-align: right;	 /* so they can be customised. */	width: auto; } .navbox .collapseButton { /* In navboxes, the show/hide button balances */ width: 6em;			/* the vde links from Template:Navbar,	*/ }						 /* so they need to be the same width. */ .navbar {				 /* Navbox template links */ font-size: 88%;		/* Default font-size */ font-weight: normal; } .navbox .navbar { font-size: 100%;	  /* Font-size when nested within navbox */ }

table.collapsed tr.collapsible { display: none; }