Template:Team:UFMG Brazil/ufmg style
From 2013.igem.org
(Difference between revisions)
(25 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<html> | <html> | ||
+ | |||
+ | <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'> | ||
+ | |||
<style> | <style> | ||
body | body | ||
Line 8: | 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 33: | 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 79: | 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 123: | Line 154: | ||
</script> | </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"> | <script id="create_bottom_menu" type="text/javascript"> | ||
menu_div=document.createElement("div"); | menu_div=document.createElement("div"); | ||
- | |||
menu_div.style.position="fixed"; | menu_div.style.position="fixed"; | ||
menu_div.style.bottom="0px"; | menu_div.style.bottom="0px"; | ||
Line 133: | Line 183: | ||
menu_div.style.width="100%"; | menu_div.style.width="100%"; | ||
menu_div.style.zIndex=9999; | menu_div.style.zIndex=9999; | ||
- | document.body.appendChild(menu_div); | + | 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