Team:Groningen/CSS2
From 2013.igem.org
(Difference between revisions)
(405 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | #container { | |
+ | min-width: 1340px; | ||
+ | max-width: 1340px; | ||
+ | margin: 0 auto; | ||
+ | background-color: #fff; | ||
+ | |||
+ | } | ||
- | # | + | #primary { |
- | + | float: left; | |
- | + | min-width: 250px; | |
+ | max-width: 250px; | ||
+ | margin-top: 20px; | ||
+ | margin-left: 10px; | ||
+ | |||
} | } | ||
- | # | + | |
- | + | #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: | + | display: block; |
- | background-color:transparent; | + | background-color: transparent; |
} | } | ||
#top-section { | #top-section { | ||
position: relative; | position: relative; | ||
- | height: | + | height: 15px; |
- | width: | + | 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: | + | position: absolute; |
- | width: | + | width: 99%; |
- | # margin-left: | + | # margin-left: 0px; |
margin: 0 auto; | margin: 0 auto; | ||
- | padding: 5px 5px 5px 5px | + | padding: 5px 5px 5px 5px; |
- | background: | + | background-color: transparent; |
color: black; | color: black; | ||
- | border-left: | + | border-left: 0px solid transparent; |
- | border-right: | + | 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 all empty <p> tags --> | <!-- Remove all empty <p> tags --> |
Latest revision as of 11:28, 19 July 2013
- container {
min-width: 1340px; max-width: 1340px; margin: 0 auto; background-color: #fff;
}
- primary {
float: left; min-width: 250px; max-width: 250px; margin-top: 20px; margin-left: 10px;
}
- maincontent {
float: left; min-width: 700px; max-width: 700px; margin-top: 20px; margin-right: 10px; margin-left: 10px;
}
- 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;}
.firstHeading{display: none;}
.noprint{display: none;}
- menubar{
display: block; background-color: transparent; }
- top-section {
position: relative; height: 15px; 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 {
position: absolute; width: 99%;
- 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;
}
- search-controls{display: none;}
- contentSub{display: none;}
- catlinks{display: none;}
- footer-box{display: none;}
- p-logo{display: block;}
<script type="text/javascript">
$(document).ready(function() { $("p").filter( function() { return $.trim($(this).html()) == ; }).remove() });
</script>