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

From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
No edit summary
Tag: Manual revert
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 9: Line 9:
   .tabberlive = after the tabber interface is set up
   .tabberlive = after the tabber interface is set up
   --------------------------------------------------*/
   --------------------------------------------------*/
.tabber {}
/*.tabber {display:none;}*/
.tabberlive { /* margin-top:1em; */}
/*.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
   ul.tabbernav = the tab navigation list
Line 19: Line 21:
     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-weight:bold;
    font-family:sans-serif;
    overflow-x:hidden;
    white-space: nowrap;
    overflow-y:hidden;
}
}


Line 26: Line 34:
ul.tabbernav li a
ul.tabbernav li a
{
{
padding-top: 8px;
padding-top: 4px;
padding-bottom: 8px;
padding-bottom: 4px;
line-height: 18px;
line-height: 18px;
border: 1px solid transparent;
border: 1px solid #DDD;
border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
border-bottom-color: transparent;
}
}
ul.tabbernav li>a{ text-decoration:none;
ul.tabbernav li>a{ text-decoration:none;
Line 54: Line 63:
  /* border-bottom: 1px solid #fff; */
  /* border-bottom: 1px solid #fff; */
  color: #555;
  color: #555;
background-color: white;
background-color: #f8f9fa;
border: 1px solid #DDD;
border: 1px solid #DDD;
border-bottom-color: transparent;
border-bottom-color: transparent;
Line 64: Line 73:
{
{
  color: #000;
  color: #000;
  background: white;
  background: #f8f9fa;
  border-bottom: 1px solid white;
  border-bottom: 1px solid white;
  text-decoration: none;
  text-decoration: none;
Line 74: Line 83:
   Add style only after the tabber interface is set up (.tabberlive)
   Add style only after the tabber interface is set up (.tabberlive)
   --------------------------------------------------*/
   --------------------------------------------------*/
.tabberlive .tabbertab { padding:5px;}
.tabberlive .tabbertab {}
/* border:1px solid #aaa;  
/* border:1px solid #aaa;  
  border-top:0; */
  border-top:0; */
Line 90: Line 99:


/* If desired, hide the heading since a heading is provided by the tab */
/* If desired, hide the heading since a heading is provided by the tab */
.tabber .tabbertab {border: none;}
.tabber .tabbertab {border: none; padding: 0;}
.tabberlive .tabbertab h2 { display:none;}
.tabberlive .tabbertab h2 { display:none;}
.tabberlive .tabbertab h3 { display:none;}
.tabberlive .tabbertab h3 { display:none;}
Line 99: Line 108:
.tabberlive#tab2 .tabbertab { height:200px; overflow:auto;}
.tabberlive#tab2 .tabbertab { height:200px; overflow:auto;}
/* end tabes */
/* end tabes */
/* Main Infobox Styling */
th.infobox-label {
white-space: nowrap;
}
.infobox-data>ul {
margin: 0 0 0 1.6em
}

Latest revision as of 04:22, 15 May 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 {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
}