Team:Edinburgh/tech/basiccss

From 2011.igem.org

(Difference between revisions)
m
 
(153 intermediate revisions not shown)
Line 1: Line 1:
@charset "UTF-8" ;
@charset "UTF-8" ;
-
@font-face {
+
/* Adapted from Edinburgh 2010 wiki */
-
  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 {
+
/*Boxes */
-
  font-family: 'Josefin Sans';
+
.tops {
-
  font-style: normal;
+
position: relative;
-
  font-weight: 100;
+
top: -5px;
-
  src: local('Josefin Sans Thin'), local('JosefinSans-Thin'), url('http://themes.googleusercontent.com/font?kit=q9w3H4aeBxj0hZ8Osfi3dy1dfeF-hbOdKKuBDEXxqhQ') format('woff');
+
float: left;
 +
width: 975px;
}
}
-
@font-face {
+
.mids {
-
  font-family: 'Goudy Bookletter 1911';
+
position: relative;
-
  font-style: normal;
+
top: 25px;
-
  font-weight: normal;
+
float: left;
-
  src: local('Goudy Bookletter 1911'), local('GoudyBookletter1911'), url('http://themes.googleusercontent.com/font?kit=l5lwlGTN3pEY5Bf-rQEuIMvsW7MYFVYsuLRj6jSUyb0') format('woff');
+
height: 100%;
-
}
+
width: 975px;
-
 
+
z-index: 15;
-
@font-face {
+
-
  font-family: 'Cabin Sketch';
+
-
  font-style: normal;
+
-
  font-weight: bold;
+
-
  src: local('CabinSketch Bold'), local('CabinSketch-Bold'), url('http://themes.googleusercontent.com/font?kit=ki3SSN5HMOO0-IOLOj069Hl4twXkwp3_u9ZoePkT564') format('woff');
+
}
}
-
/*
 
-
@font-face {
 
-
  font-family: 'Yanone Kaffeesatz';
 
-
  font-style: normal;
 
-
  font-weight: 200;
 
-
  src: local('Yanone Kaffeesatz Thin'), local('YanoneKaffeesatz-Thin'), url('http://themes.googleusercontent.com/font?kit=We_iSDqttE3etzfdfhuPRYa6iXjgqaxY3DU3RqApPOI') format('woff');
 
-
}*/
 
-
 
-
/* Adapted from Edinburgh 2010 wiki */
 
-
/*Menu*/
 
.logo {
.logo {
Line 43: Line 24:
float: left;
float: left;
left: 0px;
left: 0px;
-
background: red;
 
height: 76px;
height: 76px;
-
padding: 8px 0 8px 0;
+
margin: 8px 0 8px 0;
width: 190px;
width: 190px;
-
top: -5px;
 
}
}
-
.mainmenu ul, .leftmenu ul {
+
.mainmenu {
-
list-style: none;
+
position: relative;
 +
float: left;
 +
height: 92px;
 +
width: 750px;
padding: 0 0 0 0;
padding: 0 0 0 0;
margin: 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;
}
}
-
.mainmenu li {
+
#sidebar {
-
display:inline;
+
position: absolute;
-
}
+
-
 
+
-
.mainmenu 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;
float: left;
-
text-align: center;
+
left: -8px;
-
color: #000000;
+
width: 206px;
-
width: 150px;
+
padding: 0 8px;
 +
margin: none;
 +
z-index: 15;
}
}
-
/* The colours here are just magic numbers! */
+
.main_body {
-
.mainmenu li a:hover, #current:hover {
+
width:730px; /*This is 965px - 190px for navbox - 35 for padding*/
-
background-color: #333333;
+
min-height: 300px;
-
background: url('/wiki/images/1/15/Hover_mask.png');
+
height: auto !important;
-
color: white;
+
padding: 0px 10px 5px 10px;
 +
text-align:justify;
 +
float: right;
 +
top: 0px;
 +
position: relative;
 +
padding-bottom: 1em;
}
}
-
#current {
+
#footer-box {
-
background-color: black;
+
position: relative;
-
background: url('/wiki/images/2/27/Select_mask.png');
+
border: none;
-
color: white;
+
margin-top: 40px;
-
width: 150px;
+
margin-bottom: 20px;
 +
bottom: 10px;
 +
