Template:Nevada Home CSS

From 2011.igem.org

(Difference between revisions)
m
m
 
(16 intermediate revisions not shown)
Line 73: Line 73:
/* End of Text Style */
/* End of Text Style */
-
.tabs { list-style: none; overflow: hidden; padding-left: 1px; }
+
.tabs {
-
.tabs li { display: inline; }
+
    list-style: none;
-
.tabs li a { display: block; float: left; padding: 4px 8px; color: black; border: 1px solid #ccc; background: #eee; margin: 0 0 0 -1px; }
+
    overflow: hidden;
 +
    padding-left: 1px;
 +
}
 +
 
 +
.tabs li {
 +
    display: inline;
 +
}
 +
 
 +
.tabs li a {
 +
    display: block;
 +
    float: left;
 +
    padding: 4px 8px;
 +
    color: black;
 +
    border: rgba(0,0,0,0.6) solid 2px;
 +
    background-color: rgba(194,194,194,0.7);
 +
    margin: 0 -2px 0 -1px;
 +
}
 +
 
.tabs li a.current { background: white; border-bottom: 0; position: relative; top: 2px; z-index: 2; }
.tabs li a.current { background: white; border-bottom: 0; position: relative; top: 2px; z-index: 2; }
-
.box-wrapper { -moz-box-shadow: 0 0 20px black; -webkit-box-shadow: 0 0 20px black; padding: 20px; background: white; border: 1px solid #ccc; margin: -1px 0 0 0; height: 910px; position: relative; }
+
.box-wrapper {  
-
.content-box { overflow: hidden; position: absolute; top: 20px; left: 20px; width: 658px; height: 530px; }
+
    -moz-box-shadow: 0 0 20px black;
 +
    -webkit-box-shadow: 0 0 20px black;
 +
    padding: 20px;
 +
    background-color: rgba(194,194,194,0.7);
 +
    /*border: 1px solid #ccc; */
 +
    /*border: rgba(0,0,0,0.6) solid 1px;*/
 +
    border-top: rgba(0,0,0,0.6) solid 5px;
 +
    margin: -1px 0 0 0;
 +
    height: 930px;
 +
    position: relative;
 +
}
 +
.content-box { overflow: hidden; position: absolute; top: 20px; left: 20px; width: 658px; height: 930px; }
-
.col { width: 30%; float: left; position: relative; top: 650px; }
+
.col { width: 80%; float: left; position: relative; top: 930px; }
.col-one, .col-two { margin-right: 3%; }
.col-one, .col-two { margin-right: 3%; }

Latest revision as of 06:35, 27 September 2011