Team:Brown-Stanford/css

From 2011.igem.org

(Difference between revisions)
Line 351: Line 351:
}
}
-
/*
+
/* reset */
-
                                __      _ _                  _ 
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-
                              / _|    | (_)                | | 
+
a, abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp,
-
_ __ ___  __ _ _ __ ___ ___ | |_ ___ | |_  ___  _ __  ___| |_
+
sub, sup, tt, var, dd, dl, dt, li, ol, ul, form, fieldset, input, textarea, label,
-
| '_ ` _ \ / _` | '__/ __/ _ \|  _/ _ \| | |/ _ \ | '_ \ / _ \ __|
+
table, legend, caption, tbody, tfoot, thead, tr, th, td {
-
| | | | | | (_| | | | (_| (_) | || (_) | | | (_) || | | |  __/ |_
+
margin: 0;
-
|_| |_| |_|\__,_|_|  \___\___/|_| \___/|_|_|\___(_)_| |_|\___|\__|
+
padding: 0;
-
                                                                 
+
font-family: inherit;
-
*/
+
font-weight: inherit;
 +
font-style: inherit;
 +
font-size: 100%;
 +
text-align: left;
 +
}
-
/* BASIC RESET */
+
body {
-
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input{margin:0; padding:0;}
+
margin: 2em;
 +
font-size: 100%;
 +
line-height: 1.125em;
 +
color: #333;
 +
background-color: #fff;
 +
}
-
/* TWEETS */
+
h1, h2 {
-
#tweets { position: absolute; left: 186px; top: 305px; width: 376px; height:350px; overflow:auto; }
+
font-family: "Frutiger", "Frutiger Linotype", "Univers", "Calibri", "Gill Sans", "Gill Sans MT", "Myriad Pro", "Myriad", "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", "Tahoma", "Geneva", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
-
#tweets p { font-size: 14px; margin-bottom: 10px; padding: 10px; color: #7a8a99; background: url("https://static.igem.org/mediawiki/2011/5/5d/Brown-Stanford_twitterBack.png"); }
+
font-weight: normal;
-
#tweets p a { padding-left:2px; }
+
line-height: 1em;
-
#tweets p a img { border:none; }
+
}
-
/* OVERLAY */
+
h1 {
-
#overlay { position: absolute; left: 168px; top: 287px; width: 408px; height:386px; background: url("https://static.igem.org/mediawiki/2011/3/3e/Brown-Stanford_twitterFront.png"); }
+
margin: 0 0 0.3em 0;
-
#overlay img { position:relative; left:200px; top:189px; }
+
font-size: 2em;
 +
}
 +
 
 +
h2 {
 +
margin: 0 0 1em 0;
 +
font-size: 0.9em;
 +
color: #666;
 +
}
 +
 
 +
p, ul, input, button {
 +
font-family: "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", "Verdana", "Verdana Ref", sans-serif;
 +
}
 +
 
 +
p {
 +
margin: 0 0 1.3em 0;
 +
font-size: 0.7em;
 +
line-height: 1.5em;
 +
}
 +
 
 +
ul {
 +
list-style-type: none;
 +
}
 +
 
 +
li {
 +
font-size: 0.7em;
 +
line-height: 1.3em;
 +
}
 +
 
 +
img, a img {
 +
border: 0;
 +
}

Revision as of 01:20, 8 June 2011

body {

   text-align: center;
   margin:0 auto;
   background: black;
   font-family:"Ubuntu", sans-serif;

} h2{

   color: white;

} h1, h2, h3, h4, h5{

   color: white;
   font-family:"Ubuntu", sans-serif;
   line-height:35px;
   border-bottom:1px dotted #e3e3e3;
   margin-bottom:5px;
   border-top:0px;
   margin-top:10px;
   padding-top:30px;
   font-weight:normal;

} h2.noline{

   border-top:0;
   margin-top:0;
   padding-top:0;
   margin-bottom:0;
   line-height:20px;
   padding-top:2px;
   font-size:20px;

} h2.topheader{

   border-top:0;
   padding-top:0;
   margin-top:5px;

}


/* Menu */ ul.sdt_menu{

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

} ul.sdt_menu a{

   text-decoration:none;
   outline:none;

} ul.sdt_menu li{

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

} ul.sdt_menu li > a{

   position:absolute;
   top:0px;
   left:0px;
   width:170px;
   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;

} ul.sdt_menu li a img{

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

} ul.sdt_menu li span.sdt_wrap{

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

} ul.sdt_menu li span.sdt_active{

   position:absolute;
   background:#111;
   top:85px;
   width:170px;
   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{

   margin-left:15px;
   //text-transform:uppercase;
   text-shadow:1px 1px 1px #333;

}

ul.sdt_menu li span span.sdt_link{

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

} ul.sdt_menu li span span.sdt_descr{

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

} ul.sdt_menu li div.sdt_box{

   display:block;
   position:absolute;
   width:170px;
   overflow:hidden;
   height:170px;
   top:85px;
   left:0px;
   display:none;
   background:#333;

} ul.sdt_menu li div.sdt_box a{

   float:left;
   clear:both;
   line-height:30px;
   color:#0B75AF;

} ul.sdt_menu li div.sdt_box a:first-child{

   margin-top:15px;

} ul.sdt_menu li div.sdt_box a:hover{

   color:#fff;

}

/* End of menu stuff */

/* Lightbox */

div.thumb {

   border:none;

} div.thumb div{

   background-color:transparent;
   border:none;

}

div.thumb div a{

   border:none;

}

/* End lightbox */

  1. wrap {
   position:relative;
   top:-15px;
   width:965px;

}

  1. header {
   text-align: left;

}

.secheader{

   height:50px;
   color:white;
   padding-left:10px;
   padding-top:15px;
   font-size:2.0em;
   text-align:left;
   overflow:auto;
   background:white;

}

.contwrap{

   text-align:justify;
   background:#f8f8f8;
   color:#333333;
   width:720px;
   padding-left:10px;
   padding-top:5px;
   padding-right:10px;
   padding-bottom:20px;
   margin-top:5px;
   margin-bottom:none;

}

h2 {

   margin:0 0 1em;

}

  1. camfooter {
   clear:both;
   height:0px;
   background:white;

}

  1. camfooter p {
   margin:0;

}

  • html #camfooter {
   height:1px;

} h1.firstHeading {

   display: none;

}

/* Wiki Hacks - START */ /* Author: Pieter van Boheemen */ /* Team: TU Delft */ /* Thanks guys - Bill Collins */

  1. globalWrapper {
   background-color: transparent;
   padding-bottom:0px;
   border: none;
   color: white;

}

  1. content {
   background-color: black;

border:none;

   padding-bottom:none;
   margin-bottom:none;
   color: white;

}

  1. bodyContent {
   border: none;

}

  1. top-section {
   height: 14px;
   margin-top: -14px;
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 0 !important;
   margin-bottom: 10px;
   padding:0;
   border: none;

}

  1. p-logo {
   height:1px;
   overflow:hidden;
   border:none;

}

  1. search-controls {
   overflow:hidden;
   display:none;
   background: none;
   position: absolute;
   top: 100px;
   right: 40px;

} .left-menu {

   width: 400px;
   display:block;
   float:left;
   margin-top:-62px;
   margin-right:30px;
   border: none; 
   left:20px;

}

.left-menu ul {

   border: none;

}

  1. menubar.right-menu {
   width:300px;
   display:block;
   float:left;
   margin-top:-62px;
   padding-left:50px;
   border: none;
   right:50px;

} .right-menu ul {

   border: none;

}

  1. menubar li a{
   color:#73a631;

}

  1. menubar li a:hover {
   color:#73a631;
   text-decoration:underline;

}

  1. menubar li.selected a {
   color:#555555;

}

  1. footer-box {
   background-color: white;
   border: none;
   width: 965px;
   margin: 0 auto;
   margin-bottom:none;
   padding-left:5px;
   padding-right:5px;

}

  1. footer {
   border: none;
   width: 965px;
   margin: 0;
   padding: 0;
   background-color:white;

} .firstHeading {

   display: none;

}

  1. f-list a {
   color: #333;
   font-size: 10px;

}

  1. f-list a:hover {
   color: #666;

}

  1. footer ul {
   margin: 0;
   padding: 0;

}

  1. footer ul li {
   margin-top: 0;
   margin-bottom: 0;
   margin-left: 10px;
   margin-right: 10px;
   padding: 0;

}

/* Wiki Hacks - END */

div.content {

   background-color: black;
   text-align: left;
   padding: 10px 10px 10px 10px;
   color: white

}

/* reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp, sub, sup, tt, var, dd, dl, dt, li, ol, ul, form, fieldset, input, textarea, label, table, legend, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; font-family: inherit; font-weight: inherit; font-style: inherit; font-size: 100%; text-align: left; }

body { margin: 2em; font-size: 100%; line-height: 1.125em; color: #333; background-color: #fff; }

h1, h2 { font-family: "Frutiger", "Frutiger Linotype", "Univers", "Calibri", "Gill Sans", "Gill Sans MT", "Myriad Pro", "Myriad", "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", "Tahoma", "Geneva", "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-weight: normal; line-height: 1em; }

h1 { margin: 0 0 0.3em 0; font-size: 2em; }

h2 { margin: 0 0 1em 0; font-size: 0.9em; color: #666; }

p, ul, input, button { font-family: "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", "Verdana", "Verdana Ref", sans-serif; }

p { margin: 0 0 1.3em 0; font-size: 0.7em; line-height: 1.5em; }

ul { list-style-type: none; }

li { font-size: 0.7em; line-height: 1.3em; }

img, a img { border: 0; }