Team:UCLA/Template/css

From 2013.igem.org

(Difference between revisions)
 
(129 intermediate revisions not shown)
Line 1: Line 1:
-
body{
+
html{
-
background-image: url("https://static.igem.org/mediawiki/2013/c/ce/Ucla_bg1.png");
+
  font-size: 18px; font-family: "Trebuchet MS", sans-serif;
-
        width: 100%
+
-
        height: 100%
+
-
        webkit-background-size: cover;
+
-
        moz-background-size: cover;
+
-
        o-background-size: cover;
+
-
        background-size: cover;
+
}
}
-
#infb1 {
+
h1, h2, h3, h4, h5{
-
font-family: 'Raleway', sans-serif;
+
font-family:Verdana;  
-
position: relative;
+
-
height: 600px;
+
-
width: 800px;
+
-
margin: 18px auto 0;
+
-
}
+
-
#fbsection1 {
+
-
background-image: url("https://static.igem.org/mediawiki/2013/c/ce/Ucla_bg1.png");
+
-
        width: 100%
+
-
        height: 100%
+
-
        webkit-background-size: cover;
+
-
        moz-background-size: cover;
+
-
        o-background-size: cover;
+
-
        background-size: cover;
+
-
}
+
-
#fbsection2 {
+
-
background-image: url(../images/bg2.png);
+
}
}
-
#fbsection3 {
+
li{
-
background-image: url(../images/3.jpg);
+
font-family:Verdana;
}
}
-
#fbsection4 {
+
/* Full page formatting */
-
background-image: url(../images/4.jpg);
+
body#bg { background-image: url("http://upload.wikimedia.org/wikipedia/commons/8/82/SEM_blood_cells.jpg");  
-
}
+
  background-attachment: fixed;
 +
  background-repeat: repeat;
-
#fbsection5 {
+
}
-
background-image: url(../images/5.jpg);
+
#top-section { position: relative; height: 20px; width: 970px; }
-
}
+
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
 +
#container { margin: 15px 0px auto auto; width: 975px; }
-
/* Headers */
+
#top-panel { height: 200px; background-color: yellow;  background-image: url("https://static.igem.org/mediawiki/2013/4/4b/Ucla_header.png");}
-
h1, h2, h3, h4, h5 {font-family:Verdana}
+
#top-panel { border-radius: -20px 0px 0px 0px; box-shadow: 0px -2px 6px 2px #222; margin: -20px 5px 0px -5px}
-
/* Full page formats */
 
-
 
-
 
-
 
-
#top-section{
 
-
  position: relative;
 
-
  height: 150px;
 
-
  width: 975px;
 
-
}
 
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo{
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo{
Line 68: Line 39:
p{
p{
 +
 
   margin: 5px;
   margin: 5px;
   font-family: Verdana;
   font-family: Verdana;
Line 75: Line 47:
   margin: 5px;
   margin: 5px;
}
}
 +
 +
 +
#nav { font-family: "Bubbler One", serif; font-size: 17px; color: white;}
 +
#nav { background-color: #0070B0; width: 1000px; list-style: none; }
 +
#nav { float: left; margin: 0px 0px auto -17px; z-index: 5; }
 +
#nav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
 +
#nav a { display: block; padding: 5px 15px; text-decoration: none; color: white; border-style: none; }
 +
#nav a:hover { color: #D6D615; }
 +
 +
#nav ul{ background-color: #0070B0; }
 +
#nav ul li: hover ul.noJS{ display: block; }
 +
 +
#subnav { font-family: "Raleway", serif; font-size: 12px; color: black;}
 +
#subnav { background-color: #FFD700; width: 980px; list-style: none; }
 +
#subnav { float: left; margin: 0px 0px auto -7px; z-index: 5; }
 +
#subnav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
 +
#subnav a { display: block; padding: 5px 15px; text-decoration: none; color: black; border-style: none; }
 +
#subnav a:hover { color: #536895; }
 +
#subnav { border-radius:4px; }
 +
#current { font-weight:900;}
 +
 +
#feature { background-color: #fff; height: auto; width: 980px; }
 +
#feature { border-radius: 5px 5px 5px 5px; box-shadow: 0px 2px 6px 2px #222; margin-right: 50px; }
 +
 +
 +
 +
#bottom-panel{position: relative; height:200px; }
 +
 +
#reference{font-family:Verdana; font-size:10px; }

Latest revision as of 02:46, 29 April 2014

html{

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

}

h1, h2, h3, h4, h5{ font-family:Verdana; }

li{ font-family:Verdana; }

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

 background-attachment: fixed; 
 background-repeat: repeat;
}
  1. top-section { position: relative; height: 20px; width: 970px; }
  2. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
  3. container { margin: 15px 0px auto auto; width: 975px; }
  1. top-panel { height: 200px; background-color: yellow; background-image: url("Ucla_header.png");}
  2. top-panel { border-radius: -20px 0px 0px 0px; box-shadow: 0px -2px 6px 2px #222; margin: -20px 5px 0px -5px}


  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;

}


  1. nav { font-family: "Bubbler One", serif; font-size: 17px; color: white;}
  2. nav { background-color: #0070B0; width: 1000px; list-style: none; }
  3. nav { float: left; margin: 0px 0px auto -17px; z-index: 5; }
  4. nav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
  5. nav a { display: block; padding: 5px 15px; text-decoration: none; color: white; border-style: none; }
  6. nav a:hover { color: #D6D615; }
  1. nav ul{ background-color: #0070B0; }
  2. nav ul li: hover ul.noJS{ display: block; }
  1. subnav { font-family: "Raleway", serif; font-size: 12px; color: black;}
  2. subnav { background-color: #FFD700; width: 980px; list-style: none; }
  3. subnav { float: left; margin: 0px 0px auto -7px; z-index: 5; }
  4. subnav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
  5. subnav a { display: block; padding: 5px 15px; text-decoration: none; color: black; border-style: none; }
  6. subnav a:hover { color: #536895; }
  7. subnav { border-radius:4px; }
  8. current { font-weight:900;}
  1. feature { background-color: #fff; height: auto; width: 980px; }
  2. feature { border-radius: 5px 5px 5px 5px; box-shadow: 0px 2px 6px 2px #222; margin-right: 50px; }


  1. bottom-panel{position: relative; height:200px; }
  1. reference{font-family:Verdana; font-size:10px; }