Team:Stanford-Brown/Templates/css

From 2012.igem.org

(Difference between revisions)
Line 1: Line 1:
/*--STANFORD-BROWN iGEM 2012--*/
/*--STANFORD-BROWN iGEM 2012--*/
 +
 +
 +
 +
<!--Header formatting-->
 +
h1, h2, h3, h4, h5 {
 +
    font-family:"Ubuntu", sans-serif;
 +
    line-height:25px;
 +
    border-bottom:1px dotted #3e3e3e;
 +
    margin-bottom:5px;
 +
    margin-top:10px;
 +
    padding:10px;
 +
    font-weight:normal;
 +
}
 +
h1 { background: #222; }
 +
h2 { background: #444; }
 +
h3 { background: #666; font-size: 18px; border-bottom: none; }
 +
h4 { background: #888; border-bottom: none; }
 +
h5 { background: #AAA; }
 +
h1, h1 a { color: #CCC !important; }
 +
h2, h2 a { color: #AAA !important; }
 +
h3, h3 a { font-weight: bold; color: #888 !important; }
 +
h4, h4 a { color: #666 !important; }
 +
h5, h5 a { color: #444 !important; }
 +
h2.topheader{ border-top:0; padding-top:0; margin-top:5px; }
 +
h2.noline{
 +
    border-top:0; margin-top:0; padding-top:0; margin-bottom:0;
 +
    line-height:20px; padding-top:2px; font-size:20px; }
 +
<!--End of header formatting-->
<!--Sub-project list formatting-->
<!--Sub-project list formatting-->
Line 28: Line 56:
}
}
#subHeaderList a:hover { color: #999; }
#subHeaderList a:hover { color: #999; }
 +
<!--End of sub-project list formatting-->
-
<!--Header formatting-->
+
 
-
h1, h2, h3, h4, h5 {
+
/* Menu */
-
     font-family:"Ubuntu", sans-serif;
+
ul.sdt_menu{
-
     line-height:25px;
+
     margin:0;
-
     border-bottom:1px dotted #3e3e3e;
+
     padding:0;
-
     margin-bottom:5px;
+
     list-style: none;
-
     margin-top:10px;
+
     font-family:"Ubuntu", "Trebuchet MS", sans-serif;
-
     padding:10px;
+
     font-size:18px;
-
    font-weight:normal;
+
     width:852px;
}
}
-
h1 { background: #222;  
+
ul.sdt_menu a{
 +
    text-decoration:none;
 +
    outline:none;
}
}
-
h2 { background: #444;  
+
ul.sdt_menu li{
 +
    float:left;
 +
    width:142px;
 +
    height:85px;
 +
    position:relative;
 +
    cursor:pointer;
}
}
-
h3 { background: #666; font-size: 18px; border-bottom: none; }
+
ul.sdt_menu li > a{
-
h4 { background: #888; border-bottom: none; }
+
    position:absolute;
-
h5 { background: #AAA; }
+
    top:0px;
-
h1, h1 a { color: #CCC !important; }
+
    left:0px;
-
h2, h2 a { color: #AAA !important; }
+
    width:142px;
-
h3, h3 a { font-weight: bold; color: #888 !important; }
+
    height:85px;
-
h4, h4 a { color: #666 !important; }
+
    z-index:12;
-
h5, h5 a { color: #444 !important; }
+
    background:#222;
-
h2.topheader{ border-top:0; padding-top:0; margin-top:5px; }
+
    -moz-box-shadow:0px 0px 2px #000 inset;
-
h2.noline{
+
    -webkit-box-shadow:0px 0px 2px #000 inset;
-
     border-top:0;
+
    box-shadow:0px 0px 2px #000 inset;
-
     margin-top:0;
+
    color: #9CF;
-
     padding-top:0;
+
}
-
     margin-bottom:0;
+
ul.sdt_menu li a img{
-
     line-height:20px;
+
    border:none;
-
     padding-top:2px;
+
    position:absolute;
 +
    width:0px;
 +
    height:0px;
 +
    bottom:0px;
 +
    left:85px;
 +
    z-index:170;
 +
    -moz-box-shadow:0px 0px 4px #000;
 +
    -webkit-box-shadow:0px 0px 4px #000;
 +
    box-shadow:0px 0px 4px #000;
 +
    z-index:16;
 +
}
 +
ul.sdt_menu li span.sdt_wrap{
 +
    position:absolute;
 +
    top:25px;
 +
    left:0px;
 +
    width:142px;
 +
    height:60px;
 +
    z-index:15;
 +
}
 +
ul.sdt_menu li span.sdt_active{
 +
     position:absolute;
 +
    background:#111;
 +
    top:85px;
 +
     width:142px;
 +
    height:0px;
 +
    left:0px;
 +
    z-index:14;
 +
     -moz-box-shadow:0px 0px 4px #000 inset;
 +
    -webkit-box-shadow:0px 0px 4px #000 inset;
 +
    box-shadow:0px 0px 4px #000 inset;
 +
}
 +
ul.sdt_menu li span span.sdt_link,
 +
ul.sdt_menu li span span.sdt_descr,
 +
ul.sdt_menu li div.sdt_box a{
 +
    text-indent:-3pt;
 +
     margin-left:18px;
 +
     //text-transform:uppercase;
 +
     text-shadow:1px 1px 1px #333;
 +
}
 +
 
 +
ul.sdt_menu li span span.sdt_link{
 +
    color:#fff;
     font-size:20px;
     font-size:20px;
 +
    float:left;
 +
    clear:both;
 +
}
 +
ul.sdt_menu li span span.sdt_descr{
 +
    color:#1C5F1C;
 +
    float:left;
 +
    clear:both;
 +
    width:142px; /*For dumbass IE7*/
 +
    font-size:10px;
 +
    letter-spacing:1px;
 +
}
 +
ul.sdt_menu li div.sdt_box{
 +
    display:block;
 +
    position:absolute;
 +
    width:142px;
 +
    overflow: auto;
 +
    top:85px;
 +
    left:0px;
 +
    display:none;
 +
    background:#333;
 +
    z-index: 8;
 +
    padding-top: 15px;
 +
}
 +
ul.sdt_menu li div.sdt_box a{
 +
    float:left;
 +
    clear:both;
 +
    line-height:30px;
 +
    color:#9CF;
}
}
 +
ul.sdt_menu li div.sdt_box d {
 +
    float:left;
 +
    clear:both;
 +
    line-height:0px;
 +
    border-bottom: 1px solid #000;
 +
    color: transparent;
 +
}
 +
 +
ul.sdt_menu li div.sdt_box a:hover{
 +
    color:#fff;
 +
}
 +
/* End of menu stuff */

Revision as of 05:18, 29 September 2012

/*--STANFORD-BROWN iGEM 2012--*/


h1, h2, h3, h4, h5 {

   font-family:"Ubuntu", sans-serif;
   line-height:25px;
   border-bottom:1px dotted #3e3e3e;
   margin-bottom:5px;
   margin-top:10px;
   padding:10px;
   font-weight:normal;

} h1 { background: #222; } h2 { background: #444; } h3 { background: #666; font-size: 18px; border-bottom: none; } h4 { background: #888; border-bottom: none; } h5 { background: #AAA; } h1, h1 a { color: #CCC !important; } h2, h2 a { color: #AAA !important; } h3, h3 a { font-weight: bold; color: #888 !important; } h4, h4 a { color: #666 !important; } h5, h5 a { color: #444 !important; } h2.topheader{ border-top:0; padding-top:0; margin-top:5px; } h2.noline{

   border-top:0; margin-top:0; padding-top:0; margin-bottom:0; 
   line-height:20px; padding-top:2px; font-size:20px; }
  1. subHeaderList {
   margin: auto;
   padding: 0 0 20px 10px;
   width: 850px;

}

  1. subHeaderList ul, #subHeaderList li {
   margin: 0;
   padding: 0;
   display: inline;
   list-style-type: none;

}

  1. subHeaderList a:link, #subHeaderList a:visited {
   float: left;
   line-height: 14px;
   font-weight: bold;
   margin: 0 10px 4px 10px;
   text-decoration: none;
   color: #CCC;

}

  1. subHeaderList a:link#current, #subHeaderList a:visited#current, #subHeaderList a:hover {
   border-bottom: 4px solid #333;
   padding-bottom: 2px;
   background: transparent;
   color: #999;

}

  1. subHeaderList a:hover { color: #999; }


/* Menu */ ul.sdt_menu{

   margin:0;
   padding:0;
   list-style: none;
   font-family:"Ubuntu", "Trebuchet MS", sans-serif;
   font-size:18px;
   width:852px;

} ul.sdt_menu a{

   text-decoration:none;
   outline:none;

} ul.sdt_menu li{

   float:left;
   width:142px;
   height:85px;
   position:relative;
   cursor:pointer;

} ul.sdt_menu li > a{

   position:absolute;
   top:0px;
   left:0px;
   width:142px;
   height:85px;
   z-index:12;
   background:#222;
   -moz-box-shadow:0px 0px 2px #000 inset;
   -webkit-box-shadow:0px 0px 2px #000 inset;
   box-shadow:0px 0px 2px #000 inset;
   color: #9CF;

} ul.sdt_menu li a img{

   border:none;
   position:absolute;
   width:0px;
   height:0px;
   bottom:0px;
   left:85px;
   z-index:170;
   -moz-box-shadow:0px 0px 4px #000;
   -webkit-box-shadow:0px 0px 4px #000;
   box-shadow:0px 0px 4px #000;
   z-index:16;

} ul.sdt_menu li span.sdt_wrap{

   position:absolute;
   top:25px;
   left:0px;
   width:142px;
   height:60px;
   z-index:15;

} ul.sdt_menu li span.sdt_active{

   position:absolute;
   background:#111;
   top:85px;
   width:142px;
   height:0px;
   left:0px;
   z-index:14;
   -moz-box-shadow:0px 0px 4px #000 inset;
   -webkit-box-shadow:0px 0px 4px #000 inset;
   box-shadow:0px 0px 4px #000 inset;

} ul.sdt_menu li span span.sdt_link, ul.sdt_menu li span span.sdt_descr, ul.sdt_menu li div.sdt_box a{

   text-indent:-3pt;
   margin-left:18px;
   //text-transform:uppercase;
   text-shadow:1px 1px 1px #333;

}

ul.sdt_menu li span span.sdt_link{

   color:#fff;
   font-size:20px;
   float:left;
   clear:both;

} ul.sdt_menu li span span.sdt_descr{

   color:#1C5F1C;
   float:left;
   clear:both;
   width:142px; /*For dumbass IE7*/
   font-size:10px;
   letter-spacing:1px;

} ul.sdt_menu li div.sdt_box{

   display:block;
   position:absolute;
   width:142px;
   overflow: auto;
   top:85px;
   left:0px;
   display:none;
   background:#333;
   z-index: 8;
   padding-top: 15px;

} ul.sdt_menu li div.sdt_box a{

   float:left;
   clear:both;
   line-height:30px;
   color:#9CF;

}

ul.sdt_menu li div.sdt_box d {

   float:left;
   clear:both;
   line-height:0px;
   border-bottom: 1px solid #000;
   color: transparent;

}

ul.sdt_menu li div.sdt_box a:hover{

   color:#fff;

}

/* End of menu stuff */



  1. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo {
   display:none;}
  1. content {
   position: relative;
   width:  975px;
   margin: 0 auto;
   padding: 0px 10px 10px 10px;;
   background-color: #fff;
   border-radius: 0px 0px 5px 5px;
   box-shadow: 0px 2px 6px 2px #222;
   border-left: 0px;
   border-right: 0px;
   color: black;
   z-index: 2;

}

  1. footer-box {

border: 0px; width: 965px; }


  1. top-section {
   position: relative;
   height: 20px;
   width: 975px;
   margin-left: 0px;

margin: 0 auto 0 auto;

   border-left: 0px;
   border-right: 0px;
   border-bottom: 0px;

}


  1. menubar {
   width: auto;}


 #container {
   margin-top: 15px;
   margin-left: auto;
   margin-right: auto;
   width: 975px;
 }

body#space {

   background-color: #DBEFFF;
   background-image: url('https://static.igem.org/mediawiki/2012/4/4f/Space.jpg');
   background-attachment: fixed;
 }
 #globalwrapper {
   margin-top: none;
   margin-left: none;
   margin-right: auto;
 }
 #nav {
   z-index: 500;
   font-family: 'Ubuntu Condensed', sans-serif;
   font-size: 17px;
   font-weight: 300;
   color: white;
 	margin: 0 0 0 0;
 	width: 1025px;
 	float: left;
 	margin-left: -25px;
 	list-style: none;
 	background-color: #A32C2C;
/* 	box-shadow: 1px 0px 4px 1px #222;   */
 	border-radius: 0px 1px 1px 0px;

z-index: 5;

 }
 #nav li {
 	float: left; 

margin-right:10px; position:relative;

 }
 #nav a {
 	display: block;
 	padding: 5px 15px;
 	text-decoration: none;
   color: white;
 	border-style: none 
 }
 #nav a:hover {
 	color: #008ACF;
 }


 #border-top {
   background-color: #6c6c6c;
   height: 6px;
   width: 995px;
   margin-left: -10px;
   margin-right: -10px;
   border-radius: 0px 1px 0px 0px;
 }
 #border-bottom {
   background-color: #6c6c6c;
   height: 5px;
   width: 995px;
   margin-left: 0px;
   padding-top: 36px;
 	border-radius: 0px 1px 0px 0px;
 }
 #top-panel {
   background-color: #fff;
   height: 235px;
   margin-left: -10px;
   margin-top:-20px;
   margin-right: -10px;
   border-radius: 5px 5px 0px 0px;
   box-shadow: 0px -2px 6px 2px #222;
   background-image: url('https://static.igem.org/mediawiki/2012/5/52/Planets.png');
 }
 #bottom-panel {
   background-color: #fff;
   width: 995px;
   height: 390px;
   margin-left: -10px;
   margin-right: 20px;
   margin-top: 0px;
   border-radius: 0px 0px 5px 5px;
   box-shadow: 0px 2px 6px 2px #222;
 }
 #sa {
   line-height: 100%;
   font-family:"Ubuntu", sans-serif;
   font-size: 36px;
   font-weight: 300;
   color: #008ACF;
   padding-top: 55px;
   letter-spacing: 1.3px;
   text-align: right;   
 }
 #trans {
   text-align: right;
   color: #555;
   font-weight: 100;
   letter-spacing: 1.3px;
 }
 #abs-title {
   font-weight: 400;
   font-size: 30px;
   font-family: "Helvetica Neue";
   float: left;
   margin-left: 40px;
   color: #6c6c6c;
   margin-top: 30px;
 }
 #abs-text {
   margin-top: 20px;
   font-weight: 300;
   text-align: left;
   font-family: "Helvetica Neue";
   color: #333;
   font-size: 13px;
   line-height: 180%;
   margin-left: 40px;
 }
 .accomps {
   font-family: "Helvetica Neue";
   margin-top: -20px;
   margin-left: 35px;
   margin-bottom: 20px;
   background: #fff;
 	width: 290px;
   border-radius: 5px;
   border:1px solid #aaa;
   box-shadow: 0px 1px 2px 1px #ccc;
   color: #008ACF;
   font-size: 18px;
 }
 .accomps ul {
   color: #555;
   font-weight: 500;
   font-size: 12px;
   list-style-type: none;
   padding-top: -2px;
   padding-left: 15px;
   padding-right: 15px;
 }
 .accomps ul li {
   padding-bottom: 8px;
 }
 #proj-panel {
   background-color: #fff;
   height: 400px;
   width: 995px;
   margin-left: -10px;
   margin-right: 20px;
   margin-top: 15px;
   margin-bottom: 15px;
   border-radius: 5px 5px 5px 5px;
   box-shadow: 0px 2px 6px 2px #222;
 }
 .feature {
   font-family: "Helvetica Neue";
   margin-top: 20px;
   margin-left: 16px;
   background: #fff;
 	width: 285px;
 	height: 300px;
   border-style: none;
   color: #008ACF;
   font-size: 18px;
 }  
 .brief {
   margin-top: 10px;
   font-weight: 300;
   text-align: left;
   font-family: "Helvetica Neue";
   color: #333;
   font-size: 13px;
   line-height: 180%;
   margin-right: 10px;
 }

table { margin-left: 5px; }