Template:Infobox Soyjak/styles.css
From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
/*-------------------------------------------------- REQUIRED to hide the non-active tab content. But do not hide them in the print stylesheet! --------------------------------------------------*/ .tabberlive .tabbertabhide { display:none;} /*-------------------------------------------------- .tabber = before the tabber interface is set up .tabberlive = after the tabber interface is set up --------------------------------------------------*/ /*.tabber {display:none;}*/ /*.tabberlive {display:inherit;}*/ /* Tabber Fix */ /* Prevents tabber contents from showing up for a few frames before the script executes */ .tabber:not(.tabberlive) > .tabbertab:not(:first-child) { display: none; } /*-------------------------------------------------- ul.tabbernav = the tab navigation list li.tabberactive = the active tab --------------------------------------------------*/ ul.tabbernav{ border-bottom: 1px solid #DDD; margin-left: 0; padding-bottom: 0; font:inherit; font-weight:bold; font-family:sans-serif; overflow-x:hidden; white-space: nowrap; overflow-y:hidden; } ul.tabbernav li { list-style: none; display: inline;} ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; line-height: 18px; border: 1px solid #DDD; border-radius: 4px 4px 0 0; border-bottom-color: transparent; } ul.tabbernav li>a{ text-decoration:none; padding-right: 12px; padding-left: 12px; margin-right: 2px; } ul.tabbernav li>a:link { /* color: #448; */ } ul.tabbernav li>a:visited { /*color: #667; */ } ul.tabbernav li a:hover { color: #000; /* background: #AAE; border-color: #227; */ text-decoration: none; background-color: #EEE; } ul.tabbernav li.tabberactive a { /*background-color: #fff; */ /* border-bottom: 1px solid #fff; */ color: #555; background-color: #f8f9fa; border: 1px solid #DDD; border-bottom-color: transparent; cursor: default; } ul.tabbernav li.tabberactive a:hover { color: #000; background: #f8f9fa; border-bottom: 1px solid white; text-decoration: none; } /*-------------------------------------------------- .tabbertab = the tab content Add style only after the tabber interface is set up (.tabberlive) --------------------------------------------------*/ .tabberlive .tabbertab {} /* border:1px solid #aaa; border-top:0; */ /* If you don't want the tab size changing whenever a tab is changed you can set a fixed height */ /* height:200px; */ /* If you set a fix height set overflow to auto and you will get a scrollbar when necessary */ /* overflow:auto; */ /* If desired, hide the heading since a heading is provided by the tab */ .tabber .tabbertab {border: none; padding: 0;} .tabberlive .tabbertab h2 { display:none;} .tabberlive .tabbertab h3 { display:none;} /* Example of using an ID to set different styles for the tabs on the page */ .tabberlive#tab1 {} .tabberlive#tab2 {} .tabberlive#tab2 .tabbertab { height:200px; overflow:auto;} /* end tabes */ /* Main Infobox Styling */ th.infobox-label { white-space: nowrap; } .infobox-data>ul { margin: 0 0 0 1.6em }