padding: -5px;  
}
}
-
.mainmenu {
+
#footer {
-
float: left;
+
-
height: 92px;
+
-
width: 750px;
+
-
padding: 0 0 0 0;
+
-
margin: 0 0 0 0;
+
position: relative;
position: relative;
-
background: url('/wiki/images/f/fd/Nav-top-bg.png') repeat-x;
+
width: 740px;
-
z-index: 100;
+
float: right;
-
left: 225px;
+
padding: 5px;
-
top: -5px;
+
margin-right: -5px;
}
}
-
.leftmenu {
+
.leftmenu, .sitemap {
-
float: right;
+
position: relative;
position: relative;
 +
float: left;
width: 206px;
width: 206px;
-
top: 25px;
+
left:-8px;
-
right: -8px;
+
-
background-color: white;
+
background: url('/wiki/images/9/99/Nav-left-bg.png') repeat-y;
background: url('/wiki/images/9/99/Nav-left-bg.png') repeat-y;
text-align: right;
text-align: right;
 +
z-index: 15;
 +
}
 +
 +
#hintcontainer {
 +
position: fixed;
 +
top: 26em;
 +
width: 190px;
 +
height: 100px;
 +
}
 +
 +
.fontnav {
 +
width: 190px;
 +
height: 25px;
 +
padding: 0px;
 +
margin: 0px;
 +
}
 +
 +
.hint {
 +
position: absolute;
 +
width: 180px;
 +
top: 0px;
 +
left:0px;
 +
padding: 5px;
 +
}
 +
 +
/* to suppress in preview mode */
 +
#wikiPreview #hintcontainer, #wikiPreview .hint {
 +
visibility: hidden;
 +
}
 +
/* list styles */
 +
.mainmenu ul, .leftmenu ul, .sitemap ul {
 +
list-style: none;
 +
padding: 0 0 0 0;
 +
margin: 0 0 0 0;
 +
}
 +
 +
.mainmenu li {
 +
display:inline;
 +
}
 +
 +
.mainmenu ul li a {
 +
font-family: helvetica, 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;
}
}
Line 113: Line 142:
display: block;
display: block;
margin-top: -1px;
margin-top: -1px;
 +
}
}
 +
.sitemap {
 +
height: 20px;
 +
margin-top: -1px;
 +
z-index: 14 !important;
 +
}
 +
 +
li {line-height: normal}
.leftmenu li a {
.leftmenu li a {
-
font-family: 'Josefin Sans', arial, sans-serif;
+
font-family: helvetica, arial, sans-serif;
font-size: 14px;
font-size: 14px;
-
line-height: 20px;
+
height: 20px;
 +
outline: none;
 +
-moz-outline-style: none;
margin: 0 0 0 0;
margin: 0 0 0 0;
padding: 0 12px 0 8px;
padding: 0 12px 0 8px;
-
float: right;
+
float: left;
text-align: right;
text-align: right;
left: -8px;
left: -8px;
width: 186px;
width: 186px;
-
}
 
-
 
-
.leftmenu li a#leftcurrent {
 
-
background: url('/wiki/images/0/01/Select_left_mask.png');
 
-
color: white;
 
-
}
 
-
 
-
.leftmenu li a:hover, .leftmenu li a#leftcurrent:hover {
 
-
background: url('/wiki/images/e/e3/Hover_left_mask.png');
 
-
color: white;
 
}
}
/*hints*/
/*hints*/
.hardword {
.hardword {
-
font-style: italic;}
+
font-style: italic;
-
 
+
font-weight: bold;
-
.hint {
+
-
position: relative;
+
-
margin-top: 30px;
+
-
position: fixed;
+
-
bottom: 100px;
+
-
width: 180px;
+
}
}
-
#hintcontainer {
+
.hardword#help {
-
display: inline-block;
+
font-style: normal;
-
position: relative;
+
font-weight: normal;
-
height: 100%;
+
-
width: 180px;
+
-
margin-top: 25px;
+
-
padding: 0 5px 0 5px;
+
}
}
 +
/* Boxes */
/* Boxes */
-
#sidebar {
 
-
position: absolute;
 
-
width: 190px;
 
-
}
 
/* Stylistic elements */
/* Stylistic elements */
-
p, div {border: 0 0 0 0;
+
div, p {
-
padding: 0 0 0 0;
+
border: 0;
-
margin: 0 0 0 0;}
+
padding: 0;
 +
margin: 0;
 +
}
-
#content{
+
.main_body p {
-
border-left: none;
+
border: 0;
-
border-right: none;
+
padding: 5px 0 5px 0 !important;
-
width: 975px;
+
margin: 0;
}
}
-
#content #main_body {
+
#content {
-
width:740px; /*This is 965px - 190px for navbox - 35 for padding*/
+
border: none;
-
min-height: 550px;
+
width: 975px;
-
height: auto !important;
+
-
float: right;
+
-
padding: 5px 5px 5px 5px;
+
-
text-align:justify;
+
-
height:100%;
+
-
position: relative;
+
-
margin-top: 25px;
+
}
}
-
 
