Team:Groningen/CSS/DefaultPage

From 2013.igem.org

(Difference between revisions)
Line 24: Line 24:
#footer {
#footer {
-
   clear: both;
+
   clear:both;
 +
  width:100%;
 +
  border-top:1px solid #000;
}
}

Revision as of 13:42, 17 July 2013

/*Splitting into two columns*/

  1. header {
 clear:both;
 float:left;
 width:100%;

}


  1. page-content {
 margin-right:  10cm;
 background-color: yellow;

}

  1. nav-menu {
 float: left;

}

  1. fb-plugin {
 float: right;
 min-width: 250px;
 max-width: 250px;

}


  1. footer {
 clear:both;
 width:100%;
 border-top:1px solid #000;

}


/*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: 0px;
   width: 100%;
  1. margin-left: 10px;

margin: 0 auto 0 auto;

   border-left: 1px solid #44444;
   border-right: 1px solid #44444;
   border-bottom: 1px solid #44444;

}

  1. content {
   position: relative;
   width:  90%;
  1. margin-left: 10px;

margin: 0 auto;

   padding: 5px 5px 5px 5px;;
   background: white;
   color: black;
   border-left: 1px solid #444444;
   border-right: 1px solid #444444;
   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;}

/* 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); }*/

<script type="text/javascript">

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

</script>