Team:Groningen/CSS2

From 2013.igem.org

(Difference between revisions)
 
(411 intermediate revisions not shown)
Line 1: Line 1:
-
#container
+
#container {
-
{
+
    min-width: 1340px;  
-
margin: 0 auto;
+
    max-width: 1340px;
-
width: 1000px;
+
    margin: 0 auto;
-
background: #fff;
+
    background-color: #fff;
 +
       
}
}
-
#header
+
#primary {
-
{
+
    float: left;
-
background: #ccc;
+
    min-width: 250px;
-
padding: 20px;
+
    max-width: 250px;
 +
    margin-top: 20px;
 +
    margin-left: 10px;
 +
   
}
}
-
#header h1 { margin: 0; }
+
#maincontent {
-
 
+
    float: left;
-
#navigation
+
    min-width: 700px;
-
{
+
    max-width: 700px;
-
float: left;
+
    margin-top: 20px;
-
width: 1000px;
+
    margin-right: 10px;
-
background: #333;
+
    margin-left: 10px;
 +
       
}
}
-
#navigation ul
+
#secondary {
-
{
+
    float: left;
-
margin: 0;
+
    min-width: 350px;
-
padding: 0;
+
    max-width: 350px;
-
}
+
    margin-top: 20px;
 +
    margin-right: 10px;
 +
}  
-
#navigation ul li
 
-
{
 
-
list-style-type: none;
 
-
display: inline;
 
-
}
 
-
#navigation li a
+
#footer {
-
{
+
    clear: both;
-
display: block;
+
   
-
float: left;
+
-
padding: 5px 10px;
+
-
color: #fff;
+
-
text-decoration: none;
+
-
border-right: 1px solid #fff;
+
}
}
-
#navigation li a:hover { background: #383; }
 
-
#content-container
+
/*Suppress iGEM defaults from iGEM 2012 Groningen */
-
{
+
a[title="Main Page"]{display: none;}
-
float: left;
+
.firstHeading{display: none;}
-
width: 1000px;
+
.noprint{display: none;}
-
background: #fff url(/wp-content/uploads/layout-three-fixed-background.gif) repeat-y 100% 0;
+
#menubar{
 +
display: block;
 +
background-color: transparent;
}
}
-
 
+
#top-section {
-
#section-navigation
+
    position: relative;
-
{
+
    height: 15px;
-
float: left;
+
    width: 1190px;
-
width: 250px;
+
    background-color: transparent;   
-
padding: 20px 0;
+
#  margin-left: 0px;  
-
margin: 0 20px;
+
margin: 0 auto 0 auto;
-
display: inline;
+
    border-left: 0px solid transparent;
 +
    border-right: 0px solid transparent;
 +
    border-bottom: 0px solid transparent;  
}
}
-
#section-navigation ul
 
-
{
 
-
margin: 0;
 
-
padding: 0;
 
-
}
 
-
#section-navigation ul li
+
#content {
-
{
+
    position: absolute;
-
margin: 0 0 1em;
+
    width: 99%;
-
padding: 0;
+
#    margin-left: 0px;
-
list-style-type: none;
+
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;  
}
}
-
#content
 
-
{
 
-
float: left;
 
-
width: 500px;
 
-
padding: 20px 0;
 
-
margin: 0 0 0 30px;
 
-
}
 
-
#content h2 { margin: 0; }
+
#search-controls{display: none;}
 +
#contentSub{display: none;}
 +
#catlinks{display: none;}
 +
#footer-box{display: none;}
 +
#p-logo{display: block;}
-
#aside
+
<!-- Remove all empty <p> tags -->
-
{
+
<script type="text/javascript">
-
float: right;
+
    $(document).ready(function() {
-
width: 200px;
+
        $("p").filter( function() {
-
padding: 20px 0;
+
            return $.trim($(this).html()) == '';
-
margin: 0 20px 0 0;
+
        }).remove()
-
display: inline;
+
    });
-
}
+
</script>
-
 
+
-
#aside h3 { margin: 0; }
+
-
 
+
-
#footer
+
-
{
+
-
clear: left;
+
-
background: #ccc;
+
-
text-align: right;
+
-
padding: 20px;
+
-
height: 1%;
+
-
}
+

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>