Team:UCLA/Template/css

From 2013.igem.org

(Difference between revisions)
Line 6: Line 6:
/* Full page formatting */
/* Full page formatting */
-
body#bg { background-image: url("http://bglabs.evade.netdna-cdn.com/files/subtle-stripes-pattern-2273.png"); background-attachment: fixed; background-repeat: repeat;
+
body#bg { background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/82/SEM_blood_cells.jpg")  no-repeat center center fixed;  
-
  background-size: cover;  
+
   -webkit-background-size: cover;
   -webkit-background-size: cover;
   -moz-background-size: cover;
   -moz-background-size: cover;
   -o-background-size: cover;
   -o-background-size: cover;
 +
  background-size: cover;;
  }
  }
#top-section { position: relative; height: 20px; width: 975px; }
#top-section { position: relative; height: 20px; width: 975px; }

Revision as of 06:48, 13 September 2013

html, body{

 background-color:grey;
 font-size: 18px; font-family: "Trebuchet MS", sans-serif;

}


/* Full page formatting */ body#bg { background-image: url("SEM_blood_cells.jpg") no-repeat center center fixed;

 -webkit-background-size: cover;
 -moz-background-size: cover;
 -o-background-size: cover;
 background-size: cover;; 
}
  1. top-section { position: relative; height: 20px; width: 975px; }
  2. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
  3. container { margin: 15px 0px auto auto; width: 975px; }


  1. top-panel { margin: -20px -10px auto -10px; border-radius: 5px 5px 0px 0px; box-shadow: 0px -2px 6px 2px #222; }


  1. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo{
 display:none; 

}

  1. container{
 margin: 15px 0px auto auto; 
 width: 975px; 

}

  1. globalwrapper{
 margin: 0px 0px auto auto; 

}

p{

 margin: 5px;
 font-family: Verdana;

}

h4{

 margin: 5px;

}