Template:Leanna css
From 2010.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
<script type="text/javascript" src="http://www.sunsean.com/idTabs/jquery.idTabs.min.js"></script> | <script type="text/javascript" src="http://www.sunsean.com/idTabs/jquery.idTabs.min.js"></script> | ||
<script type="text/javascript" src="http://jquery.com/demo/thickbox/thickbox-code/thickbox.js"></script> | <script type="text/javascript" src="http://jquery.com/demo/thickbox/thickbox-code/thickbox.js"></script> | ||
- | |||
- | |||
- | |||
<link rel="stylesheet" href="http://jquery.com/demo/thickbox/thickbox-code/thickbox.css" type="text/css" media="screen" /> | <link rel="stylesheet" href="http://jquery.com/demo/thickbox/thickbox-code/thickbox.css" type="text/css" media="screen" /> | ||
- | |||
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | <script type="text/javascript" src="http://www.google.com/jsapi"></script> | ||
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> | <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> | ||
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> | <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> | ||
- | + | <script> google.load("jquery", "1.4.2"); </script> | |
- | <script> | + | <script language="javascript" src="jquery.dimensions.js"></script> |
- | google.load("jquery", "1.4.2"); | + | <script type="text/javascript"> |
+ | //SYNTAX: ddtabmenu.definemenu("tab_menu_id", integer OR "auto") | ||
+ | ddtabmenu.definemenu("ddtabs1", 0) //initialize Tab Menu with ID "ddtabs1" and select 1st tab by default | ||
</script> | </script> | ||
- | |||
Line 43: | Line 40: | ||
}); | }); | ||
</script> | </script> | ||
- | |||
- | |||
<style> | <style> | ||
- | + | #header { | |
- | + | position: relative; | |
- | + | left: 5px; | |
- | + | text-align: left; | |
- | + | margin: 0px; | |
- | + | width: 955px; | |
- | + | /* height: 575px; */ | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | #header a { | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
color: white; | color: white; | ||
- | |||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#content { | #content { | ||
background-color: #FFF; | background-color: #FFF; | ||
border: 1px black solid; | border: 1px black solid; | ||
+ | font-family: Osaka, verdana, Sans-Serif; | ||
} | } | ||
- | + | .mainContent { | |
+ | width: 943px; | ||
position: absolute; | position: absolute; | ||
- | + | padding:5px; | |
- | top: | + | top: 160px; |
- | + | font-size: 14px; | |
- | + | border: 1px solid black; | |
- | + | margin:5px; | |
} | } | ||
- | + | .headtable { | |
- | + | height: 115px; | |
- | + | text-align: left; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #ghost { |
- | + | display: table-cell; | |
- | + | text-align: left; | |
- | + | font-family: "Lucida Console", Monaco, monospace; | |
- | + | font-size: medium; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #baby { |
- | + | padding: 5px; | |
- | + | border-bottom: 1px solid white; | |
- | + | font-family: "Lucida Console", Monaco, monospace; | |
- | + | font-size: medium; | |
- | + | ||
} | } | ||
- | # | + | #bodybaby { |
- | + | padding: 5px; | |
- | + | border-bottom: 3px solid black; | |
- | + | font-family: "Lucida Console", Monaco, monospace; | |
- | + | font-size: medium; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | font- | + | |
} | } | ||
- | + | .sidep { | |
- | + | display: inline; | |
- | background-color: # | + | background-color: #boc4de; |
- | + | width: 170px; | |
- | + | float: right; | |
- | width: | + | font-size: x-small; |
- | + | border: 1px solid #b0c4de; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | <!-- .headtable ul li:hover { | |
- | + | opacity: 0.5; | |
- | + | } --!> | |
- | + | .headtable ul { | |
- | + | } | |
- | + | .headtable a { | |
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
color: white; | color: white; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#freedom { | #freedom { | ||
- | + | width: 233px; | |
- | + | position: relative; | |
- | + | left: -20px; | |
- | + | top: 2px; | |
- | + | display: block; | |
- | + | list-style: none; | |
+ | text-align: left; | ||
+ | color: white; | ||
+ | font-family: "Lucida Console", Monaco, monospace; | ||
+ | font-size: medium; | ||
} | } | ||
#freedom li a { | #freedom li a { | ||
- | + | text-align: left; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#freedom li a:hover { | #freedom li a:hover { | ||
- | + | opacity: 0.5; | |
- | + | ||
- | + | ||
} | } | ||
#freedom li a.selected { | #freedom li a.selected { | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
.tabContainer { | .tabContainer { | ||
- | + | position: relative; | |
- | + | top: 0px; | |
- | + | left: 4px; | |
- | + | height: 23px; | |
- | + | width: 99%; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
.tabContainer p { | .tabContainer p { | ||
- | |||
- | |||
text-align:left; | text-align:left; | ||
+ | top: 1px; | ||
} | } | ||
Line 330: | Line 210: | ||
.firstHeading { | .firstHeading { | ||
display: none; } | display: none; } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
.code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; } | .code { border: 1px solid #ccc; list-style-type: decimal-leading-zero; padding: 5px; margin: 0; } |
Revision as of 16:37, 10 October 2010