+
#globalWrapper, body, .main_body, p{
-
#globalWrapper, body{
+
font: 10pt Tahoma, Arial, Helvetica, sans-serif;
-
font: 12px Tahoma, Arial, Helvetica, sans-serif;
+
}
}
Line 221: Line 231:
table{
table{
text-align:justify;
text-align:justify;
 +
background: transparent;
}
}
-
A:link{
+
A:link, A:visited, A:active, A:hover {
text-decoration: none;
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;
 
}
}
Line 248: Line 243:
border: none;
border: none;
padding: 0;
padding: 0;
-
margin: 0;
+
margin: 0.5em 0 0 0;
}
}
-
.toclevel-2 {
 
-
display: inline;
 
-
float: right;
 
-
list-style: none;
 
-
margin: 0 0 0 0;
 
-
padding-right: 1em;
 
-
padding-left: 1em;
 
-
}
 
.toclevel-3, .toclevel-4, .toclevel-5, .toclevel-6 {
.toclevel-3, .toclevel-4, .toclevel-5, .toclevel-6 {
display:none;}
display:none;}
Line 266: Line 253:
}
}
-
/*Intro*/
+
/*Headers*/
-
#main_body p:first-child {
+
-
font-size: 13px;
+
-
text-indent: 0;
+
 +
#toc, h2, h3, h4, .hint {
 +
font-family: helvetica, arial, sans-serif;
 +
text-align: left;
}
}
-
/*Headers*/
+
#toctitle {
-
 
+
-
h2, h3, h4 {
+
-
font-family: 'Goudy Bookletter 1911', 'Times New Roman', serif;
+
-
}
+
-
#toctitle h2 {
+
border:none;
border:none;
background: none;
background: none;
-
font-family: Tahoma, Arial, Helvetica, sans-serif;
+
font-family: Helvetica, Arial, sans-serif;
}
}
h2{
h2{
-
margin: 0;
+
margin: 10px 0;
-
padding: 5px 0px 5px 20px;
+
padding: 5px 0px 5px 0px;
font-size: 17pt;
font-size: 17pt;
 +
line-height: 120%;
left: 0px;
left: 0px;
right: 0px;
right: 0px;
Line 297: Line 280:
}
}
-
p {text-indent: 10px;}
+
code {
-
 
+
background: transparent;
 +
}
pre {
pre {
-
border-radius: 10px;
+
background: white;
-
-moz-border-radius: 10px;
+
}
}
-
/* Editting IGEM elements */
+
/* Editing IGEM elements */
-
 
+
-
#footer {}
+
-
#footer-box {border: none;
+
-
margin-top: 5px;}
+
#p-logo, #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, .editsection {
#p-logo, #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, .editsection {
Line 325: Line 304:
.left-menu ul {
.left-menu ul {
border: none;
border: none;
-
}
 
-
 
-
#menubar li a {
 
}
}
Line 342: Line 318:
z-index:25;
z-index:25;
width: auto;
width: auto;
 +
}
 +
 +
.editButtons {
 +
z-index: 150;
 +
}
 +
 +
.centre {
 +
text-align: center !important;
 +
}
 +
 +
.nobg {
 +
background-color: transparent !important;
 +
}
 +
 +
th {
 +
border: 0;
 +
padding: 3px;
 +
text-align: center;
 +
}
 +
 +
.tnone {
 +
margin-top: 0.5em;
 +
}
 +
 +
.tright {
 +
margin-left: 0.5em;
 +
}
 +
 +
b {
 +
font-weight: bold !important;
 +
}
 +
 +
dl {
 +
margin-top: 0.5em;
 +
margin-bottom: 0.5em;
 +
}
 +
 +
code.central {
 +
background-color: white;
 +
border: #2F6FAB dashed 1px;
 +
display: block;
 +
font-size: 13px;
 +
line-height: 14px;
 +
margin-top: 0px;
 +
margin-left: auto;
 +
margin-bottom: 0px;
 +
margin-right: auto;
 +
padding: 13px;
 +
top: auto;
 +
white-space: pre;
 +
width: 620px;
 +
z-index: auto;
 +
}
 +
 +
code p {
 +
margin: 0;
 +
border: 0;
 +
padding: 0;
 +
font-family: monospace;
 +
}
 +
 +
