Team:UNAM-Genomics Mexico/Templates/Notebook
From 2011.igem.org
(Difference between revisions)
(added css rules for letter size) |
|||
(23 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<!-- | <!-- | ||
- | @VERSION 1. | + | @VERSION 1.2.3 |
@NAME /Templates/Notebook | @NAME /Templates/Notebook | ||
@DESC This is a wiki template designed to contain the background layout and menu of all our page. | @DESC This is a wiki template designed to contain the background layout and menu of all our page. | ||
Line 24: | Line 24: | ||
</script> | </script> | ||
+ | <script type="text/javascript"> | ||
+ | new Control.Tabs('tabs_example_three',{ | ||
+ | hover: true | ||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
//Constants containing the menu cell positions (yeah, they're deffined as variables thx to IE) | //Constants containing the menu cell positions (yeah, they're deffined as variables thx to IE) | ||
Line 34: | Line 43: | ||
//Constants containing the images for the table cells (odd/even/active Category/Link/Margin) | //Constants containing the images for the table cells (odd/even/active Category/Link/Margin) | ||
// odd Cells | // odd Cells | ||
- | var oCCellBg = "url( | + | var oCCellBg = "url(https://static.igem.org/mediawiki/2011/9/95/Darkgrey_cardboard_332x196_UGM.png)"; |
- | var oLCellBg = "url( | + | var oLCellBg = "url(https://static.igem.org/mediawiki/2011/e/e6/Stained_grey_cardboard_332x196_UGM.png)"; |
- | var oMCellBg = "url( | + | var oMCellBg = "url(https://static.igem.org/mediawiki/2011/9/95/Darkgrey_cardboard_332x196_UGM.png)"; |
// even Cells | // even Cells | ||
- | var eCCellBg = "url( | + | var eCCellBg = "url(https://static.igem.org/mediawiki/2011/a/ae/Burnt_cardboard_332x196_UGM.png)"; |
- | var eLCellBg = "url( | + | var eLCellBg = "url(https://static.igem.org/mediawiki/2011/6/66/Cardboard_332x196_UGM.png)"; |
- | var eMCellBg = "url( | + | var eMCellBg = "url(https://static.igem.org/mediawiki/2011/a/ae/Burnt_cardboard_332x196_UGM.png)"; |
// active Cells | // active Cells | ||
- | var aCCellBg = "url( | + | var aCCellBg = "url(https://static.igem.org/mediawiki/2011/e/e8/Green_paper_UGM.png)"; |
- | var aLCellBg = "url( | + | var aLCellBg = "url(https://static.igem.org/mediawiki/2011/0/03/Light_green_paper_UGM.png)"; |
- | var aMCellBg = "url( | + | var aMCellBg = "url(https://static.igem.org/mediawiki/2011/e/e8/Green_paper_UGM.png)"; |
//Receive a cell id and return it's prefix (which describes it's row) or it's suffix (it's col) | //Receive a cell id and return it's prefix (which describes it's row) or it's suffix (it's col) | ||
Line 144: | Line 153: | ||
</script> | </script> | ||
<style> | <style> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
dummy.rule { | dummy.rule { | ||
Line 156: | Line 159: | ||
body{ | body{ | ||
- | background-color: | + | background-color: black; |
- | background-image: url(" | + | background-image: url("https://static.igem.org/mediawiki/2011/9/98/Black_cardboard_tiled_UGM.png"); |
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
Line 167: | Line 170: | ||
div#globalWrapper{ | div#globalWrapper{ | ||
background-color: transparent; | background-color: transparent; | ||
+ | font-size: 100%; | ||
} | } | ||
Line 210: | Line 214: | ||
"Juice ITC", | "Juice ITC", | ||
*/ | */ | ||
+ | } | ||
+ | div#content h1.firstHeading{ | ||
+ | display: none; | ||
+ | } | ||
+ | div#bodyContent p{ | ||
+ | margin: 0em 0em 0em 0em; | ||
+ | } | ||
+ | div#contentSub{ | ||
+ | margin: 0 0 0.7em 0; | ||
} | } | ||
div#catlinks{ | div#catlinks{ | ||
Line 220: | Line 233: | ||
***********************************/ | ***********************************/ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/******************************* | /******************************* | ||
Body Text code | Body Text code | ||
*******************************/ | *******************************/ | ||
- | div# | + | div#textContent{ |
background-color: #FFFFFF; | background-color: #FFFFFF; | ||
- | background-image: url(" | + | background-image: url("https://static.igem.org/mediawiki/2011/4/40/White_paper_tiled_UGM.png"); |
- | margin: 0px 0px | + | margin: 0px 0px 0px 0px; |
padding: 15px 45px 15px 45px; | padding: 15px 45px 15px 45px; | ||
+ | } | ||
+ | div#textContent p{ | ||
+ | margin: .4em 0 .5em 0; | ||
+ | line-height: 1.5em; | ||
} | } | ||
h1{ | h1{ | ||
Line 364: | Line 253: | ||
h3{} | h3{} | ||
h4{} | h4{} | ||
- | # | + | #textContent a{ |
text-decoration: none; | text-decoration: none; | ||
- | color: # | + | color: #378256; /*green*/ |
} | } | ||
- | # | + | #textContent a:visited{ |
- | color: # | + | color: #34924c; /*lighter green*/ |
} | } | ||
img.hydrobium_logo{ | img.hydrobium_logo{ | ||
Line 376: | Line 265: | ||
width: 160px; | width: 160px; | ||
} | } | ||
- | # | + | #textContent a.anchor{ |
color: #000000; | color: #000000; | ||
} | } | ||
Line 394: | Line 283: | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
+ | |||
+ | |||
+ | /******************************* | ||
+ | iGEM Footer Instructions | ||
+ | *******************************/ | ||
+ | div#footer-box { | ||
+ | margin: 0 auto; | ||
+ | width: 990px; | ||
+ | padding: 5px; | ||
+ | background-color: #6b6b6b; | ||
+ | background-image: url("https://static.igem.org/mediawiki/2011/5/5b/Darkgrey_noise_UGM.png"); | ||
+ | border: none; | ||
+ | } | ||
+ | div#footer-box div#footer ul#f-list li a { | ||
+ | color: silver; | ||
+ | } | ||
+ | div#footer-box div#footer ul#f-list li a:hover { | ||
+ | color: white; | ||
+ | } | ||
+ | .tabbed_images { | ||
+ | list-style:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | clear:both; | ||
+ | } | ||
+ | |||
+ | .tabbed_images li { | ||
+ | list-style:none; | ||
+ | float:left; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | .tabbed_images li a { | ||
+ | border:1px solid #ccc; | ||
+ | display:block; | ||
+ | float:left; | ||
+ | margin:0 10px 0 0; | ||
+ | } | ||
+ | |||
+ | .tabbed_images li a.active, | ||
+ | .tabbed_images li a:hover { | ||
+ | border:1px solid #333; | ||
+ | } | ||
+ | |||
+ | .tabbed_images li a img { | ||
+ | border:none; | ||
+ | padding:2px; | ||
+ | margin:0; | ||
+ | margin-bottom:-5px; | ||
+ | } | ||
+ | |||
+ | #image_1, | ||
+ | #image_2, | ||
+ | #image_3, | ||
+ | #image_4, | ||
+ | #image_5 { | ||
+ | margin-top:10px; | ||
+ | padding:2px; | ||
+ | border:1px solid #ccc; | ||
</style> | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
- | + | <ul class="tabbed_images" id="tabs_example_three"> | |
- | + | <li><a href="#image_1"><img src="/stylesheets/sample_images/tabs_example_1_small.jpg"/></a></li> | |
- | + | <li><a href="#image_2"><img src="/stylesheets/sample_images/tabs_example_2_small.jpg"/></a></li> | |
- | + | <li><a href="#image_3"><img src="/stylesheets/sample_images/tabs_example_3_small.jpg"/></a></li> | |
- | + | <li><a href="#image_4"><img src="/stylesheets/sample_images/tabs_example_4_small.jpg"/></a></li> | |
- | + | </ul> | |
- | + | <img src="/stylesheets/sample_images/tabs_example_1_big.jpg" id="image_1"/> | |
- | + | <img src="/stylesheets/sample_images/tabs_example_2_big.jpg" id="image_2"/> | |
- | + | <img src="/stylesheets/sample_images/tabs_example_3_big.jpg" id="image_3"/> | |
- | + | <img src="/stylesheets/sample_images/tabs_example_4_big.jpg" id="image_4"/> <!--BEG Menu Table code--> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</body> | </body> | ||
</html> | </html> | ||
- | <div id=" | + | <div id="textContent"> |
{{{content}}} | {{{content}}} | ||
</div> | </div> | ||
- |
Latest revision as of 04:09, 25 September 2011
{{{content}}}