Team:Groningen/CSS
From 2013.igem.org
(Difference between revisions)
(29 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | /* | + | /*Splitting into two columns*/ |
- | + | #content-body { | |
- | # | + | margin-right: 10cm; |
- | + | position: relative; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | body | + | |
- | { | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #navbar { | |
- | { | + | float: left; |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
Line 36: | Line 21: | ||
position: relative; | position: relative; | ||
height: 98px; | height: 98px; | ||
- | width: | + | width: 90%; |
# margin-left: 10px; | # margin-left: 10px; | ||
margin: 0 auto 0 auto; | margin: 0 auto 0 auto; | ||
- | border-left: 1px solid # | + | border-left: 1px solid #44444; |
- | border-right: 1px solid # | + | border-right: 1px solid #44444; |
- | border-bottom: 1px solid # | + | border-bottom: 1px solid #44444; |
} | } | ||
#content { | #content { | ||
position: relative; | position: relative; | ||
- | width: | + | width: 90%; |
# margin-left: 10px; | # margin-left: 10px; | ||
margin: 0 auto; | margin: 0 auto; | ||
Line 75: | Line 60: | ||
border-bottom: 1px solid rgb(118,28,17); | border-bottom: 1px solid rgb(118,28,17); | ||
}*/ | }*/ | ||
+ | |||
+ | <!-- 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 19:41, 16 July 2013
/*Splitting into two columns*/
- content-body {
margin-right: 10cm; position: relative;
}
- navbar {
float: left;
}
/*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: 98px; width: 90%;
- margin-left: 10px;
margin: 0 auto 0 auto;
border-left: 1px solid #44444; border-right: 1px solid #44444; border-bottom: 1px solid #44444;
}
- content {
position: relative; width: 90%;
- 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;
}
- search-controls{display: none;}
- contentSub{display: none;}
- catlinks{display: none;}
- footer-box{display: none;}
- 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>