Team:Edinburgh/tech/basiccss

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
 
-
 
<style type="text/css">
<style type="text/css">
-
 
+
<!--
@charset "UTF-8";
@charset "UTF-8";
/* Adapted from Edinburgh 2010 wiki */
/* Adapted from Edinburgh 2010 wiki */
-
/* Getting rid of IGEM elements */
+
/* Stylistic elements */
-
 
+
p, div {border: 0 0 0 0;
-
#contentSub {
+
padding: 0 0 0 0;
-
display:none;
+
margin: 0 0 0 0;}
-
}
+
-
 
+
-
#siteSub {
+
-
display:none;
+
-
}
+
-
#search-controls {
+
#content{
-
display:none;
+
background-color: white;
-
}
+
-
 
+
-
.firstHeading {
+
-
display:none;
+
-
}
+
-
 
+
-
#search-controls {
+
-
margin-top:30px;
+
-
}
+
-
 
+
-
#footer-box {
+
-
display:none;
+
-
}
+
-
 
+
-
#top-section {
+
-
height: 25px;
+
border-left: none;
border-left: none;
border-right: none;
border-right: none;
 +
width: 965px;
}
}
-
.left-menu {
+
.logo {
-
margin-top:-15px;
+
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;
}
}
-
.left-menu ul {
+
#content .main_body {
-
border: none;
+
width: 655px; /*This is 965px - 300px for navbox - 10 for padding*/
-
}
+
float: right;
 +
padding: 0.5em;
 +
background: white;
-
#menubar li a {
 
-
color: white;
 
-
}
 
-
 
-
#menubar.right-menu {
 
-
margin-top:-15px;
 
-
}
 
-
 
-
.right-menu ul {
 
-
border: none;
 
-
}
 
-
 
-
#menubar{
 
-
top:22px;
 
-
z-index:25;
 
-
}
 
-
 
-
img[src*="/wiki/skins/common/images/wiki.png"]{
 
-
    width:0;
 
-
    height:40px;
 
-
    padding-right:975px;
 
-
    background: #606060;
 
-
}
 
-
 
-
 
-
/* Stylistic elements */
 
-
 
-
#content{
 
-
background-color: lightgrey;
 
-
border-left: none;
 
-
border-right: none;
 
-
width:95%;
 
}
}
Line 85: Line 41:
}
}
-
#navbox{
+
#navmenu{
background-color: white;
background-color: white;
position:absolute;
position:absolute;
-
top: 100px;
+
top: 105px; /*This is logo height+5px*/
-
left:0px;
+
padding-top: 0.5em;
 +
left:0.5em;
width: 300px;
width: 300px;
 +
height: 300px;
z-index: 1;
z-index: 1;
}
}
-
#globalWrapper{
+
#globalWrapper, body{
-
background-color: grey;
+
background-color: lightgrey;
-
font: 11px Tahoma, Arial, Helvetica, sans-serif;
+
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>
-
</html>
 

Revision as of 14:03, 20 June 2011

<style type="text/css"> </style>