Team:Sevilla/Templates/general
From 2011.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
<a href="http://www.us.es/" style="position:absolute;display: block;z-index:3;width: 100%;height: 100%;"></a> | <a href="http://www.us.es/" style="position:absolute;display: block;z-index:3;width: 100%;height: 100%;"></a> | ||
</div> | </div> | ||
+ | |||
+ | |||
<style> | <style> | ||
Line 130: | Line 132: | ||
width:730px; | width:730px; | ||
margin-left:160px; | margin-left:160px; | ||
- | + | ||
font-family: 'Josefine+Sans'; | font-family: 'Josefine+Sans'; | ||
} | } | ||
Line 214: | Line 216: | ||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
})(); | })(); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var userAgent = navigator.userAgent.toLowerCase(); | ||
+ | jQuery.browser = { | ||
+ | version: (userAgent.match( /.+(?:rv|it|ra|ie|me)[\/: ]([\d.]+)/ ) || [])[1], | ||
+ | chrome: /chrome/.test( userAgent ), | ||
+ | safari: /webkit/.test( userAgent ) &amp;&amp; !/chrome/.test( userAgent ), | ||
+ | opera: /opera/.test( userAgent ), | ||
+ | msie: /msie/.test( userAgent ) &amp;&amp; !/opera/.test( userAgent ), | ||
+ | mozilla: /mozilla/.test( userAgent ) &amp;&amp; !/(compatible|webkit)/.test( userAgent ) | ||
+ | }; | ||
+ | |||
+ | if ($.browser.chrome) { | ||
+ | $(p).css("font-size","15px"); | ||
+ | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 09:52, 5 August 2011