Template:Team:UFMG Brazil/ufmg style
From 2013.igem.org
(Difference between revisions)
(39 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | {| cellpadding="3" cellspacing="1" bordercolor="#fff" width="100%" align="center" id="menu_header" | ||
+ | |} | ||
+ | |||
<html> | <html> | ||
+ | |||
+ | <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'> | ||
+ | |||
<style> | <style> | ||
body | body | ||
Line 5: | Line 11: | ||
background-image:url('https://static.igem.org/mediawiki/2013/9/98/Ufmg_background.png'); | background-image:url('https://static.igem.org/mediawiki/2013/9/98/Ufmg_background.png'); | ||
background-repeat:repeat; | background-repeat:repeat; | ||
- | background-color:white; | + | background-color:white; |
+ | font-family: 'Source Sans Pro', sans-serif; | ||
+ | font-size: 12px; | ||
} | } | ||
- | + | /* | |
+ | #menubar * | ||
+ | { | ||
+ | color: black; | ||
+ | font-size: 10px; | ||
+ | background-color: red; | ||
+ | } | ||
+ | |||
+ | #menubar ul | ||
+ | { | ||
+ | color: red; | ||
+ | list-style: none; | ||
+ | } | ||
+ | */ | ||
+ | |||
+ | #catlinks | ||
+ | { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
#footer | #footer | ||
{ | { | ||
Line 30: | Line 57: | ||
#top-section | #top-section | ||
{ | { | ||
- | height: | + | height: 183px; |
background-size: cover; | background-size: cover; | ||
background-repeat:no-repeat; | background-repeat:no-repeat; | ||
background-color:white; | background-color:white; | ||
- | } | + | } |
+ | |||
+ | #p-logo | ||
+ | { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
Line 76: | Line 109: | ||
</script> | </script> | ||
+ | <!-- | ||
<script id="fill_header" type="text/javascript"> | <script id="fill_header" type="text/javascript"> | ||
plogo=document.getElementById("p-logo"); | plogo=document.getElementById("p-logo"); | ||
Line 83: | Line 117: | ||
ufmg_brazil_div=document.createElement("div"); | ufmg_brazil_div=document.createElement("div"); | ||
- | igem_logo_div.style. | + | igem_logo_img=document.createElement("img"); |
+ | cardbio_logo_img=document.createElement("img"); | ||
+ | ufmg_brazil_logo_img=document.createElement("img"); | ||
+ | |||
+ | igem_logo_img.src="https://static.igem.org/mediawiki/2013/c/c5/Ufmg_2013_igem_logo.png"; | ||
+ | cardbio_logo_img.src="https://static.igem.org/mediawiki/2013/d/df/Ufmg_2013_logo_cardbio.png"; | ||
+ | ufmg_brazil_logo_img.src="https://static.igem.org/mediawiki/2013/a/ad/Ufmg_2013_logo_equipe.png"; | ||
+ | |||
+ | igem_logo_a=document.createElement("a"); | ||
+ | cardbio_logo_a=document.createElement("a"); | ||
+ | ufmg_brazil_logo_a=document.createElement("a"); | ||
+ | |||
+ | igem_logo_a.href="https://2013.igem.org"; | ||
+ | cardbio_logo_a.href="https://2013.igem.org/wiki/index.php?title=Team:UFMG_Brazil"; | ||
+ | ufmg_brazil_logo_a.href="https://2013.igem.org/wiki/index.php?title=Team:UFMG_Brazil"; | ||
+ | |||
+ | igem_logo_a.appendChild(igem_logo_img); | ||
+ | cardbio_logo_a.appendChild(cardbio_logo_img); | ||
+ | ufmg_brazil_logo_a.appendChild(ufmg_brazil_logo_img); | ||
+ | |||
+ | igem_logo_div.appendChild(igem_logo_a); | ||
+ | cardbio_div.appendChild(cardbio_logo_a); | ||
+ | ufmg_brazil_div.appendChild(ufmg_brazil_logo_a); | ||
+ | |||
+ | igem_logo_div.style.display="inline"; | ||
+ | cardbio_div.style.display="inline"; | ||
+ | ufmg_brazil_div.style.display="inline"; | ||
+ | |||
+ | igem_logo_div.style.width="325px"; | ||
+ | cardbio_div.style.width="325px"; | ||
+ | ufmg_brazil_div.style.width="325px"; | ||
plogo.appendChild(igem_logo_div); | plogo.appendChild(igem_logo_div); | ||
+ | plogo.appendChild(cardbio_div); | ||
+ | plogo.appendChild(ufmg_brazil_div); | ||
+ | |||
+ | </script> | ||
+ | --> | ||
+ | |||
+ | <script type="text/javascript" id="create_header"> | ||
+ | |||
+ | plogo=document.getElementById("p-logo"); | ||
+ | plogo.innerHTML=""; | ||
+ | |||
+ | header_img=document.createElement("img"); | ||
+ | header_img.src="https://static.igem.org/mediawiki/2013/e/e6/Ufmg_2013_header.png"; | ||
+ | header_img.useMap="#header_map"; | ||
+ | |||
+ | plogo.appendChild(header_img); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | <map name="header_map"> | ||
+ | <area shape="rect" coords="0,0,140,170" href="https://2013.igem.org"> | ||
+ | <area shape="rect" coords="270,0,600,170" href="https://2013.igem.org/wiki/index.php?title=Team:UFMG_Brazil"> | ||
+ | <area shape="rect" coords="760,0,930,170" href="https://2013.igem.org/wiki/index.php?title=Team:UFMG_Brazil"> | ||
+ | </map> | ||
+ | |||
+ | <script id="create_bottom_menu" type="text/javascript"> | ||
+ | |||
+ | menu_div=document.createElement("div"); | ||
+ | menu_div.style.position="fixed"; | ||
+ | menu_div.style.bottom="0px"; | ||
+ | menu_div.style.background="#AA1111"; | ||
+ | menu_div.style.width="100%"; | ||
+ | menu_div.style.zIndex=9999; | ||
+ | menu_div.style.textAlign="center"; | ||
+ | menu_div.style.fontSize="25px"; | ||
+ | //Uncoment this line to enable the bottom bar. | ||
+ | //document.body.appendChild(menu_div); | ||
+ | |||
+ | menu_div.innerHTML="Test"; | ||
</script> | </script> |
Latest revision as of 00:07, 18 September 2013