Team:Groningen/CSS2

From 2013.igem.org

(Difference between revisions)
 
(405 intermediate revisions not shown)
Line 1: Line 1:
-
/*Splitting into two columns*/
+
#container {
 +
    min-width: 1340px;
 +
    max-width: 1340px;
 +
    margin: 0 auto;
 +
    background-color: #fff;
 +
       
 +
}
-
#content-body {
+
#primary {
-
  margin-right: 10cm;
+
    float: left;
-
  position: relative;
+
    min-width: 250px;
 +
    max-width: 250px;
 +
    margin-top: 20px;
 +
    margin-left: 10px;
 +
   
}
}
-
#navbar {
+
 
-
  float: left;
+
#maincontent {
 +
    float: left;
 +
    min-width: 700px;
 +
    max-width: 700px;
 +
    margin-top: 20px;
 +
    margin-right: 10px;
 +
    margin-left: 10px;
 +
       
}
}
-
/*Suppress iGEM defaults from iGEM 2012 Groningen*/
+
#secondary {
 +
    float: left;
 +
    min-width: 350px;
 +
    max-width: 350px;
 +
    margin-top: 20px;
 +
    margin-right: 10px;
 +
}
 +
 
 +
 
 +
#footer {
 +
    clear: both;
 +
   
 +
}
 +
 
 +
 
 +
/*Suppress iGEM defaults from iGEM 2012 Groningen */
a[title="Main Page"]{display: none;}
a[title="Main Page"]{display: none;}
.firstHeading{display: none;}
.firstHeading{display: none;}
.noprint{display: none;}
.noprint{display: none;}
-
 
#menubar{
#menubar{
-
display: https://2013.igem.org/Team:Groningen/Templates/slider;
+
display: block;
-
background-color:transparent;
+
background-color: transparent;
}
}
#top-section {
#top-section {
     position: relative;
     position: relative;
-
     height: 98px;
+
     height: 15px;
-
     width: 90%;
+
     width: 1190px;
 +
    background-color: transparent;   
 +
#  margin-left: 0px;
 +
margin: 0 auto 0 auto;
 +
    border-left: 0px solid transparent;
 +
    border-right: 0px solid transparent;
 +
    border-bottom: 0px solid transparent;  
}
}
#content {
#content {
-
     position: relative;
+
     position: absolute;
-
     width: 90%;
+
     width: 99%;
-
#    margin-left: 10px;
+
#    margin-left: 0px;  
margin: 0 auto;
margin: 0 auto;
-
     padding: 5px 5px 5px 5px;;
+
     padding: 5px 5px 5px 5px;
-
     background: white;
+
     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;  
}
}
 +
#search-controls{display: none;}
#search-controls{display: none;}
Line 44: Line 82:
#footer-box{display: none;}
#footer-box{display: none;}
#p-logo{display: block;}
#p-logo{display: block;}
-
/* Remove comments to remove links towards accounts etc */
 
-
/*#top-section {
 
-
display: block;
 
-
position: relative;
 
-
height: 98px;
 
-
width: 975px;
 
-
margin: -20px auto;
 
-
TODO put correct colours here!
 
-
border-left: 1px solid rgb(118,28,17);
 
-
border-right: 1px solid rgb(118,28,17);
 
-
border-bottom: 1px solid rgb(118,28,17);
 
-
}*/
 
<!-- Remove all empty <p> tags -->
<!-- Remove all empty <p> tags -->

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>