Template:BraunTabsCSS

From OpenWetWare
Jump to: navigation, search

<html><style type='text/css'> /* **************************************************

* Tab support based on http://www.alistapart.com/articles/slidingdoors/
* ************************************************** */

.rtabs{

 background-color:#666; 
 width: 746px;
 font-size:125%;
 padding: 2px 0px; color: #fff; font-size: 125%; font-weight: bold

}

.rtabs ul {

  list-style:none;background-color:#666;

} .rtabs li {

 float:left;
 margin:0;
 padding: 8px 16px;

}

/* MediaWiki automatically removes links for the current page and surrounds it with <strong> tags instead */ .rtabs a, .rtabs strong {

 float:center;
 display:block;
 padding:0px; /*5px 15px 4px 6px;*/
 text-decoration:none;
 font-weight:bold;
 color:#ccc;

}

.rtabs a:hover {

 color:#fff;

}

.rtabs #current {

 background:#333; 

}

.rtabs #current a, .rtabs #current strong {

 color:#ccc;
 padding-bottom:5px;

}

.rtabcontent {

 border: 1px dashed #aa9988;
 padding: 0em 1em 1em 1em;
 border-top: none;
 background-color:#ffffff;
 color:#000;
 clear: both;

}

.rtabcontent #prevtab {

 float: left;
 margin-top: -1.5em; 
 background-color: #DAE0D2; 
 color: #000; 
 padding: .2em .6em; 
 font-size: 130%; 
 border: 1px solid #765;

}

.rtabcontent #nexttab {

 float: right; 
 margin-top: -1.5em; 
 background-color: #DAE0D2; 
 color: #000; 
 padding: .2em .6em; 
 font-size: 130%; 
 border: 1px solid #765;

} </style></html>