Template:Team:Berkeley/foundation
From 2013.igem.org
(11 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | /******************************************************** | + | /**************************************************************************************** |
- | * Thank you Berkeley iGEM 2012 for snippets of | + | * Thank you Wageningen iGEM 2013 and Berkeley iGEM 2012 for snippets of their CSS code! * |
- | *********************************************************/ | + | ****************************************************************************************/ |
+ | |||
+ | body { | ||
+ | background-color: #f1f1f1; | ||
+ | } | ||
+ | |||
+ | ol, ul, li { | ||
+ | list-style: none; | ||
+ | -webkit-margin-before: 0; | ||
+ | -webkit-margin-after: 0; | ||
+ | -webkit-padding-start: 0; | ||
+ | margin: 0;} | ||
+ | |||
+ | blockquote:before, blockquote:after, | ||
+ | q:before, q:after {content: "";} | ||
+ | |||
+ | blockquote, q {quotes: "" "";} | ||
+ | |||
+ | a {color: #333; text-decoration: none;} | ||
+ | a:visited {color: #333;text-decoration: none;} | ||
+ | a:hover {text-decoration: none; color: #0d9c64;} | ||
+ | |||
+ | img, embed, object, video {max-width: 100%;} | ||
+ | |||
+ | .clearfix { | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | clear: both; | ||
+ | } | ||
+ | /* Fonts | ||
+ | -------------------------------------------------*/ | ||
+ | |||
+ | @import url('http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,latin-ext'); | ||
+ | |||
+ | /* Overwrite the css for the top part of the page | ||
+ | -------------------------------------------------*/ | ||
+ | |||
+ | #p-logo, | ||
+ | #catlinks {display: none;} | ||
+ | |||
+ | #top-section { | ||
+ | position: fixed; | ||
+ | top: 0; | ||
+ | width: 100%; | ||
+ | height: 0; | ||
+ | border: none; | ||
+ | z-index: 100;} | ||
+ | |||
+ | #search-controls {display: none;} | ||
+ | |||
+ | #menubar { | ||
+ | display: table-cell; | ||
+ | background: transparent; | ||
+ | font-size: 11px;} | ||
+ | #top-section #menubar ul { | ||
+ | -webkit-margin-before: 2px; | ||
+ | -webkit-margin-after: 2px; | ||
+ | -webkit-padding-start: 40px; | ||
+ | margin: .3em 0 0 1.5em;} | ||
+ | #menubar.left-menu {width: 100%; padding-top: 6px;} | ||
+ | |||
+ | #menubar.right-menu {text-align: right; padding-top: 6px;} | ||
+ | |||
+ | #menubar * { | ||
+ | color: transparent !important; | ||
+ | background: transparent !important;} | ||
+ | |||
+ | #top-section:hover #menubar * {color: #333 !important;} | ||
+ | |||
+ | #top-section #menubar ul li a:hover {color: #0d9c64 !important; text-decoration: none;} | ||
+ | |||
+ | #top-section:hover #menubar.left-menu {background: rgba(255, 255, 255, 0.75) !important; border-bottom: 1px solid #0d9c64;} | ||
+ | |||
+ | /* Footer | ||
+ | -------------------------------------------------*/ | ||
+ | |||
+ | #footer-box { | ||
+ | position: relative; | ||
+ | margin:0; | ||
+ | width: 89.06244%; | ||
+ | height: 48px; | ||
+ | padding: 0 5.46878%; | ||
+ | background: #f1f1f1 url('https://static.igem.org/mediawiki/2013/9/92/Footerline.png') repeat-x center top; | ||
+ | border: none; | ||
+ | z-index: 2;} | ||
+ | |||
+ | #footer-box #footer { | ||
+ | color: #333; | ||
+ | font-size: 10px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | #footer #f-list li { | ||
+ | margin: 0 10px; | ||
+ | } | ||
+ | |||
+ | #footer #f-list li a { | ||
+ | line-height: 48px; | ||
+ | } | ||
+ | #f-poweredbyico {position:relative;top: 9px;} | ||
+ | #f-copyrightico {position:relative;top: 9px;} | ||
+ | |||
+ | /************************* | ||
body{ | body{ | ||
- | background: url(http://www. | + | background: url(http://www.colourbox.com/preview/2312219-868113-texture-of-blue-jeans-as-a-background.jpg); |
//background-color: white; | //background-color: white; | ||
} | } | ||
Line 13: | Line 115: | ||
//background: #BABABA; | //background: #BABABA; | ||
background: white; | background: white; | ||
- | font-family:Georgia ,Helvetica,sans-serif; | + | font-family: 'Gill Sans MT', 'Garamond', Georgia ,Helvetica,sans-serif; |
+ | font-size: 1.2em; | ||
border: none; | border: none; | ||
text-decoration: none; | text-decoration: none; | ||
Line 39: | Line 142: | ||
display:none; | display:none; | ||
} | } | ||
+ | ****************/ |
Latest revision as of 06:27, 22 October 2013
/****************************************************************************************
- Thank you Wageningen iGEM 2013 and Berkeley iGEM 2012 for snippets of their CSS code! *
- /
body {
background-color: #f1f1f1;
}
ol, ul, li {
list-style: none; -webkit-margin-before: 0; -webkit-margin-after: 0; -webkit-padding-start: 0; margin: 0;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a {color: #333; text-decoration: none;} a:visited {color: #333;text-decoration: none;} a:hover {text-decoration: none; color: #0d9c64;}
img, embed, object, video {max-width: 100%;}
.clearfix {
display: block; width: 100%; clear: both;
} /* Fonts
*/
@import url('http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,latin-ext');
/* Overwrite the css for the top part of the page
*/
- p-logo,
- catlinks {display: none;}
- top-section {
position: fixed;
top: 0; width: 100%; height: 0; border: none; z-index: 100;}
- search-controls {display: none;}
- menubar {
display: table-cell; background: transparent;
font-size: 11px;}
- top-section #menubar ul {
-webkit-margin-before: 2px; -webkit-margin-after: 2px; -webkit-padding-start: 40px; margin: .3em 0 0 1.5em;}
- menubar.left-menu {width: 100%; padding-top: 6px;}
- menubar.right-menu {text-align: right; padding-top: 6px;}
- menubar * {
color: transparent !important; background: transparent !important;}
- top-section:hover #menubar * {color: #333 !important;}
- top-section #menubar ul li a:hover {color: #0d9c64 !important; text-decoration: none;}
- top-section:hover #menubar.left-menu {background: rgba(255, 255, 255, 0.75) !important; border-bottom: 1px solid #0d9c64;}
/* Footer
*/
- footer-box {
position: relative; margin:0; width: 89.06244%; height: 48px; padding: 0 5.46878%; background: #f1f1f1 url('https://static.igem.org/mediawiki/2013/9/92/Footerline.png') repeat-x center top; border: none; z-index: 2;}
#footer-box #footer { color: #333; font-size: 10px; width: 100%; }
#footer #f-list li { margin: 0 10px; }
#footer #f-list li a { line-height: 48px; }
- f-poweredbyico {position:relative;top: 9px;}
- f-copyrightico {position:relative;top: 9px;}
/************************* body{
background: url(http://www.colourbox.com/preview/2312219-868113-texture-of-blue-jeans-as-a-background.jpg); //background-color: white;
}
- globalWrapper {width: 100%;}
- content{
padding: 0px; width: 1000px; //background: #BABABA;
background: white;
font-family: 'Gill Sans MT', 'Garamond', Georgia ,Helvetica,sans-serif;
font-size: 1.2em;
border: none; text-decoration: none; }
- footer, f-poweredbyico, f-copyrightico, f-list {
background: #BABABA; margin:0px; padding:0px;}
- footer-box {
background: #BABABA; border:none; }
- p-logo{display:none;}
- search-controls{
display:none; }
- top-section{
width: 100%;
//background: url(); height: 5px; border:none; } .firstHeading {
display:none;
}
- /