Template:Infobox Soyjak/styles.css: Difference between revisions

From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 19: Line 19:
     border-bottom: 1px solid #DDD;
     border-bottom: 1px solid #DDD;
     margin-left: 0;
     margin-left: 0;
     padding-bottom: 7px;
     padding-bottom: 0;
     font:inherit;
     font:inherit;
     font-weight:bold;
     font-weight:bold;

Revision as of 14:59, 23 January 2023

/*--------------------------------------------------
  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 {}
.tabberlive { /* margin-top:1em; */}

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

ul.tabbernav li {    list-style: none;    display: inline;}

ul.tabbernav li a
{
padding-top: 4px;
padding-bottom: 4px;
line-height: 18px;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
}
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: white;
border: 1px solid #DDD;
border-bottom-color: transparent;
cursor: default;

}

ul.tabbernav li.tabberactive a:hover
{
 color: #000;
 background: white;
 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 { padding:5px;}
/* 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;}
.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 */