Team:Groningen/CSS2

From 2013.igem.org

(Difference between revisions)
 
(49 intermediate revisions not shown)
Line 1: Line 1:
#container {
#container {
-
     min-width: 1190px;  
+
     min-width: 1340px;  
-
     max-width: 1190px;
+
     max-width: 1340px;
     margin: 0 auto;
     margin: 0 auto;
-
     background-color: white;
+
     background-color: #fff;
          
          
}
}
Line 9: Line 9:
#primary {
#primary {
     float: left;
     float: left;
-
     min-width: 200px;
+
     min-width: 250px;
-
     max-width: 200px;
+
     max-width: 250px;
 +
    margin-top: 20px;
     margin-left: 10px;
     margin-left: 10px;
      
      
Line 19: Line 20:
     min-width: 700px;
     min-width: 700px;
     max-width: 700px;
     max-width: 700px;
 +
    margin-top: 20px;
     margin-right: 10px;
     margin-right: 10px;
-
     margin-left: 220px;
+
     margin-left: 10px;
-
   
+
       
}
}
#secondary {
#secondary {
     float: left;
     float: left;
-
     min-width: 250px;
+
     min-width: 350px;
-
     max-width: 250px;
+
     max-width: 350px;
 +
    margin-top: 20px;
     margin-right: 10px;
     margin-right: 10px;
-
       
+
}  
-
}
+
 
#footer {
#footer {
Line 44: Line 47:
#menubar{
#menubar{
display: block;
display: block;
-
background-color: #444444;
+
background-color: transparent;
}
}
#top-section {
#top-section {
Line 51: Line 54:
     width: 1190px;
     width: 1190px;
     background-color: transparent;     
     background-color: transparent;     
-
#  margin-left: 1px;  
+
#  margin-left: 0px;  
margin: 0 auto 0 auto;
margin: 0 auto 0 auto;
-
     border-left: 1px solid #444444;
+
     border-left: 0px solid transparent;
-
     border-right: 1px solid #444444;
+
     border-right: 0px solid transparent;
-
     border-bottom: 1px solid #444444;
+
     border-bottom: 0px solid transparent;  
}
}
Line 62: Line 65:
     position: absolute;
     position: absolute;
     width: 99%;
     width: 99%;
-
#    margin-left: 1px;  
+
#    margin-left: 0px;  
margin: 0 auto;
margin: 0 auto;
     padding: 5px 5px 5px 5px;
     padding: 5px 5px 5px 5px;
-
     background-color: #444444;
+
     background-color: transparent;
     color: black;
     color: black;
-
     border-left: 1px solid #444444;
+
     border-left: 0px solid transparent;
-
     border-right: 1px solid #444444;
+
     border-right: 0px solid transparent;
     line-height: 1.5em;
     line-height: 1.5em;
-
     z-index: 2;
+
     z-index: 2;  
}
}

Latest revision as of 11:28, 19 July 2013

  1. container {
   min-width: 1340px; 
   max-width: 1340px;
   margin: 0 auto;
   background-color: #fff;
       

}

  1. primary {
   float: left;
   min-width: 250px;
   max-width: 250px;
   margin-top: 20px;
   margin-left: 10px;
   

}

  1. maincontent {
   float: left;
   min-width: 700px;
   max-width: 700px;
   margin-top: 20px;
   margin-right: 10px;
   margin-left: 10px;
       

}

  1. secondary {
   float: left;
   min-width: 350px;
   max-width: 350px;
   margin-top: 20px;
   margin-right: 10px;

}


  1. footer {
   clear: both;
   

}


/*Suppress iGEM defaults from iGEM 2012 Groningen */ a[title="Main Page"]{display: none;} .firstHeading{display: none;} .noprint{display: none;}

  1. menubar{

display: block; background-color: transparent; }

  1. top-section {
   position: relative;
   height: 15px;
   width: 1190px;
   background-color: transparent;     
  1. margin-left: 0px;

margin: 0 auto 0 auto;

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

}


  1. content {
   position: absolute;
   width: 99%;
  1. margin-left: 0px;

margin: 0 auto;

   padding: 5px 5px 5px 5px;
   background-color: transparent;
   color: black;
   border-left: 0px solid transparent;
   border-right: 0px solid transparent;
   line-height: 1.5em;
   z-index: 2; 

}


  1. search-controls{display: none;}
  2. contentSub{display: none;}
  3. catlinks{display: none;}
  4. footer-box{display: none;}
  5. p-logo{display: block;}

<script type="text/javascript">

   $(document).ready(function() {
       $("p").filter( function() {
           return $.trim($(this).html()) == ;
       }).remove()
   });

</script>