Team:Sevilla/Templates/general
From 2011.igem.org
(Difference between revisions)
(120 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <html> | + | {{:Team:Sevilla/Templates/lmenu}} |
- | < | + | <html> |
+ | |||
+ | <!-- links en el header--> | ||
+ | <div style="margin-top:-135px;width:270px;height:108px;position:absolute;"> | ||
+ | <a href="/Team:Sevilla" style="position:absolute;display: block;z-index:3;width: 100%;height: 100%;"></a> | ||
+ | </div> | ||
+ | <div style="margin-top:-102px;width:150px;margin-left:435px;height:50px;position:absolute;"> | ||
+ | <a href="https://2011.igem.org/Main_Page" style="position:absolute;display: block;z-index:3;width: 100%;height: 100%;"></a> | ||
+ | </div> | ||
+ | <div style="margin-top:-127px;width:105px;margin-left:780px;height:98px;position:absolute;"> | ||
+ | <a href="http://www.us.es/" style="position:absolute;display: block;z-index:3;width: 100%;height: 100%;"></a> | ||
+ | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<style> | <style> | ||
- | |||
- | + | /*=============================== LIMPIEZA DEL ESTILO============================*/ | |
+ | |||
+ | .left-menu, .left-menu a /*Estilo de la barra de arriba para que no se oculte*/ | ||
{ | { | ||
- | width: | + | width: 390px ! important; |
- | + | left: 0px; | |
- | border:none; | + | text-align: left; |
+ | color:blue ! important; | ||
+ | text-transform: none ! important; | ||
+ | /*Para cambiar el color de fondo de los enlaces de la izq*/ | ||
+ | background-color: transparent ! important; | ||
+ | border: none ! important; | ||
+ | } | ||
+ | |||
+ | .right-menu li a | ||
+ | { | ||
+ | color: blue ! important; | ||
+ | background-color: transparent ! important; | ||
} | } | ||
Line 26: | Line 42: | ||
} | } | ||
- | . | + | #menubar.left-menu /*dejar quieto el menu reflotante. Puede que sobre*/ |
+ | { | ||
+ | width:355px; | ||
+ | display:block; | ||
+ | float:left; | ||
+ | background-color:#C0C0C0; | ||
+ | border: black 2px solid; | ||
+ | } | ||
+ | |||
+ | #top-section | ||
+ | { | ||
+ | height: 135px; | ||
+ | width: 900px; | ||
+ | border:none; | ||
+ | background-color:#96D8CA; | ||
+ | background-image:url('https://static.igem.org/mediawiki/2011/a/a6/Header.png'); | ||
+ | background-repeat:no-repeat; | ||
+ | background-position:30px 35px; | ||
+ | } | ||
+ | |||
+ | #content | ||
+ | { | ||
+ | border:none; | ||
+ | width:900px; | ||
+ | padding:10px 0px 0px 0px ! important; | ||
+ | position:relative; | ||
+ | |||
+ | } | ||
+ | #bodyContent{position:relative;} | ||
+ | .firstHeading /*quitar el titulo de la pagina en formato wiki*/ | ||
{ | { | ||
display: none; | display: none; | ||
} | } | ||
- | /* | + | #globalWrapper /*Global,laterales*/ |
+ | { | ||
+ | background-color: #1F7C83; | ||
+ | } | ||
- | + | body /*golbalWrapper se queda corto por abajo*/ | |
- | + | { | |
- | + | background-color: #1F7C83; | |
- | + | } | |
+ | |||
+ | #menubar.right-menu #serach | ||
+ | { | ||
+ | display:none;margin-top:5px; | ||
+ | } | ||
+ | #menubar | ||
+ | { | ||
+ | margin-top:7px; | ||
+ | } | ||
+ | #search-controls | ||
+ | { | ||
+ | display:none;margin-top:-18px;margin-right:295px; | ||
+ | } | ||
+ | #serach | ||
+ | { | ||
+ | margin-left:8px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #catlinks /*quitar recuadro de abajo*/ | ||
+ | { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #footer-box | ||
+ | { | ||
border:none; | border:none; | ||
- | } | + | width: 900px; |
- | # | + | padding: 5px 0px 0px 0px; |
+ | margin-top:-8px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #topLink a /*para el enlace de arriba*/ | ||
{ | { | ||
- | + | display: block; | |
- | + | width:950px; | |
- | + | height:140px; | |
- | + | padding-top:63px; | |
} | } | ||
- | + | ||
+ | p/*para que el contenido de cualquier texto se quede bien puesto*/ | ||
{ | { | ||
- | + | text-align:justify; | |
- | z-index: | + | width:730px; |
- | + | margin-left:160px; | |
+ | |||
+ | font-family: 'Josefine+Sans'; | ||
+ | } | ||
+ | h1,h2,h3,h4 /*para titulos*/ | ||
+ | { | ||
+ | text-align:justify; | ||
+ | width:730px; | ||
+ | margin-left:160px; | ||
+ | } | ||
+ | ol li /*para las listas, que son muy delicadas*/ | ||
+ | { | ||
+ | text-align:justify; | ||
+ | width:688px; | ||
+ | margin-left:160px; | ||
+ | font-size:15px; | ||
+ | font-family: 'Josefine+Sans'; | ||
+ | } | ||
+ | #forum_onpage_id_0,forum_onpage_id_0 div /* estilo del los miniforos*/ | ||
+ | { | ||
+ | width:900px; | ||
+ | background-color:none ! important; | ||
+ | border-top:#C0C0C0 solid 2px; | ||
+ | background-color:#96D8CA; | ||
+ | } | ||
+ | #content p | ||
+ | { | ||
+ | font-family: 'Josefine+Sans'; | ||
+ | } | ||
+ | #footer-box li, #footer-box a /*Para que la imagen del anillo no deshabilite los enlaces del pie*/ | ||
+ | { | ||
+ | position:relative; | ||
+ | z-index:3; | ||
+ | } | ||
+ | |||
+ | /*=====================/Templates/hr==========*/ | ||
+ | |||
+ | hr { | ||
+ | border: 0; | ||
+ | width: 80% ; | ||
+ | height: 2px; | ||
+ | margin-left: 10px; | ||
} | } | ||
</style> | </style> | ||
- | </ | + | |
+ | |||
+ | |||
+ | <!--=============================== SCRIPTS ============================--> | ||
+ | |||
+ | <!--Busqueda--> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $("#menubar ul").append('<li><a id="serach" href="#">Search</a></li>','<li><a id="serach" href="https://2011.igem.org/Main_Page">iGem</a></li>'); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | $("#serach").click(function() { | ||
+ | $("#search-controls").css({'display':'block'}); | ||
+ | $("#search-controls a").css({'color':'black'}); | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
+ | |||
+ | |||
+ | <!--Meter arito en la cabecera, enlace inclusive. Nota!!la imagen esta superpuesta con el arito completo, el cual viene con el menu izquierdo, pero algo me dice q no borremos esto | ||
+ | <script type="text/javascript"> | ||
+ | $("#top-section").prepend('<a href="/Team:Sevilla"><img style="margin-left:30px;opacity:0.1;filter:alpha(opacity=10);" src="https://static.igem.org/mediawiki/2011/b/b0/RingUp.png" /></a> '); | ||
+ | </script> | ||
+ | --> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var _gaq = _gaq || []; | ||
+ | _gaq.push(['_setAccount', 'UA-24038508-1']); | ||
+ | _gaq.push(['_setDomainName', '.igem.org']); | ||
+ | _gaq.push(['_trackPageview']); | ||
+ | |||
+ | (function() { | ||
+ | var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | ||
+ | ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | ||
+ | var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | ||
+ | })(); | ||
+ | |||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | |||
+ | if ($.browser.webkit) { | ||
+ | $("p").css("font-size","15px"); | ||
+ | $(".titleF").css("font-size","20px"); | ||
+ | } | ||
+ | |||
+ | |||
+ | }); | ||
+ | </script> | ||
</html> | </html> |
Latest revision as of 10:37, 8 August 2011