Team:Groningen/CSS2
From 2013.igem.org
(Difference between revisions)
(412 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | #container | + | #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;} | |
- | background | + | #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;} | ||
- | + | <!-- Remove all empty <p> tags --> | |
- | { | + | <script type="text/javascript"> |
- | + | $(document).ready(function() { | |
- | + | $("p").filter( function() { | |
- | + | return $.trim($(this).html()) == ''; | |
- | + | }).remove() | |
- | + | }); | |
- | } | + | </script> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
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>