Team:Edinburgh/tech/basiccss
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | |||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
- | + | <!-- | |
@charset "UTF-8"; | @charset "UTF-8"; | ||
/* Adapted from Edinburgh 2010 wiki */ | /* Adapted from Edinburgh 2010 wiki */ | ||
- | /* | + | /* Stylistic elements */ |
- | + | p, div {border: 0 0 0 0; | |
- | + | padding: 0 0 0 0; | |
- | + | margin: 0 0 0 0;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | # | + | #content{ |
- | + | background-color: white; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
border-left: none; | border-left: none; | ||
border-right: none; | border-right: none; | ||
+ | width: 965px; | ||
} | } | ||
- | .left- | + | .logo { |
- | + | left: 0px; | |
+ | top: 0px; | ||
+ | width: 100%; | ||
+ | background-color: orange; | ||
+ | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='orange', endColorstr='#ffffff'); /*for IE*/ | ||
+ | background: -webkit-gradient(linear, 0 0, 965 100, from(orange), to(#fff)); /*for webkit*/ | ||
+ | background: -moz-linear-gradient(left, orange, #fff);/*for mozilla*/ | ||
+ | height: 100px; | ||
+ | position: relative; | ||
} | } | ||
- | . | + | #content .main_body { |
- | + | width: 655px; /*This is 965px - 300px for navbox - 10 for padding*/ | |
- | + | float: right; | |
+ | padding: 0.5em; | ||
+ | background: white; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 85: | Line 41: | ||
} | } | ||
- | # | + | #navmenu{ |
background-color: white; | background-color: white; | ||
position:absolute; | position:absolute; | ||
- | top: | + | top: 105px; /*This is logo height+5px*/ |
- | left: | + | padding-top: 0.5em; |
+ | left:0.5em; | ||
width: 300px; | width: 300px; | ||
+ | height: 300px; | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
- | #globalWrapper{ | + | #globalWrapper, body{ |
- | background-color: | + | background-color: lightgrey; |
- | font: | + | font: 12px Tahoma, Arial, Helvetica, sans-serif; |
} | } | ||
Line 127: | Line 85: | ||
} | } | ||
+ | /* Wiki formatting */ | ||
+ | /* TOC */ | ||
+ | #toc, .toc { | ||
+ | background: white; | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | .toclevel-2 { | ||
+ | display: inline; | ||
+ | float: right; | ||
+ | list-style: none; | ||
+ | margin: 0 0 0 0; | ||
+ | padding-right: 1em; | ||
+ | padding-left: 1em; | ||
+ | border-right: dotted 1px black; | ||
+ | } | ||
+ | .toclevel-3, .toclevel-4, .toclevel-5, .toclevel-6 { | ||
+ | display:none;} | ||
+ | |||
+ | .toclevel-2 .tocnumber { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /*Intro*/ | ||
+ | .main_body p:first-child { | ||
+ | font-size: 13px; | ||
+ | text-indent: 0; | ||
+ | } | ||
+ | |||
+ | p {text-indent: 10px;} | ||
+ | |||
+ | pre { | ||
+ | background: #FFEEAA; | ||
+ | border: dashed 1px #FFAA99; | ||
+ | } | ||
+ | |||
+ | /* Getting rid of IGEM elements */ | ||
+ | |||
+ | #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, #footer, #footer-box, .editsection { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #search-controls { | ||
+ | margin-top:30px; | ||
+ | } | ||
+ | |||
+ | #top-section { | ||
+ | height: 25px; | ||
+ | border-left: none; | ||
+ | border-right: none; | ||
+ | } | ||
+ | |||
+ | .left-menu { | ||
+ | margin-top:-15px; | ||
+ | } | ||
+ | |||
+ | .left-menu ul { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | #menubar li a { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #menubar.right-menu { | ||
+ | margin-top:-15px; | ||
+ | } | ||
+ | |||
+ | .right-menu ul { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | #menubar{ | ||
+ | top:15px; | ||
+ | z-index:25; | ||
+ | } | ||
+ | |||
+ | img[src*="/wiki/skins/common/images/wiki.png"]{ | ||
+ | width:0; | ||
+ | height:40px; | ||
+ | padding-right:975px; | ||
+ | background: #606060; | ||
+ | } | ||
+ | --> | ||
</style> | </style> | ||
- |
Revision as of 14:03, 20 June 2011
<style type="text/css"> </style>