Difference between revisions of "Template:UChile-OpenBio"
Diegusleik (Talk | contribs) |
Diegusleik (Talk | contribs) |
||
Line 7: | Line 7: | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | ||
<link href='https://fonts.googleapis.com/css?family=Lato:100,100italic,300,300italic,400,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> | <link href='https://fonts.googleapis.com/css?family=Lato:100,100italic,300,300italic,400,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> | ||
+ | <script> | ||
+ | ; (function(a){a.fn.rwdImageMaps = function(){var c = this; var b = function(){c.each(function(){if (typeof (a(this).attr("usemap")) == "undefined"){return}var e = this, d = a(e); a("<img />").load(function(){var g = "width", m = "height", n = d.attr(g), j = d.attr(m); if (!n || !j){var o = new Image(); o.src = d.attr("src"); if (!n){n = o.width}if (!j){j = o.height}}var f = d.width() / 100, k = d.height() / 100, i = d.attr("usemap").replace("#", ""), l = "coords"; a('map[name="' + i + '"]').find("area").each(function(){var r = a(this); if (!r.data(l)){r.data(l, r.attr(l))}var q = r.data(l).split(","), p = new Array(q.length); for (var h = 0; h < p.length; ++h){if (h % 2 === 0){p[h] = parseInt(((q[h] / n) * 100) * f)} else{p[h] = parseInt(((q[h] / j) * 100) * k)}}r.attr(l, p.toString())})}).attr("src", d.attr("src"))})}; a(window).resize(b).trigger("resize"); return this}})(jQuery); | ||
+ | </script> | ||
<style> | <style> | ||
/* RESET */ | /* RESET */ | ||
Line 240: | Line 243: | ||
body{ | body{ | ||
background: none !important; | background: none !important; | ||
+ | } | ||
+ | .collaborations .titulo_seccion{ | ||
+ | background-color: #e21831; | ||
+ | } | ||
+ | .collaborations article .division .half{ | ||
+ | height: 100%; | ||
+ | width: 46%; | ||
+ | margin: 0; | ||
+ | padding-right: 3%; | ||
+ | border-right: solid #e21831 16px; | ||
+ | padding-top: 5em; | ||
+ | } | ||
+ | .collaborations article .division .half.last{ | ||
+ | padding-right: 0; | ||
+ | padding-left: 3%; | ||
+ | border: none; | ||
+ | } | ||
+ | #contentContainer img#activities_title{ | ||
+ | margin-bottom: -28px; | ||
+ | margin-top: -2em; | ||
+ | } | ||
+ | .item_actividad-titulo{ | ||
+ | background: #e21831; | ||
+ | padding: 1em; | ||
+ | border-radius: 10px; | ||
+ | color: white; | ||
+ | width: 50%; | ||
+ | margin-left: 44%; | ||
+ | } | ||
+ | .half.last .item_actividad-titulo{ | ||
+ | margin-left: 0; | ||
+ | margin-right: 44%; | ||
+ | } | ||
+ | .item_actividad-titulo:after{ | ||
+ | content:''; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2015/d/d6/Activities_circle_left.png'); | ||
+ | height: 40px; | ||
+ | width: 60px; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | margin-left: 220px; | ||
+ | margin-top: -37px; | ||
+ | } | ||
+ | .half.last .item_actividad-titulo:after{ | ||
+ | margin-left: -71px; | ||
+ | background-image: url('https://static.igem.org/mediawiki/2015/1/16/Activities_circle_right.png'); | ||
+ | } | ||
+ | .item_actividad-titulo span{ | ||
+ | display: block; | ||
+ | width:100%; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .item_actividad-titulo span:last-child{ | ||
+ | font-weight: 900; | ||
+ | } | ||
+ | .item_actividad-cuerpo{ | ||
+ | padding-top: 1.5em; | ||
+ | font-size: .8em; | ||
+ | } | ||
+ | em{ | ||
+ | font-style: italic; | ||
+ | } | ||
+ | #video{ | ||
+ | border:black 2px solid; | ||
+ | margin-top: 2em; | ||
+ | } | ||
+ | .morado .item_actividad-titulo{ | ||
+ | background-color: #9e147d; | ||
+ | } | ||
+ | .rosado .item_actividad-titulo{ | ||
+ | background-color: #e10071; | ||
+ | } | ||
+ | .morado .item_actividad-titulo:after{ | ||
+ | background-image: url('https://static.igem.org/mediawiki/2015/e/e1/Activities_circle_left_morado.png'); | ||
+ | } | ||
+ | .half.last .morado .item_actividad-titulo:after{ | ||
+ | background-image: url('https://static.igem.org/mediawiki/2015/9/98/Activities_circle_right_morado.png'); | ||
+ | } | ||
+ | .rosado .item_actividad-titulo:after{ | ||
+ | background-image: url('https://static.igem.org/mediawiki/2015/c/cb/Activities_circle_left_rosado.png'); | ||
+ | } | ||
+ | .half.last .rosado .item_actividad-titulo:after{ | ||
+ | background-image: url('https://static.igem.org/mediawiki/2015/d/d0/Activities_circle_right_rosado.png'); | ||
} | } | ||
</style> | </style> | ||
Line 250: | Line 336: | ||
<li><a href="https://2015.igem.org/Team:UChile-OpenBio">HOME</a></li> | <li><a href="https://2015.igem.org/Team:UChile-OpenBio">HOME</a></li> | ||
<li><a href="https://2015.igem.org/Team:UChile-OpenBio/Team">TEAM</a></li> | <li><a href="https://2015.igem.org/Team:UChile-OpenBio/Team">TEAM</a></li> | ||
− | <li><a href="https://2015.igem.org/Team:UChile-OpenBio/Description">PROJECT</a> | + | <li><a href="https://2015.igem.org/Team:UChile-OpenBio/Description">PROJECT</a></li> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<li><a href="https://2015.igem.org/Team:UChile-OpenBio/Experiments">EXPERIMENT</a></li> | <li><a href="https://2015.igem.org/Team:UChile-OpenBio/Experiments">EXPERIMENT</a></li> | ||
<li><a href="https://2015.igem.org/Team:UChile-OpenBio/Practices">HUMAN PRACTICES</a></li> | <li><a href="https://2015.igem.org/Team:UChile-OpenBio/Practices">HUMAN PRACTICES</a></li> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<li><a href="https://2015.igem.org/Team:UChile-OpenBio/Collaborations">COLLABORATIONS</a></li> | <li><a href="https://2015.igem.org/Team:UChile-OpenBio/Collaborations">COLLABORATIONS</a></li> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
</ul> | </ul> | ||
</nav> | </nav> |
Revision as of 16:51, 14 September 2015