CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 3: | Line 3: | ||
<!-- >>>>> Meta <<<<< --> | <!-- >>>>> Meta <<<<< --> | ||
− | + | <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' /> | |
<!-- >>>>> Link References <<<<< --> | <!-- >>>>> Link References <<<<< --> | ||
+ | <!-- | ||
+ | Responsive stylesheets | ||
+ | DEFAULT PROPERTIES ARE INHERITED FROM 1920px - 1080px RESOLUTION | ||
+ | |||
+ | DEFAULT PROPERTIES ARE INHERITED FROM 1535px WIDTH | ||
+ | |||
+ | < 1024px Resolution Desktop Screen | ||
+ | |||
+ | < 1366px Resolution Desktop Screen | ||
+ | --> | ||
<link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/CSS?action=raw&ctype=text/css" /> | <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/CSS?action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/xlarge?action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/large?action=raw&ctype=text/css" /> | ||
+ | <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/medium?action=raw&ctype=text/css" /> | ||
<!-- >>>>> Scripts <<<<< --> | <!-- >>>>> Scripts <<<<< --> | ||
− | |||
<!-- Call Jquery --> | <!-- Call Jquery --> | ||
<script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> | <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- On document.ready --> | <!-- On document.ready --> | ||
Line 45: | Line 41: | ||
// Change color of current link | // Change color of current link | ||
$('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); }); | $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); }); | ||
+ | |||
+ | /* Plugin for smooth scroll down */ | ||
+ | (function($) { | ||
+ | $.fn.goTo = function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $(this).offset().top + 'px'}, 1000); | ||
+ | return this; // for chaining... | ||
+ | } | ||
+ | })(jQuery); | ||
}); | }); | ||
</script> | </script> | ||
− | |||
<script> | <script> | ||
+ | /* Subsection onHover Functionality */ | ||
function onHoverChanges(idz){ | function onHoverChanges(idz){ | ||
− | + | $('#'+idz).css('opacity','1'); | |
} | } | ||
function onHoverHide(idz){ | function onHoverHide(idz){ | ||
− | + | $('.circlez').css('opacity','0.8'); | |
} | } | ||
</script> | </script> | ||
Line 78: | Line 83: | ||
$('.display_frame').removeClass('reveal'); | $('.display_frame').removeClass('reveal'); | ||
$('#' + stateMsg).addClass('reveal'); | $('#' + stateMsg).addClass('reveal'); | ||
+ | $('#footer').addClass('reveal'); | ||
$('#ct1').goTo(); | $('#ct1').goTo(); | ||
Line 88: | Line 94: | ||
<!-- Loading Screen --> | <!-- Loading Screen --> | ||
<div id='loading-background'> | <div id='loading-background'> | ||
− | <img id='loading-gif' src='https:// | + | <img id='loading-gif' src='https://static.igem.org/mediawiki/2017/c/c6/Greekom_loading_gif.gif' alt='Loading...' /> |
</div> | </div> | ||
<!-- Navigation Bar --> | <!-- Navigation Bar --> | ||
<div style='display: none;' id='main-wraper'> | <div style='display: none;' id='main-wraper'> | ||
− | |||
<div class='menu_wrap'></div> | <div class='menu_wrap'></div> | ||
<nav class='menu'> | <nav class='menu'> | ||
Line 161: | Line 166: | ||
<object id='PUBLIC_ENGAGEMENT' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/PUBLIC_ENGAGEMENT'></object> | <object id='PUBLIC_ENGAGEMENT' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/PUBLIC_ENGAGEMENT'></object> | ||
− | |||
− | |||
− | |||
</div> | </div> | ||
+ | |||
+ | <!-- Footer Box --> | ||
+ | <div id='footer' style='background:#ffffff; position: absolute; width:100%; height: 220px; z-index:1000;' class='hide'> | ||
+ | <img style='position:relative; width:100%; height:100%;' src='https://static.igem.org/mediawiki/2017/0/06/Greekom_footer.png' /> | ||
</div> | </div> | ||
− | <!-- | + | <!-- Special Style --> |
<style> | <style> | ||
#svg_graphics_box{ margin: 0px 0px 0px 0px;} | #svg_graphics_box{ margin: 0px 0px 0px 0px;} | ||
− | .circlez{ | + | .circlez{ opacity: 0.8; } |
− | + | ||
− | } | + | |
.animate_text{ font-size: 25px; } | .animate_text{ font-size: 25px; } | ||
− | .circlez, .animate_text{cursor: pointer;} | + | .circlez, .animate_text{ cursor: pointer; } |
.opace{ opacity: 1; } | .opace{ opacity: 1; } | ||
.hide{ display:none;} | .hide{ display:none;} | ||
+ | |||
.reveal{ display: block; } | .reveal{ display: block; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
video{ | video{ | ||
Line 195: | Line 195: | ||
top: 0%; | top: 0%; | ||
left: 0%; | left: 0%; | ||
− | width: 100%; | + | min-width: 100%; |
+ | min-height: 100%; | ||
+ | width: inherit; | ||
height: inherit; | height: inherit; | ||
z-index: 999; | z-index: 999; | ||
Line 201: | Line 203: | ||
} | } | ||
</style> | </style> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- This script exists due to the innability of changing the <x> attribute of <tspan> in circles --> | <!-- This script exists due to the innability of changing the <x> attribute of <tspan> in circles --> |
Revision as of 15:16, 20 September 2017