table.centredtext {
 +
text-align: center;
}
}

Latest revision as of 22:58, 25 October 2011

@charset "UTF-8" ;

/* 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; }

  1. sidebar {

position: absolute; float: left; left: -8px; width: 206px; padding: 0 8px; margin: none; z-index: 15; }

.main_body { width:730px; /*This is 965px - 190px for navbox - 35 for padding*/ min-height: 300px; height: auto !important; padding: 0px 10px 5px 10px; text-align:justify; float: right; top: 0px; position: relative; padding-bottom: 1em; }

  1. footer-box {

position: relative; border: none; margin-top: 40px; margin-bottom: 20px; bottom: 10px; padding: -5px; }

  1. footer {

position: relative; width: 740px; float: right; padding: 5px; margin-right: -5px; }

.leftmenu, .sitemap { 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; }

  1. hintcontainer {

position: fixed; top: 26em; width: 190px; height: 100px; }

.fontnav { width: 190px; height: 25px; padding: 0px; margin: 0px; }

.hint { position: absolute; width: 180px; top: 0px; left:0px; padding: 5px; }

/* to suppress in preview mode */

  1. wikiPreview #hintcontainer, #wikiPreview .hint {

visibility: hidden; } /* list styles */ .mainmenu ul, .leftmenu ul, .sitemap ul { list-style: none; padding: 0 0 0 0; margin: 0 0 0 0; }

.mainmenu li { display:inline; }

.mainmenu ul li a { font-family: helvetica, 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;

} .sitemap { height: 20px; margin-top: -1px; z-index: 14 !important; }

li {line-height: normal}

.leftmenu li a { font-family: helvetica, arial, sans-serif; font-size: 14px; height: 20px; outline: none; -moz-outline-style: none; margin: 0 0 0 0; padding: 0 12px 0 8px; float: left; text-align: right; left: -8px; width: 186px; }

/*hints*/ .hardword { font-style: italic; font-weight: bold; }

.hardword#help { font-style: normal; font-weight: normal; }


/* Boxes */

/* Stylistic elements */ div, p { border: 0; padding: 0; margin: 0; }

.main_body p { border: 0; padding: 5px 0 5px 0 !important; margin: 0; }

  1. content {

border: none; width: 975px; }

  1. globalWrapper, body, .main_body, p{

font: 10pt 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; background: transparent; }

A:link, A:visited, A:active, A:hover { text-decoration: none; }

/* Wiki formatting */ /* TOC */

  1. toc, .toc {

border: none; padding: 0; margin: 0.5em 0 0 0; }

.toclevel-3, .toclevel-4, .toclevel-5, .toclevel-6 { display:none;}

.toclevel-2 .tocnumber { display: none; }

/*Headers*/

  1. toc, h2, h3, h4, .hint {

font-family: helvetica, arial, sans-serif; text-align: left; }

  1. toctitle {

border:none; background: none; font-family: Helvetica, Arial, sans-serif; }

h2{ margin: 10px 0; padding: 5px 0px 5px 0px; font-size: 17pt; line-height: 120%; left: 0px; right: 0px; }

h3 { font-size: 13pt; text-shadow: none; }

code { background: transparent; } pre { background: white; }

/* Editing IGEM elements */

  1. p-logo, #contentSub, #catlinks, #siteSub, #search-controls, .firstHeading, .editsection {

display:none; }

  1. top-section, #menubar, #menubar:hover {

height: 25px; border: none; }

.left-menu { margin-top:-15px; }

.left-menu ul { border: none; }

  1. menubar.right-menu {

margin-top:-15px; }

.right-menu ul { border: none; }

  1. menubar {

top:15px; z-index:25; width: auto; }

.editButtons { z-index: 150; }

.centre { text-align: center !important; }

.nobg { background-color: transparent !important; }

th { border: 0; padding: 3px; text-align: center; }

.tnone { margin-top: 0.5em; }

.tright { margin-left: 0.5em; }

b { font-weight: bold !important; }

dl { margin-top: 0.5em; margin-bottom: 0.5em; }

code.central { background-color: white; border: #2F6FAB dashed 1px; display: block; font-size: 13px; line-height: 14px; margin-top: 0px; margin-left: auto; margin-bottom: 0px; margin-right: auto; padding: 13px; top: auto; white-space: pre; width: 620px; z-index: auto; }

code p { margin: 0; border: 0; padding: 0; font-family: monospace; }

table.centredtext { text-align: center; }