Team:Edinburgh/tech/basiccss
From 2011.igem.org
Line 16: | Line 16: | ||
/* Adapted from Edinburgh 2010 wiki */ | /* Adapted from Edinburgh 2010 wiki */ | ||
- | /* | + | |
+ | /*Boxes */ | ||
+ | .tops { | ||
+ | position: relative; | ||
+ | top: -5px; | ||
+ | float: left; | ||
+ | width: 975px; | ||
+ | } | ||
+ | |||
+ | .mids { | ||
+ | position: relative; | ||
+ | top: 25px; | ||
+ | float: left; | ||
+ | height: 100%; | ||
+ | width: 975px; | ||
+ | z-index: 15; | ||
+ | } | ||
.logo { | .logo { | ||
Line 27: | Line 43: | ||
} | } | ||
+ | .mainmenu { | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | height: 92px; | ||
+ | width: 750px; | ||
+ | padding: 0 0 0 0; | ||
+ | margin: 0 0 0 0; | ||
+ | background: url('/wiki/images/f/fd/Nav-top-bg.png') repeat-x; | ||
+ | z-index: 100; | ||
+ | left: 35px; | ||
+ | } | ||
+ | |||
+ | #sidebar { | ||
+ | position: absolute; | ||
+ | float: left; | ||
+ | left: -8px; | ||
+ | width: 206px; | ||
+ | padding: 0 8px; | ||
+ | margin: none; | ||
+ | z-index: 15; | ||
+ | } | ||
+ | |||
+ | .main_body { | ||
+ | width:740px; /*This is 965px - 190px for navbox - 35 for padding*/ | ||
+ | min-height: 300px; | ||
+ | height: auto !important; | ||
+ | padding: 5px 5px 5px 5px; | ||
+ | text-align:justify; | ||
+ | float: right; | ||
+ | top: 0px; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | #footer-box { | ||
+ | position: relative; | ||
+ | border: none; | ||
+ | margin-top: 40px; | ||
+ | margin-bottom: 20px; | ||
+ | bottom: 10px; | ||
+ | padding: -5px; | ||
+ | } | ||
+ | |||
+ | #footer { | ||
+ | position: relative; | ||
+ | width: 740px; | ||
+ | float: right; | ||
+ | padding: 5px; | ||
+ | margin-right: -5px; | ||
+ | } | ||
+ | |||
+ | .leftmenu { | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | width: 206px; | ||
+ | left:-8px; | ||
+ | background: url('/wiki/images/9/99/Nav-left-bg.png') repeat-y; | ||
+ | text-align: right; | ||
+ | z-index: 15; | ||
+ | } | ||
+ | |||
+ | #hintcontainer { | ||
+ | position: fixed; | ||
+ | top: 300px; | ||
+ | bottom: 10px; | ||
+ | width: 190px; | ||
+ | z-index: 15; | ||
+ | } | ||
+ | |||
+ | .hint { | ||
+ | position: fixed; | ||
+ | width: 180px; | ||
+ | top: 300px; | ||
+ | bottom: 0px; | ||
+ | z-index: 21; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | /* list styles */ | ||
.mainmenu ul, .leftmenu ul { | .mainmenu ul, .leftmenu ul { | ||
list-style: none; | list-style: none; | ||
Line 47: | Line 141: | ||
color: #000000; | color: #000000; | ||
width: 150px; | width: 150px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 94: | Line 163: | ||
.hardword { | .hardword { | ||
font-style: italic; | font-style: italic; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
/* Boxes */ | /* Boxes */ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* Stylistic elements */ | /* Stylistic elements */ | ||
Line 123: | Line 173: | ||
margin: 0 0 0 0;} | margin: 0 0 0 0;} | ||
- | #content{ | + | #content { |
border: none; | border: none; | ||
width: 975px; | width: 975px; | ||
- | |||
- | |||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#globalWrapper, body{ | #globalWrapper, body{ | ||
Line 208: | Line 242: | ||
.toclevel-2 { | .toclevel-2 { | ||
- | display: | + | display: block; |
- | float: | + | float: left; |
- | + | ||
margin: 0 0 0 0; | margin: 0 0 0 0; | ||
padding-right: 1em; | padding-right: 1em; | ||
Line 224: | Line 257: | ||
/*Headers*/ | /*Headers*/ | ||
- | h2, h3, h4 { | + | #toc, h2, h3, h4 { |
- | font-family: ' | + | font-family: 'Josefin Sans', Helvetica, Arial, sans-serif; |
} | } | ||
- | #toctitle | + | #toctitle { |
border:none; | border:none; | ||
background: none; | background: none; | ||
- | font-family: | + | font-family: 'Josefin Sans', Helvetica, Arial, sans-serif; |
} | } | ||
Line 246: | Line 279: | ||
} | } | ||
- | |||
pre { | pre { | ||
Line 254: | Line 286: | ||
/* Editting IGEM elements */ | /* Editting IGEM elements */ | ||
- | |||
- | |||
- | |||
- | |||
#p-logo, #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, .editsection { | #p-logo, #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, .editsection { | ||
Line 274: | Line 302: | ||
.left-menu ul { | .left-menu ul { | ||
border: none; | border: none; | ||
- | |||
- | |||
- | |||
} | } | ||
Revision as of 16:04, 13 July 2011
@charset "UTF-8" ;
@font-face {
font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; src: local('Josefin Sans'), local('JosefinSans'), url('http://themes.googleusercontent.com/font?kit=xgzbb53t8j-Mo-vYa23n5nhCUOGz7vYGh680lGh-uXM') format('woff');
}
@font-face {
font-family: 'Josefin Sans'; font-style: normal; font-weight: 100; src: local('Josefin Sans Thin'), local('JosefinSans-Thin'), url('http://themes.googleusercontent.com/font?kit=q9w3H4aeBxj0hZ8Osfi3dy1dfeF-hbOdKKuBDEXxqhQ') format('woff');
}
/* Adapted from Edinburgh 2010 wiki */
/*Boxes */ .tops { position: relative; top: -5px; float: left; width: 975px; }
.mids { position: relative; top: 25px; float: left; height: 100%; width: 975px; z-index: 15; }
.logo { position: relative; float: left; left: 0px; height: 76px; margin: 8px 0 8px 0; width: 190px; }
.mainmenu { position: relative; float: left; height: 92px; width: 750px; padding: 0 0 0 0; margin: 0 0 0 0; background: url('/wiki/images/f/fd/Nav-top-bg.png') repeat-x; z-index: 100; left: 35px; }
- sidebar {
position: absolute; float: left; left: -8px; width: 206px; padding: 0 8px; margin: none; z-index: 15; }
.main_body { width:740px; /*This is 965px - 190px for navbox - 35 for padding*/ min-height: 300px; height: auto !important; padding: 5px 5px 5px 5px; text-align:justify; float: right; top: 0px; position: relative; }
- footer-box {
position: relative; border: none; margin-top: 40px; margin-bottom: 20px; bottom: 10px; padding: -5px; }
- footer {
position: relative; width: 740px; float: right; padding: 5px; margin-right: -5px; }
.leftmenu { position: relative; float: left; width: 206px; left:-8px; background: url('/wiki/images/9/99/Nav-left-bg.png') repeat-y; text-align: right; z-index: 15; }
- hintcontainer {
position: fixed; top: 300px; bottom: 10px; width: 190px; z-index: 15; }
.hint { position: fixed; width: 180px; top: 300px; bottom: 0px; z-index: 21; padding: 5px; }
/* list styles */ .mainmenu ul, .leftmenu ul { list-style: none; padding: 0 0 0 0; margin: 0 0 0 0; }
.mainmenu li { display:inline; }
.mainmenu ul li a { font-family: 'Josefin Sans', arial, sans-serif; font-size: 20px; line-height: 20px; padding: 50px 0 22px 0; margin: 0 0 0 0; float: left; text-align: center; color: #000000; width: 150px; }
.leftmenu li { display: block; margin-top: -1px; }
.leftmenu li a { font-family: 'Josefin Sans', arial, sans-serif; font-size: 14px; line-height: 20px; margin: 0 0 0 0; padding: 0 12px 0 8px; float: left; text-align: right; left: -8px; width: 186px; }
/*hints*/ .hardword { font-style: italic; }
/* Boxes */
/* Stylistic elements */ p, div { border: 0 0 0 0; padding: 0 0 0 0; margin: 0 0 0 0;}
- content {
border: none; width: 975px; }
- globalWrapper, body{
font: 12px Tahoma, Arial, Helvetica, sans-serif; }
/* thumbnails */ div.thumb {
border: none;
}
div.thumb:after { clear: both; visibility:hidden; height:0; } div.thumb div {
border: 1px solid;
} div.thumb div a img {
border: none;
} div.thumb div div.thumbcaption {
border: none;
} div.tright {
padding-left: 5px;
} div.tleft {
padding-right: 5px;
}
table{
text-align:justify;
}
A:link{ text-decoration: none; font-weight: bold; }
A:visited{ text-decoration: none; font-weight: bold; }
A:active{ text-decoration: none; font-weight: bold; }
A:hover{ text-decoration: none; font-weight: bold; }
/* Wiki formatting */ /* TOC */
- toc, .toc {
border: none; padding: 0; margin: 0; }
.toclevel-2 { display: block; float: left; margin: 0 0 0 0; padding-right: 1em; padding-left: 1em; } .toclevel-3, .toclevel-4, .toclevel-5, .toclevel-6 { display:none;}
.toclevel-2 .tocnumber { display: none; }
/*Headers*/
- toc, h2, h3, h4 {
font-family: 'Josefin Sans', Helvetica, Arial, sans-serif; }
- toctitle {
border:none; background: none; font-family: 'Josefin Sans', Helvetica, Arial, sans-serif; }
h2{ margin: 10px 0 10px 0; padding: 5px 0px 5px 20px; font-size: 17pt; left: 0px; right: 0px; }
h3 { font-size: 13pt; text-shadow: none; }
pre {
border-radius: 10px;
-moz-border-radius: 10px;
}
/* Editting IGEM elements */
- p-logo, #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, .editsection {
display:none; }
- top-section, #menubar, #menubar:hover {
height: 25px; border: none; }
.left-menu { margin-top:-15px; }
.left-menu ul { border: none; }
- menubar.right-menu {
margin-top:-15px; }
.right-menu ul { border: none; }
- menubar {
top:15px; z-index:25; width: auto; }