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;}

.mw-datatable.timezones tr:hover td{ font-weight: bold; }

/** Stupid IE **/ img{ border:0; }

/** End test area **/

/** Generic infobox styling **/ .infobox { width: 23em; 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; }

.infoboxSubsectionBreak td { padding: 0; }

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

.craftingGridText{ color:rgb(54,54,54); font-family:Minecraft, sans-serif; font-size:16px; }

.craftingGridText b, .craftingGridText strong, .craftingGridText{ font-weight:normal; }

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

/** Crafting grid controls **/ .pageNum{ margin-left:20px; } .pageCount{ margin-right:20px; }

/** 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; color:rgba(0,0,0,0); }

.gridContainer strong{ display:none; }

.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; height: 32px; }

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

.gridContainer div.tilesheet{ position:absolute; top:0; left:0; pointer-events:none; }

.gridContainer .gridImage > a { display: inline-block; width: 32px; height: 32px; outline: none; color: rgba(0,0,0,0); overflow: hidden; }

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

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