|
|
(18 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
| <head> | | <head> |
| + | <link href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:Bootstrap?action=raw&ctype=text/css" rel="stylesheet"> |
| | | |
− | <link href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:Bootstrap?action=raw&ctype=text/css" rel="stylesheet"> | + | <link href="https://fonts.googleapis.com/css?family=Quicksand:300,400|Roboto:400,400i" rel="stylesheet"> |
| | | |
− | <!--<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400|Roboto:400,400i" rel="stylesheet">-->
| + | <link href="https://2016.igem.org/Team:Imperial_College/Resources/CSS:NEStyle?action=raw&ctype=text/css" rel="stylesheet"> |
| | | |
| + | <style> |
| + | /********************************* DEFAULT WIKI SETTINGS ********************************/ |
| | | |
| + | #sideMenu, |
| + | #top_title { |
| + | display: none; |
| + | } |
| | | |
| + | #content { |
| + | padding: 0px; |
| + | width: 100%; |
| + | } |
| | | |
| + | body { |
| + | background-color: white; |
| + | width: 100%; |
| + | } |
| | | |
| + | #bodyContent h1, |
| + | #bodyContent h2, |
| + | #bodyContent h3, |
| + | #bodyContent h4, |
| + | #bodyContent h5 { |
| + | margin-bottom: 0px; |
| + | } |
| | | |
| + | #bodyContent { |
| + | padding-right: 0px; |
| + | } |
| | | |
| + | #globalWrapper { |
| + | font-size: 100%; |
| + | padding: 0px; |
| + | margin: -10px -20px -20px -20px; |
| + | } |
| | | |
| + | .navbar-collapse { |
| + | padding-left: 0px; |
| + | } |
| | | |
| + | #banner { |
| + | margin-top: 50px; |
| + | } |
| | | |
− | /* Navbar */
| + | #sideMenu { |
| + | margin-top: 10px; |
| + | } |
| | | |
− | .some-padding { | + | .dropdown-menu li:hover .sub-menu { |
− | padding-top: 20px;
| + | visibility: visible; |
− | } | + | } |
| | | |
| + | .dropdown:hover .dropdown-menu { |
| + | display: block; |
| + | } |
| | | |
− | /*adds necessary spacing to the navbar so links display correctly below the black iGEM navbar */
| + | .navbar-nav .dropdown-menu, |
| + | .navbar .dropdown-menu { |
| + | margin-top: 0; |
| + | } |
| | | |
− | .navbar-default {
| |
− | background-color: white;
| |
− | border-color: rgba(255, 255, 255, 0.3);
| |
− | font-family: 'Quicksand', sans-serif;
| |
− | font-weight: 300;
| |
− | -webkit-transition: all 0.35s;
| |
− | -moz-transition: all 0.35s;
| |
− | transition: all 0.35s;
| |
− | }
| |
| | | |
| + | /********************************* RESPONSIVE STYLING ********************************/ |
| | | |
− | /*NavBar Imperial iGEM Information*/
| |
| | | |
− | .navbar-default .navbar-header .navbar-brand {
| + | /* IF THE SCREEN IS LESS THAN 1000PX */ |
− | color: #52658F;
| + | |
− | font-family: 'Quicksand', sans-serif;
| + | |
− | font-weight: bold;
| + | |
− | font-size: 22px;
| + | |
− | display: inline-block;
| + | |
− | }
| + | |
| | | |
| + | @media only screen and (max-width: 1000px) { |
| + | #content { |
| + | width: 100%; |
| + | } |
| + | .menu_wrapper { |
| + | width: 15%; |
| + | } |
| + | .content_wrapper { |
| + | margin-left: 15%; |
| + | } |
| + | .menu_item { |
| + | display: block; |
| + | } |
| + | .icon { |
| + | display: none; |
| + | } |
| + | .highlight { |
| + | padding: 10px 0px; |
| + | } |
| + | } |
| | | |
− | /*Changes colour of the Imperial iGEM logo in the navbar.*/
| |
| | | |
− | .navbar-default .navbar-header .navbar-brand:hover,
| + | /* IF THE SCREEN IS LESS THAN 680PX */ |
− | .navbar-default .navbar-header .navbar-brand:focus {
| + | |
− | color: #52658F;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .navbar-header .navbar-toggle {
| + | @media only screen and (max-width: 680px) { |
− | font-family: 'Quicksand', sans-serif;
| + | .collapsable_menu_control { |
− | font-weight: 400;
| + | display: block; |
− | font-size: 14px;
| + | } |
− | color: #333A56;
| + | .menu_item { |
− | text-transform: uppercase;
| + | display: none; |
− | } | + | } |
| + | .menu_wrapper { |
| + | width: 100%; |
| + | height: 15%; |
| + | position: relative; |
| + | } |
| + | .content_wrapper { |
| + | width: 100%; |
| + | margin-left: 0px; |
| + | } |
| + | .column.half_size { |
| + | width: 100%; |
| + | } |
| + | .column img { |
| + | width: 100%; |
| + | padding: 5px 0px; |
| + | } |
| + | .icon { |
| + | display: block; |
| + | } |
| + | .highlight { |
| + | padding: 15px 5px; |
| + | } |
| + | } |
| | | |
− | .navbar-default .nav > li > a,
| + | </style> |
− | .navbar-default .nav > li > a:focus {
| + | |
− | text-transform: uppercase;
| + | |
− | font-family: 'Quicksand', sans-serif;
| + | |
− | font-weight: 400;
| + | |
− | font-size: 14px;
| + | |
− | color: #222222;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .nav > li > a:hover,
| + | <script> |
− | .navbar-default .nav > li > a:focus:hover {
| + | |
− | color: #333A56;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .nav > li.active > a, | + | // This is the jquery part of your template. |
− | .navbar-default .nav > li.active > a:focus { | + | // Try not modify any of this code too much since it makes your menu work. |
− | color: #333A56 !important;
| + | |
− | background-color: white;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .nav > li.active > a:hover, | + | $(document).ready(function() { |
− | .navbar-default .nav > li.active > a:focus:hover {
| + | |
− | background-color: white;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .navbar-toggle { | + | $("#HQ_page").attr('id',''); |
− | border: none;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .dropdown-menu > li > a:hover,
| + | // call the functions that control the menu |
− | .navbar-default .dropdown-menu > li > a:focus {
| + | menu_functionality(); |
− | background-color: #F7F5E6;
| + | hide_show_menu(); |
− | color: #333A56;
| + | |
− | }
| + | |
| | | |
− | .navbar-default .dropdown-menu {
| |
− | border: none;
| |
− | outline: none;
| |
− | font-family: 'Quicksand', sans-serif;
| |
− | text-transform: uppercase;
| |
− | font-weight: 400 !important;
| |
− | font-size: 13.2px !important;
| |
− | color: #222222;
| |
− | }
| |
| | | |
− | #sitelinks a {
| |
− | display: inline-block;
| |
− | border: 3px solid #fff;
| |
− | color: #fff;
| |
− | padding: 10px 20px;
| |
− | margin: 10px
| |
− | }
| |
| | | |
− | #footer {
| + | //this function controls the expand and collapse buttons of the menu and changes the +/- symbols |
− | background: #333;
| + | function menu_functionality() { |
− | text-align: center;
| + | |
− | color: #fff;
| + | |
− | line-height: 50px;
| + | |
− | }
| + | |
| | | |
− | #footer a {
| + | //when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu |
− | color: #fff;
| + | $(".menu_button").click(function(){ |
− | }
| + | |
| | | |
| + | // add or remove the class "open" , this class holds the "-" |
| + | $(this).children().toggleClass("open"); |
| + | // show or hide the submenu |
| + | $(this).next('.submenu_wrapper').fadeToggle(400); |
| + | }); |
| | | |
− | /* Titles and text */ | + | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu |
| + | $("#display_menu_control").click(function(){ |
| + | $('#menu_content').fadeToggle(400); |
| + | }); |
| | | |
− | specialh1 {
| + | // call the current page highlight function |
− | font-size: 100px;
| + | highlight_current_page(); |
− | font-weight: 400;
| + | } |
− | font-family: 'Quicksand', sans-serif;
| + | |
− | text-align: center;
| + | |
− | color: #333A56;
| + | |
− | letter-spacing: 3px;
| + | |
− | border-bottom: none;
| + | |
− | } | + | |
| | | |
− | specialh2 {
| |
− | font-size: 40px;
| |
− | font-weight: 400;
| |
− | font-family: 'Quicksand', sans-serif;
| |
− | text-align: center;
| |
− | color: #333A56;
| |
− | border-bottom: none;
| |
− | text-transform: uppercase;
| |
− | }
| |
| | | |
− | specialh3 {
| + | // call the highlight current page function to show it on the menu with a different background color |
− | font-size: 30px;
| + | function highlight_current_page() { |
− | font-weight: 400;
| + | |
− | font-family: 'Quicksand', sans-serif;
| + | |
− | text-align: center;
| + | |
− | color: #52658F;
| + | |
− | border-bottom: none;
| + | |
− | }
| + | |
| | | |
− | specialh4 {
| + | // select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color |
− | font-size: 22px;
| + | $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page"); |
− | font-weight: 400;
| + | |
− | font-family: 'Quicksand', sans-serif;
| + | |
− | text-align: center;
| + | |
− | color: #52658F;
| + | |
− | border-bottom: none;
| + | |
− | }
| + | |
| | | |
− | h1 {
| + | // now that the current_page class has been added to a menu item, make the submenu fade in |
− | font-family: 'Quicksand', sans-serif !important;
| + | $(".current_page").parents(".submenu_wrapper").fadeIn(400); |
− | font-size: 50px !important;
| + | // change the +/- symbol of the corresponding menu button |
− | }
| + | $(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open"); |
| | | |
− | h2 {
| + | } |
− | font-family: 'Quicksand', sans-serif !important;
| + | |
− | font-size: 40px !important;
| + | |
− | } | + | |
| | | |
− | h3 {
| |
− | font-family: 'Quicksand', sans-serif !important;
| |
− | font-size: 35px !important;
| |
− | }
| |
| | | |
− | h4 {
| |
− | font-family: 'Quicksand', sans-serif !important;
| |
− | font-size: 30px !important;
| |
− | }
| |
| | | |
− | p {
| + | // allow button on the black menu bar to show/hide the side menu |
− | font-family: 'Roboto', sans-serif !important;
| + | function hide_show_menu() { |
− | ;
| + | |
− | font-weight: 400 !important;
| + | |
− | ;
| + | |
− | font-size: 18px !important;
| + | |
− | line-height: 1.5;
| + | |
− | margin-bottom: 20px;
| + | |
− | }
| + | |
| | | |
− | .bg-primary { | + | // in case you preview mode is selected, the menu is hidden for better visibility |
− | background-color: #F7F5E6;
| + | if (window.location.href.indexOf("submit") >= 0) { |
− | color: black;
| + | $(".igem_2017_menu_wrapper").hide(); |
− | } | + | } |
| | | |
− | .bg-dark { | + | // if the black menu bar has been loaded |
− | background-color: #333A56;
| + | if (document.getElementById('bars_item')) { |
− | }
| + | |
| | | |
− | .bg-danger { | + | // when the "bars_item" has been clicked |
− | background-color: #52658F;
| + | $("#bars_item").click(function() { |
− | }
| + | $("#sideMenu").hide(); |
| | | |
− | .text-faded {
| + | // show/hide the menu wrapper |
− | color: rgba(255, 255, 255, 0.7);
| + | $(".igem_2017_menu_wrapper").fadeToggle("100"); |
− | } | + | }); |
| + | } |
| | | |
− | .text-dark {
| + | // because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet |
− | color: rgba(38, 12, 12, 0.8);
| + | else { |
− | } | + | setTimeout(hide_show_menu, 15); |
| + | } |
| + | } |
| | | |
− | section {
| |
− | padding: 100px 0;
| |
− | }
| |
| | | |
− | aside {
| + | }); |
− | padding: 50px 0;
| + | |
− | } | + | |
| | | |
− | .no-padding {
| |
− | padding: 0;
| |
− | }
| |
| | | |
− | .section-heading {
| + | </script> |
− | margin-top: 0;
| + | </head> |
− | }
| + | |
| | | |
− | .service-box {
| |
− | max-width: 400px;
| |
− | margin: 50px auto 0;
| |
− | }
| |
| | | |
− | .call-to-action h2 {
| |
− | margin: 0 auto 20px;
| |
− | }
| |
| | | |
− | .text-primary {
| + | <body> |
− | color: #333A56;
| + | <nav class="navbar navbar-default navbar-fixed-top" style=" padding-top: 20px;"> |
− | }
| + | <div class="container-fluid"> |
| + | <div class="navbar-header"> |
| | | |
− | .no-gutter > [class*='col-'] {
| + | <a class="navbar-logo" href="https://2017.igem.org/Team:UIOWA"> |
− | padding-right: 0;
| + | <image class="img-responsive" src="https://static.igem.org/mediawiki/2017/7/7c/T--UIOWA--logo-DNA.png" height="120" width="120"> |
− | padding-left: 0;
| + | </a> |
− | }
| + | |
| | | |
− | .btn-default {
| |
− | color: #222222;
| |
− | background-color: #F7F5E6!important;
| |
− | border-color: white;
| |
− | -webkit-transition: all 0.35s;
| |
− | -moz-transition: all 0.35s;
| |
− | transition: all 0.35s;
| |
− | }
| |
| | | |
− | .btn-default:hover,
| + | </div> |
− | .btn-default:focus,
| + | |
− | .btn-default.focus,
| + | |
− | .btn-default:active,
| + | |
− | .btn-default.active,
| + | |
− | .open > .dropdown-toggle.btn-default {
| + | |
− | color: #222222;
| + | |
− | background-color: #E8E8E8 !important;
| + | |
− | border-color: #ededed !important;
| + | |
− | }
| + | |
− | | + | |
− | .btn-default:active,
| + | |
− | .btn-default.active,
| + | |
− | .open > .dropdown-toggle.btn-default {
| + | |
− | background-image: none;
| + | |
− | }
| + | |
− | | + | |
− | .btn-default.disabled,
| + | |
− | .btn-default[disabled],
| + | |
− | fieldset[disabled] .btn-default,
| + | |
− | .btn-default.disabled:hover,
| + | |
− | .btn-default[disabled]:hover,
| + | |
− | fieldset[disabled] .btn-default:hover,
| + | |
− | .btn-default.disabled:focus,
| + | |
− | .btn-default[disabled]:focus,
| + | |
− | fieldset[disabled] .btn-default:focus,
| + | |
− | .btn-default.disabled.focus,
| + | |
− | .btn-default[disabled].focus,
| + | |
− | fieldset[disabled] .btn-default.focus,
| + | |
− | .btn-default.disabled:active,
| + | |
− | .btn-default[disabled]:active,
| + | |
− | fieldset[disabled] .btn-default:active,
| + | |
− | .btn-default.disabled.active,
| + | |
− | .btn-default[disabled].active,
| + | |
− | fieldset[disabled] .btn-default.active {
| + | |
− | background-color: white;
| + | |
− | border-color: white;
| + | |
− | }
| + | |
− | | + | |
− | .btn-default .badge {
| + | |
− | color: white;
| + | |
− | background-color: #222222;
| + | |
− | }
| + | |
− | | + | |
− | .btn-primary {
| + | |
− | color: white !important;
| + | |
− | background-color: #52658F !important;
| + | |
− | border-color: #333A56 !important;
| + | |
− | -webkit-transition: all 0.35s;
| + | |
− | -moz-transition: all 0.35s;
| + | |
− | transition: all 0.35s;
| + | |
− | }
| + | |
− | | + | |
− | .btn-primary:hover,
| + | |
− | .btn-primary:focus,
| + | |
− | .btn-primary.focus,
| + | |
− | .btn-primary:active,
| + | |
− | .btn-primary.active,
| + | |
− | .open > .dropdown-toggle.btn-primary {
| + | |
− | color: white !important;
| + | |
− | background-color: #333A56 !important;
| + | |
− | border-color: #52658F !important;
| + | |
− | }
| + | |
− | | + | |
− | .btn-primary:active,
| + | |
− | .btn-primary.active,
| + | |
− | .open > .dropdown-toggle.btn-primary {
| + | |
− | background-image: none;
| + | |
− | }
| + | |
− | | + | |
− | .btn-primary.disabled,
| + | |
− | .btn-primary[disabled],
| + | |
− | fieldset[disabled] .btn-primary,
| + | |
− | .btn-primary.disabled:hover,
| + | |
− | .btn-primary[disabled]:hover,
| + | |
− | fieldset[disabled] .btn-primary:hover,
| + | |
− | .btn-primary.disabled:focus,
| + | |
− | .btn-primary[disabled]:focus,
| + | |
− | fieldset[disabled] .btn-primary:focus,
| + | |
− | .btn-primary.disabled.focus,
| + | |
− | .btn-primary[disabled].focus,
| + | |
− | fieldset[disabled] .btn-primary.focus,
| + | |
− | .btn-primary.disabled:active,
| + | |
− | .btn-primary[disabled]:active,
| + | |
− | fieldset[disabled] .btn-primary:active,
| + | |
− | .btn-primary.disabled.active,
| + | |
− | .btn-primary[disabled].active,
| + | |
− | fieldset[disabled] .btn-primary.active {
| + | |
− | background-color: #333A56;
| + | |
− | border-color: #333A56;
| + | |
− | }
| + | |
− | | + | |
− | .btn-primary .badge {
| + | |
− | color: #333A56;
| + | |
− | background-color: white;
| + | |
− | }
| + | |
− | | + | |
− | .btn {
| + | |
− | font-family: 'Quicksand', sans-serif;
| + | |
− | border: none;
| + | |
− | border-radius: 300px;
| + | |
− | font-weight: 400;
| + | |
− | font-size: 15px !important;
| + | |
− | text-transform: uppercase;
| + | |
− | }
| + | |
− | | + | |
− | .btn-xl {
| + | |
− | padding: 15px 30px;
| + | |
− | }
| + | |
− | | + | |
− | ::-moz-selection {
| + | |
− | color: white;
| + | |
− | text-shadow: none;
| + | |
− | background: #222222;
| + | |
− | }
| + | |
− | | + | |
− | ::selection {
| + | |
− | color: white;
| + | |
− | text-shadow: none;
| + | |
− | background: #222222;
| + | |
− | }
| + | |
− | | + | |
− | img::selection {
| + | |
− | color: white;
| + | |
− | background: transparent;
| + | |
− | }
| + | |
− | | + | |
− | img::-moz-selection {
| + | |
− | color: white;
| + | |
− | background: transparent;
| + | |
− | }
| + | |
− | | + | |
− | body {
| + | |
− | webkit-tap-highlight-color: #222222;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /* TIMELINE */
| + | |
− | | + | |
− | img {
| + | |
− | max-width: 100%;
| + | |
− | }
| + | |
− | | + | |
− | h1,
| + | |
− | h2 {
| + | |
− | font-family: "Open Sans", sans-serif;
| + | |
− | font-weight: bold;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /* -------------------------------- Modules - reusable parts of our design -------------------------------- */
| + | |
− | | + | |
− | .cd-container {
| + | |
− | /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
| + | |
− | width: 90%;
| + | |
− | max-width: 1170px;
| + | |
− | margin: 0 auto;
| + | |
− | }
| + | |
− | | + | |
− | .cd-container::after {
| + | |
− | /* clearfix */
| + | |
− | content: '';
| + | |
− | display: table;
| + | |
− | clear: both;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | /* -------------------------------- Main components -------------------------------- */
| + | |
− | | + | |
− | header {
| + | |
− | height: 200px;
| + | |
− | line-height: 200px;
| + | |
− | text-align: center;
| + | |
− | background: #303e49;
| + | |
− | }
| + | |
− | | + | |
− | header h1 {
| + | |
− | color: white;
| + | |
− | font-size: 18px;
| + | |
− | font-size: 1.125rem;
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 1170px) {
| + | |
− | header {
| + | |
− | height: 300px;
| + | |
− | line-height: 300px;
| + | |
− | }
| + | |
− | header h1 {
| + | |
− | font-size: 24px;
| + | |
− | font-size: 1.5rem;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | #cd-timeline {
| + | |
− | position: relative;
| + | |
− | padding: 2em 0;
| + | |
− | margin-top: 2em;
| + | |
− | margin-bottom: 2em;
| + | |
− | }
| + | |
− | | + | |
− | #cd-timeline::before {
| + | |
− | /* this is the vertical line */
| + | |
− | content: '';
| + | |
− | position: absolute;
| + | |
− | top: 0;
| + | |
− | left: 18px;
| + | |
− | height: 100%;
| + | |
− | width: 4px;
| + | |
− | background: #d7e4ed;
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 1170px) {
| + | |
− | #cd-timeline {
| + | |
− | margin-top: 3em;
| + | |
− | margin-bottom: 3em;
| + | |
− | }
| + | |
− | #cd-timeline::before {
| + | |
− | left: 50%;
| + | |
− | margin-left: -2px;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-block {
| + | |
− | position: relative;
| + | |
− | margin: 2em 0;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-block:after {
| + | |
− | content: "";
| + | |
− | display: table;
| + | |
− | clear: both;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-block:first-child {
| + | |
− | margin-top: 0;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-block:last-child {
| + | |
− | margin-bottom: 0;
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 1170px) {
| + | |
− | .cd-timeline-block {
| + | |
− | margin: 4em 0;
| + | |
− | }
| + | |
− | .cd-timeline-block:first-child {
| + | |
− | margin-top: 0;
| + | |
− | }
| + | |
− | .cd-timeline-block:last-child {
| + | |
− | margin-bottom: 0;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-img {
| + | |
− | position: absolute;
| + | |
− | top: 0;
| + | |
− | left: 0;
| + | |
− | width: 40px;
| + | |
− | height: 40px;
| + | |
− | border-radius: 50%;
| + | |
− | box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-img img {
| + | |
− | display: block;
| + | |
− | width: 24px;
| + | |
− | height: 24px;
| + | |
− | position: relative;
| + | |
− | left: 50%;
| + | |
− | top: 50%;
| + | |
− | margin-left: -12px;
| + | |
− | margin-top: -12px;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-img.cd-picture {
| + | |
− | background: #75ce66;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-img.cd-movie {
| + | |
− | background: #c03b44;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-img.cd-location {
| + | |
− | background: #f0ca45;
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 1170px) {
| + | |
− | .cd-timeline-img {
| + | |
− | width: 60px;
| + | |
− | height: 60px;
| + | |
− | left: 50%;
| + | |
− | margin-left: -30px;
| + | |
− | /* Force Hardware Acceleration in WebKit */
| + | |
− | -webkit-transform: translateZ(0);
| + | |
− | -webkit-backface-visibility: hidden;
| + | |
− | }
| + | |
− | .cssanimations .cd-timeline-img.is-hidden {
| + | |
− | visibility: hidden;
| + | |
− | }
| + | |
− | .cssanimations .cd-timeline-img.bounce-in {
| + | |
− | visibility: visible;
| + | |
− | -webkit-animation: cd-bounce-1 0.6s;
| + | |
− | -moz-animation: cd-bounce-1 0.6s;
| + | |
− | animation: cd-bounce-1 0.6s;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes cd-bounce-1 {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: scale(0.5);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: scale(1.2);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -webkit-transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes cd-bounce-1 {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: scale(0.5);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: scale(1.2);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -moz-transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes cd-bounce-1 {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: scale(0.5);
| + | |
− | -moz-transform: scale(0.5);
| + | |
− | -ms-transform: scale(0.5);
| + | |
− | -o-transform: scale(0.5);
| + | |
− | transform: scale(0.5);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: scale(1.2);
| + | |
− | -moz-transform: scale(1.2);
| + | |
− | -ms-transform: scale(1.2);
| + | |
− | -o-transform: scale(1.2);
| + | |
− | transform: scale(1.2);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -webkit-transform: scale(1);
| + | |
− | -moz-transform: scale(1);
| + | |
− | -ms-transform: scale(1);
| + | |
− | -o-transform: scale(1);
| + | |
− | transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content {
| + | |
− | position: relative;
| + | |
− | margin-left: 60px;
| + | |
− | background: white;
| + | |
− | border-radius: 0.25em;
| + | |
− | padding: 1em;
| + | |
− | box-shadow: 0 3px 0 #d7e4ed;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content:after {
| + | |
− | content: "";
| + | |
− | display: table;
| + | |
− | clear: both;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content h2 {
| + | |
− | color: #303e49;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content p,
| + | |
− | .cd-timeline-content .cd-read-more,
| + | |
− | .cd-timeline-content .cd-date {
| + | |
− | font-size: 13px;
| + | |
− | font-size: 0.8125rem;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content .cd-read-more,
| + | |
− | .cd-timeline-content .cd-date {
| + | |
− | display: inline-block;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content p {
| + | |
− | margin: 1em 0;
| + | |
− | line-height: 1.6;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content .cd-read-more {
| + | |
− | float: right;
| + | |
− | padding: .8em 1em;
| + | |
− | background: #acb7c0;
| + | |
− | color: white;
| + | |
− | border-radius: 0.25em;
| + | |
− | }
| + | |
− | | + | |
− | .no-touch .cd-timeline-content .cd-read-more:hover {
| + | |
− | background-color: #bac4cb;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content .cd-date {
| + | |
− | float: left;
| + | |
− | padding: .8em 0;
| + | |
− | opacity: .7;
| + | |
− | }
| + | |
− | | + | |
− | .cd-timeline-content::before {
| + | |
− | content: '';
| + | |
− | position: absolute;
| + | |
− | top: 16px;
| + | |
− | right: 100%;
| + | |
− | height: 0;
| + | |
− | width: 0;
| + | |
− | border: 7px solid transparent;
| + | |
− | border-right: 7px solid white;
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 768px) {
| + | |
− | .cd-timeline-content h2 {
| + | |
− | font-size: 20px;
| + | |
− | font-size: 1.25rem;
| + | |
− | }
| + | |
− | .cd-timeline-content p {
| + | |
− | font-size: 16px;
| + | |
− | font-size: 1rem;
| + | |
− | }
| + | |
− | .cd-timeline-content .cd-read-more,
| + | |
− | .cd-timeline-content .cd-date {
| + | |
− | font-size: 14px;
| + | |
− | font-size: 0.875rem;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 1170px) {
| + | |
− | .cd-timeline-content {
| + | |
− | margin-left: 0;
| + | |
− | padding: 1.6em;
| + | |
− | width: 45%;
| + | |
− | }
| + | |
− | .cd-timeline-content::before {
| + | |
− | top: 24px;
| + | |
− | left: 100%;
| + | |
− | border-color: transparent;
| + | |
− | border-left-color: white;
| + | |
− | }
| + | |
− | .cd-timeline-content .cd-read-more {
| + | |
− | float: left;
| + | |
− | }
| + | |
− | .cd-timeline-content .cd-date {
| + | |
− | position: absolute;
| + | |
− | width: 100%;
| + | |
− | left: 122%;
| + | |
− | top: 6px;
| + | |
− | font-size: 16px;
| + | |
− | font-size: 1rem;
| + | |
− | }
| + | |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content {
| + | |
− | float: right;
| + | |
− | }
| + | |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content::before {
| + | |
− | top: 24px;
| + | |
− | left: auto;
| + | |
− | right: 100%;
| + | |
− | border-color: transparent;
| + | |
− | border-right-color: white;
| + | |
− | }
| + | |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-read-more {
| + | |
− | float: right;
| + | |
− | }
| + | |
− | .cd-timeline-block:nth-child(even) .cd-timeline-content .cd-date {
| + | |
− | left: auto;
| + | |
− | right: 122%;
| + | |
− | text-align: right;
| + | |
− | }
| + | |
− | .cssanimations .cd-timeline-content.is-hidden {
| + | |
− | visibility: hidden;
| + | |
− | }
| + | |
− | .cssanimations .cd-timeline-content.bounce-in {
| + | |
− | visibility: visible;
| + | |
− | -webkit-animation: cd-bounce-2 0.6s;
| + | |
− | -moz-animation: cd-bounce-2 0.6s;
| + | |
− | animation: cd-bounce-2 0.6s;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @media only screen and (min-width: 1170px) {
| + | |
− | /* inverse bounce effect on even content blocks */
| + | |
− | .cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
| + | |
− | -webkit-animation: cd-bounce-2-inverse 0.6s;
| + | |
− | -moz-animation: cd-bounce-2-inverse 0.6s;
| + | |
− | animation: cd-bounce-2-inverse 0.6s;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes cd-bounce-2 {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateX(-100px);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateX(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -webkit-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes cd-bounce-2 {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: translateX(-100px);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: translateX(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -moz-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes cd-bounce-2 {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateX(-100px);
| + | |
− | -moz-transform: translateX(-100px);
| + | |
− | -ms-transform: translateX(-100px);
| + | |
− | -o-transform: translateX(-100px);
| + | |
− | transform: translateX(-100px);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateX(20px);
| + | |
− | -moz-transform: translateX(20px);
| + | |
− | -ms-transform: translateX(20px);
| + | |
− | -o-transform: translateX(20px);
| + | |
− | transform: translateX(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -webkit-transform: translateX(0);
| + | |
− | -moz-transform: translateX(0);
| + | |
− | -ms-transform: translateX(0);
| + | |
− | -o-transform: translateX(0);
| + | |
− | transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes cd-bounce-2-inverse {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateX(100px);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -webkit-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes cd-bounce-2-inverse {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: translateX(100px);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -moz-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes cd-bounce-2-inverse {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateX(100px);
| + | |
− | -moz-transform: translateX(100px);
| + | |
− | -ms-transform: translateX(100px);
| + | |
− | -o-transform: translateX(100px);
| + | |
− | transform: translateX(100px);
| + | |
− | }
| + | |
− | 60% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateX(-20px);
| + | |
− | -moz-transform: translateX(-20px);
| + | |
− | -ms-transform: translateX(-20px);
| + | |
− | -o-transform: translateX(-20px);
| + | |
− | transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | -webkit-transform: translateX(0);
| + | |
− | -moz-transform: translateX(0);
| + | |
− | -ms-transform: translateX(0);
| + | |
− | -o-transform: translateX(0);
| + | |
− | transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .timeline {
| + | |
− | background-color: rgb(82, 101, 143);
| + | |
− | }
| + | |
− | | + | |
− | .animated {
| + | |
− | -webkit-animation-fill-mode: both;
| + | |
− | -moz-animation-fill-mode: both;
| + | |
− | -ms-animation-fill-mode: both;
| + | |
− | -o-animation-fill-mode: both;
| + | |
− | animation-fill-mode: both;
| + | |
− | -webkit-animation-duration: 1s;
| + | |
− | -moz-animation-duration: 1s;
| + | |
− | -ms-animation-duration: 1s;
| + | |
− | -o-animation-duration: 1s;
| + | |
− | animation-duration: 1s;
| + | |
− | }
| + | |
− | | + | |
− | .animated.hinge {
| + | |
− | -webkit-animation-duration: 2s;
| + | |
− | -moz-animation-duration: 2s;
| + | |
− | -ms-animation-duration: 2s;
| + | |
− | -o-animation-duration: 2s;
| + | |
− | animation-duration: 2s;
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes bounceIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: scale(0.8);
| + | |
− | }
| + | |
− | 50% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: scale(1.05);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes bounceIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: scale(0.8);
| + | |
− | }
| + | |
− | 50% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: scale(1.05);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes bounceIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -o-transform: scale(0.8);
| + | |
− | }
| + | |
− | 50% {
| + | |
− | opacity: 1;
| + | |
− | -o-transform: scale(1.05);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -o-transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes bounceIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | transform: scale(0.8);
| + | |
− | }
| + | |
− | 50% {
| + | |
− | opacity: 1;
| + | |
− | transform: scale(1.05);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | transform: scale(1);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .bounceIn {
| + | |
− | -webkit-animation-name: bounceIn;
| + | |
− | -moz-animation-name: bounceIn;
| + | |
− | -o-animation-name: bounceIn;
| + | |
− | animation-name: bounceIn;
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes fadeIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes fadeIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes fadeIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes fadeIn {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .delay {
| + | |
− | -webkit-animation-delay: 0.30s;
| + | |
− | -moz-animation-delay: 0.30s;
| + | |
− | -o-animation-delay: 0.30s;
| + | |
− | animation-delay: 0.30s;
| + | |
− | }
| + | |
− | | + | |
− | .delay-three {
| + | |
− | -webkit-animation-delay: 0.60s;
| + | |
− | -moz-animation-delay: 0.60s;
| + | |
− | -o-animation-delay: 0.60s;
| + | |
− | animation-delay: 0.60s;
| + | |
− | }
| + | |
− | | + | |
− | .delay-two {
| + | |
− | -webkit-animation-delay: 1.0s;
| + | |
− | -moz-animation-delay: 1.0s;
| + | |
− | -o-animation-delay: 1.0s;
| + | |
− | animation-delay: 1.0s;
| + | |
− | }
| + | |
− | | + | |
− | .delay-one {
| + | |
− | -webkit-animation-delay: 1.5s;
| + | |
− | -moz-animation-delay: 1.5s;
| + | |
− | -o-animation-delay: 1.5s;
| + | |
− | animation-delay: 1.5s;
| + | |
− | }
| + | |
− | | + | |
− | .fadeIn {
| + | |
− | -webkit-animation-name: fadeIn;
| + | |
− | -moz-animation-name: fadeIn;
| + | |
− | -o-animation-name: fadeIn;
| + | |
− | animation-name: fadeIn;
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes fadeInUp {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateY(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes fadeInUp {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: translateY(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes fadeInUp {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -o-transform: translateY(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -o-transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes fadeInUp {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | transform: translateY(20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .fadeInUp {
| + | |
− | -webkit-animation-name: fadeInUp;
| + | |
− | -moz-animation-name: fadeInUp;
| + | |
− | -o-animation-name: fadeInUp;
| + | |
− | animation-name: fadeInUp;
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes fadeInDown {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateY(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes fadeInDown {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: translateY(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes fadeInDown {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -o-transform: translateY(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -o-transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes fadeInDown {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | transform: translateY(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | transform: translateY(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .fadeInDown {
| + | |
− | -webkit-animation-name: fadeInDown;
| + | |
− | -moz-animation-name: fadeInDown;
| + | |
− | -o-animation-name: fadeInDown;
| + | |
− | animation-name: fadeInDown;
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes fadeInLeft {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes fadeInLeft {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes fadeInLeft {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | -o-transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | -o-transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes fadeInLeft {
| + | |
− | 0% {
| + | |
− | opacity: 0;
| + | |
− | transform: translateX(-20px);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 1;
| + | |
− | transform: translateX(0);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .fadeInLeft {
| + | |
− | -webkit-animation-name: fadeInLeft;
| + | |
− | -moz-animation-name: fadeInLeft;
| + | |
− | -o-animation-name: fadeInLeft;
| + | |
− | animation-name: fadeInLeft;
| + | |
− | }
| + | |
− | | + | |
− | .fadeOutDown {
| + | |
− | -webkit-animation-name: fadeOutDown;
| + | |
− | -moz-animation-name: fadeOutDown;
| + | |
− | -o-animation-name: fadeOutDown;
| + | |
− | animation-name: fadeOutDown;
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes fadeOutLeft {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | -webkit-transform: translateX(0);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | -webkit-transform: translateX(-20px);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes fadeOutLeft {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | -moz-transform: translateX(0);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | -moz-transform: translateX(-20px);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes fadeOutLeft {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | -o-transform: translateX(0);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | -o-transform: translateX(-20px);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes fadeOutLeft {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | transform: translateX(0);
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | transform: translateX(-20px);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-webkit-keyframes fadeOut {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-moz-keyframes fadeOut {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @-o-keyframes fadeOut {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | @keyframes fadeOut {
| + | |
− | 0% {
| + | |
− | opacity: 1;
| + | |
− | }
| + | |
− | 100% {
| + | |
− | opacity: 0;
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | .animated.fadeOut {
| + | |
− | -webkit-animation-name: fadeOut;
| + | |
− | -moz-animation-name: fadeOut;
| + | |
− | -o-animation-name: fadeOut;
| + | |
− | animation-name: fadeOut;
| + | |
− | }
| + | |
− | | + | |
− | .animated.fadeOutLeft {
| + | |
− | -webkit-animation-name: fadeOutLeft;
| + | |
− | -moz-animation-name: fadeOutLeft;
| + | |
− | -o-animation-name: fadeOutLeft;
| + | |
− | animation-name: fadeOutLeft;
| + | |
− | }
| + | |
| | | |
| + | <div id="navbar" class="navbar-collapse collapse"> |
| + | <ul class="nav navbar-nav navbar-right" style="margin-top: 15px;"> |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Description">Project <span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="left:0;"> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Description">Description</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/InterLab">Interlab</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Results">Results</a></li> |
| | | |
| + | </ul> |
| + | </li> |
| | | |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Parts">Parts <span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="left:0;"> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Parts">Parts</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Basic_Part">Basic Part</a></li> |
| | | |
| + | </ul> |
| + | </li> |
| | | |
| | | |
| + | <li> |
| + | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Safety">Safety </a></li> |
| | | |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Notebook">Notebook <span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="left:0;"> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Notebook">Lab book</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Experiments">Protocols</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Medals">Medal Criteria</a></li> |
| + | </ul> |
| + | </li> |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Human_Practices">Human Practices <span class="caret"></span></a> |
| + | <ul class="dropdown-menu"> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/HP/Silver">Human Practices - Silver</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Engagement">Public Engagement</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Collaborations">Collaborations</a></li> |
| | | |
| + | </ul> |
| + | </li> |
| | | |
| + | <li class="dropdown"> |
| + | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Team">Team <span class="caret"></span></a> |
| + | <ul class="dropdown-menu" style="text-align: right;"> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Team">Team</a></li> |
| + | <li><a href="https://2017.igem.org/Team:UIOWA/Attributions">Attributions</a></li> |
| + | <li><a href="https://igem.org/2017_Judging_Form?team=UIOWA">Judging Form</a></li> |
| | | |
| + | </ul> |
| + | </li> |
| + | </ul> |
| + | </div> |
| + | <!-- /.navbar-collapse --> |
| + | </div> |
| + | <!-- /.container-fluid --> |
| + | <div class = "clear" > |
| + | </div> |
| + | </nav> |
| + | </body> |
| + | </head> |
| + | </html> |
| | | |
| | | |
| + | <html> |
| | | |
| | | |
| <style> | | <style> |
− | /********************************* DEFAULT WIKI SETTINGS ********************************/
| |
− |
| |
− | #sideMenu,
| |
− | #top_title {
| |
− | display: none;
| |
− | }
| |
− |
| |
− | #content {
| |
− | padding: 0px;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | body {
| |
− | background-color: white;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | #bodyContent h1,
| |
− | #bodyContent h2,
| |
− | #bodyContent h3,
| |
− | #bodyContent h4,
| |
− | #bodyContent h5 {
| |
− | margin-bottom: 0px;
| |
− | }
| |
− |
| |
− | #bodyContent {
| |
− | padding-right: 0px;
| |
− | }
| |
− |
| |
− | #globalWrapper {
| |
− | font-size: 100%;
| |
− | padding: 0px;
| |
− | margin: -10px -20px -20px -20px;
| |
− | }
| |
− |
| |
− | .navbar-collapse {
| |
− | padding-left: 0px;
| |
− | }
| |
− |
| |
− | #banner {
| |
− | margin-top: 50px;
| |
− | }
| |
− |
| |
− | #sideMenu {
| |
− | margin-top: 10px;
| |
− | }
| |
− |
| |
− | .dropdown-menu li:hover .sub-menu {
| |
− | visibility: visible;
| |
− | }
| |
− |
| |
− | .dropdown:hover .dropdown-menu {
| |
− | display: block;
| |
− | }
| |
− |
| |
− | .navbar-nav .dropdown-menu,
| |
− | .navbar .dropdown-menu {
| |
− | margin-top: 0;
| |
− | }
| |
− | /********************************* RESPONSIVE STYLING ********************************/
| |
− |
| |
− |
| |
− | /* IF THE SCREEN IS LESS THAN 1000PX */
| |
− |
| |
− | @media only screen and (max-width: 1000px) {
| |
− | #content {
| |
− | width: 100%;
| |
− | }
| |
− | .menu_wrapper {
| |
− | width: 15%;
| |
− | }
| |
− | .content_wrapper {
| |
− | margin-left: 15%;
| |
− | }
| |
− | .menu_item {
| |
− | display: block;
| |
− | }
| |
− | .icon {
| |
− | display: none;
| |
− | }
| |
− | .highlight {
| |
− | padding: 10px 0px;
| |
− | }
| |
− | }
| |
− |
| |
− |
| |
− | /* IF THE SCREEN IS LESS THAN 680PX */
| |
− |
| |
− | @media only screen and (max-width: 680px) {
| |
− | .collapsable_menu_control {
| |
− | display: block;
| |
− | }
| |
− | .menu_item {
| |
− | display: none;
| |
− | }
| |
− | .menu_wrapper {
| |
− | width: 100%;
| |
− | height: 15%;
| |
− | position: relative;
| |
− | }
| |
− | .content_wrapper {
| |
− | width: 100%;
| |
− | margin-left: 0px;
| |
− | }
| |
− | .column.half_size {
| |
− | width: 100%;
| |
− | }
| |
− | .column img {
| |
− | width: 100%;
| |
− | padding: 5px 0px;
| |
− | }
| |
− | .icon {
| |
− | display: block;
| |
− | }
| |
− | .highlight {
| |
− | padding: 15px 5px;
| |
− | }
| |
− | }
| |
| | | |
| + | #curves {border-radius: 100px;} |
| </style> | | </style> |
| | | |
| <script> | | <script> |
| | | |
− | // This is the jquery part of your template.
| + | // This is the jquery part of your template. |
− | // Try not modify any of this code too much since it makes your menu work.
| + | // Try not modify any of this code too much since it makes your menu work. |
| | | |
− | $(document).ready(function() {
| + | $(document).ready(function() { |
| | | |
− | $("#HQ_page").attr('id','');
| + | $("#HQ_page").attr('id',''); |
| | | |
− | // call the functions that control the menu
| + | // call the functions that control the menu |
− | menu_functionality();
| + | menu_functionality(); |
− | hide_show_menu();
| + | hide_show_menu(); |
| | | |
| | | |
| | | |
− | //this function controls the expand and collapse buttons of the menu and changes the +/- symbols
| + | //this function controls the expand and collapse buttons of the menu and changes the +/- symbols |
− | function menu_functionality() {
| + | function menu_functionality() { |
| | | |
− | //when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
| + | //when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu |
− | $(".menu_button").click(function(){
| + | $(".menu_button").click(function(){ |
| | | |
− | // add or remove the class "open" , this class holds the "-"
| + | // add or remove the class "open" , this class holds the "-" |
− | $(this).children().toggleClass("open");
| + | $(this).children().toggleClass("open"); |
− | // show or hide the submenu
| + | // show or hide the submenu |
− | $(this).next('.submenu_wrapper').fadeToggle(400);
| + | $(this).next('.submenu_wrapper').fadeToggle(400); |
− | });
| + | }); |
| | | |
− | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
| + | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu |
− | $("#display_menu_control").click(function(){
| + | $("#display_menu_control").click(function(){ |
− | $('#menu_content').fadeToggle(400);
| + | $('#menu_content').fadeToggle(400); |
− | });
| + | }); |
| | | |
− | // call the current page highlight function
| + | // call the current page highlight function |
− | highlight_current_page();
| + | highlight_current_page(); |
− | }
| + | } |
| | | |
| | | |
− | // call the highlight current page function to show it on the menu with a different background color
| + | // call the highlight current page function to show it on the menu with a different background color |
− | function highlight_current_page() {
| + | function highlight_current_page() { |
| | | |
− | // select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color
| + | // select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color |
− | $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
| + | $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page"); |
| | | |
− | // now that the current_page class has been added to a menu item, make the submenu fade in
| + | // now that the current_page class has been added to a menu item, make the submenu fade in |
− | $(".current_page").parents(".submenu_wrapper").fadeIn(400);
| + | $(".current_page").parents(".submenu_wrapper").fadeIn(400); |
− | // change the +/- symbol of the corresponding menu button
| + | // change the +/- symbol of the corresponding menu button |
− | $(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
| + | $(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open"); |
− |
| + | |
− | }
| + | |
| | | |
| + | } |
| | | |
| | | |
− | // allow button on the black menu bar to show/hide the side menu
| |
− | function hide_show_menu() {
| |
− |
| |
− | // in case you preview mode is selected, the menu is hidden for better visibility
| |
− | if (window.location.href.indexOf("submit") >= 0) {
| |
− | $(".igem_2017_menu_wrapper").hide();
| |
− | }
| |
| | | |
− | // if the black menu bar has been loaded
| + | // allow button on the black menu bar to show/hide the side menu |
− | if (document.getElementById('bars_item')) {
| + | function hide_show_menu() { |
| | | |
− | // when the "bars_item" has been clicked
| + | // in case you preview mode is selected, the menu is hidden for better visibility |
− | $("#bars_item").click(function() {
| + | if (window.location.href.indexOf("submit") >= 0) { |
− | $("#sideMenu").hide();
| + | $(".igem_2017_menu_wrapper").hide(); |
| + | } |
| | | |
− | // show/hide the menu wrapper
| + | // if the black menu bar has been loaded |
− | $(".igem_2017_menu_wrapper").fadeToggle("100");
| + | if (document.getElementById('bars_item')) { |
− | });
| + | |
− | }
| + | |
| | | |
− | // because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet
| + | // when the "bars_item" has been clicked |
− | else {
| + | $("#bars_item").click(function() { |
− | setTimeout(hide_show_menu, 15);
| + | $("#sideMenu").hide(); |
− | }
| + | |
− | }
| + | |
| | | |
| + | // show/hide the menu wrapper |
| + | $(".igem_2017_menu_wrapper").fadeToggle("100"); |
| + | }); |
| + | } |
| | | |
− | });
| + | // because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet |
| + | else { |
| + | setTimeout(hide_show_menu, 15); |
| + | } |
| + | } |
| | | |
| | | |
− | </script>
| + | }); |
− | </head>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | <body>
| + | |
− | <nav class="navbar navbar-default navbar-fixed-top" style=" padding-top: 20px;">
| + | |
− | <div class="container-fluid"> | + | |
− | <div class="navbar-header">
| + | |
− | | + | |
− | <a class="navbar-logo" href="https://2017.igem.org/Team:UIOWA">
| + | |
− | <image class="img-responsive" src="https://static.igem.org/mediawiki/2017/7/7c/T--UIOWA--logo-DNA.png" height="120" width="120">
| + | |
− | </a>
| + | |
− | | + | |
− | | + | |
− | </div>
| + | |
− | | + | |
− | <div id="navbar" class="navbar-collapse collapse">
| + | |
− | <ul class="nav navbar-nav navbar-right" style="margin-top: 15px;">
| + | |
− | <li class="dropdown">
| + | |
− | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Description">Project <span class="caret"></span></a>
| + | |
− | <ul class="dropdown-menu" style="left:0;">
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Description">Description</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Results">Results</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Proof">Proof</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Basic_Part">Basic Parts</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Composite_Part">Composite Parts</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | | + | |
− | <li class="dropdown">
| + | |
− | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Model">Modelling <span class="caret"></span></a>
| + | |
− | <ul class="dropdown-menu" style="left:0;">
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Model">Overview</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/SingleCell">Single Cell Model</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/GRO">Population Model</a></li>
| + | |
− | | + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | | + | |
− | <li>
| + | |
− | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Software">Software Tools </a></li>
| + | |
− | | + | |
− | | + | |
− | <li class="dropdown">
| + | |
− | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Notebook">Notebook <span class="caret"></span></a>
| + | |
− | <ul class="dropdown-menu" style="left:0;">
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Notebook">Lab book</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Experiments">Protocols</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Medals">Medal Criteria</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/BrainStorm">Brainstorm</a></li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <li class="dropdown">
| + | |
− | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Human_Practices">Human Practices <span class="caret"></span></a>
| + | |
− | <ul class="dropdown-menu">
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Human_Practices">Human Practices</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Integrated_Practices">Integrated Practices</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Engagement">Public Engagement</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Collaborations">Collaborations</a></li>
| + | |
− | | + | |
− | </ul>
| + | |
− | </li>
| + | |
− | | + | |
− | <li class="dropdown">
| + | |
− | <a class="dropdown-toggle active" href="https://2017.igem.org/Team:UIOWA/Team">Team <span class="caret"></span></a>
| + | |
− | <ul class="dropdown-menu" style="text-align: right;">
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Team">Team</a></li>
| + | |
− | <li><a href="https://2017.igem.org/Team:UIOWA/Attributions">Attributions</a></li>
| + | |
− | | + | |
− | </ul>
| + | |
− | </li>
| + | |
− | </ul>
| + | |
− | </div>
| + | |
− | <!-- /.navbar-collapse -->
| + | |
− | </div>
| + | |
− | <!-- /.container-fluid -->
| + | |
− | <div class = "clear" >
| + | |
− | </div>
| + | |
− | </nav>
| + | |
− | </body>
| + | |
− | </head>
| + | |
− | | + | |
| | | |
| | | |
| + | </script> |
| | | |
| | | |
Line 1,603: |
Line 396: |
| <style> | | <style> |
| | | |
− | #curves {border-radius: 100px;}
| |
− | </style>
| |
| | | |
− | <script>
| |
| | | |
− | // This is the jquery part of your template.
| + | /***************************************************** DEFAULT WIKI SETTINGS ****************************************************/ |
− | // Try not modify any of this code too much since it makes your menu work.
| + | |
| | | |
− | $(document).ready(function() {
| + | /* Clear the default wiki settings */ |
| | | |
− | $("#HQ_page").attr('id','');
| + | #home_logo, #sideMenu { display:none; } |
| + | #sideMenu, #top_title, .patrollink {display:none;} |
| + | #content { width:100%; padding:0px; margin-top:-7px; margin-left:0px;} |
| + | body {background-color:white; } |
| + | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } |
| | | |
− | // call the functions that control the menu
| |
− | menu_functionality();
| |
− | hide_show_menu();
| |
| | | |
| | | |
| + | /***************************************************** CONTENT OF THE PAGE ****************************************************/ |
| | | |
− | //this function controls the expand and collapse buttons of the menu and changes the +/- symbols
| + | /* Wrapper for the content */ |
− | function menu_functionality() {
| + | .igem_2017_content_wrapper { |
− | | + | width: 81%; |
− | //when clicking on a "menu_button", it will change the "+/-" accordingly and it will show/hide the corresponding submenu
| + | margin: 2%; |
− | $(".menu_button").click(function(){
| + | display:block; |
− | | + | float:left; |
− | // add or remove the class "open" , this class holds the "-"
| + | background-color:white; |
− | $(this).children().toggleClass("open");
| + | font-family:Tahoma, Geneva, sans-serif; |
− | // show or hide the submenu
| + | } |
− | $(this).next('.submenu_wrapper').fadeToggle(400);
| + | |
− | });
| + | |
− | | + | |
− | // when the screen size is smaller than 800px, the display_menu_control button appears and will show/hide the whole menu
| + | |
− | $("#display_menu_control").click(function(){
| + | |
− | $('#menu_content').fadeToggle(400);
| + | |
− | });
| + | |
− | | + | |
− | // call the current page highlight function
| + | |
− | highlight_current_page();
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | // call the highlight current page function to show it on the menu with a different background color
| + | |
− | function highlight_current_page() {
| + | |
− | | + | |
− | // select a page from the menu based on the id assigned to it and the current page name and add the class "current page" to make it change background color
| + | |
− | $("#"+ wgPageName.substring(wgPageName.lastIndexOf("/")+1, wgPageName.length ) + "_page").addClass("current_page");
| + | |
− | | + | |
− | // now that the current_page class has been added to a menu item, make the submenu fade in
| + | |
− | $(".current_page").parents(".submenu_wrapper").fadeIn(400);
| + | |
− | // change the +/- symbol of the corresponding menu button
| + | |
− | $(".current_page").parents(".submenu_wrapper").prev().children().toggleClass("open");
| + | |
− |
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | // allow button on the black menu bar to show/hide the side menu
| + | |
− | function hide_show_menu() {
| + | |
− |
| + | |
− | // in case you preview mode is selected, the menu is hidden for better visibility
| + | |
− | if (window.location.href.indexOf("submit") >= 0) {
| + | |
− | $(".igem_2017_menu_wrapper").hide();
| + | |
− | }
| + | |
− | | + | |
− | // if the black menu bar has been loaded
| + | |
− | if (document.getElementById('bars_item')) {
| + | |
− | | + | |
− | // when the "bars_item" has been clicked
| + | |
− | $("#bars_item").click(function() {
| + | |
− | $("#sideMenu").hide();
| + | |
− | | + | |
− | // show/hide the menu wrapper
| + | |
− | $(".igem_2017_menu_wrapper").fadeToggle("100");
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | // because the black menu bars loads at a different time than the rest of the page, this function is set on a time out so it can run again in case it has not been loaded yet
| + | |
− | else {
| + | |
− | setTimeout(hide_show_menu, 15);
| + | |
− | }
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | });
| + | |
− | | + | |
− | | + | |
− | </script>
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | <style>
| + | |
| | | |
| | | |
| + | /********************************* HTML STYLING *********************************/ |
| | | |
− | /***************************************************** DEFAULT WIKI SETTINGS ****************************************************/ | + | /* styling for the titles h1 h2 */ |
− |
| + | .igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 { |
− | /* Clear the default wiki settings */
| + | padding:5px 15px; |
− |
| + | border-bottom: 0px; |
− | #home_logo, #sideMenu { display:none; }
| + | color: gold; |
− | #sideMenu, #top_title, .patrollink {display:none;}
| + | } |
− | #content { width:100%; padding:0px; margin-top:-7px; margin-left:0px;}
| + | |
− | body {background-color:white; }
| + | |
− | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
| + | |
| | | |
− |
| |
| | | |
− | /***************************************************** CONTENT OF THE PAGE ****************************************************/ | + | /* styling for the titles h3 h4 h5 h6*/ |
| + | .igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 { |
| + | padding:5px 15px; |
| + | border-bottom:0px; |
| + | color: #000000; |
| + | } |
| | | |
− | /* Wrapper for the content */
| |
− | .igem_2017_content_wrapper {
| |
− | width: 81%;
| |
− | margin: 2%;
| |
− | display:block;
| |
− | float:left;
| |
− | background-color:white;
| |
− | font-family:Tahoma, Geneva, sans-serif;
| |
− | }
| |
| | | |
| + | /* font and text */ |
| + | .igem_2017_content_wrapper p { |
| + | padding: 0px 15px; |
| + | font-size: 13px; |
| + | } |
| | | |
− | /********************************* HTML STYLING *********************************/ | + | /* Links */ |
| + | .igem_2017_content_wrapper a { |
| + | font-weight: bold; |
| + | text-decoration: underline; |
| + | text-decoration-color: #3399ff; |
| + | color: #3399ff; |
| + | -webkit-transition: all 0.4s ease; |
| + | -moz-transition: all 0.4s ease; |
| + | -ms-transition: all 0.4s ease; |
| + | -o-transition: all 0.4s ease; |
| + | transition: all 0.4s ease; |
| + | } |
| | | |
− | /* styling for the titles h1 h2 */
| + | /* hover for the links */ |
− | .igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
| + | .igem_2017_content_wrapper a:hover { |
− | padding:5px 15px;
| + | text-decoration:none; |
− | border-bottom: 0px;
| + | color:#000000; |
− | color: gold;
| + | } |
− | }
| + | |
| | | |
| + | /* non numbered lists */ |
| + | .igem_2017_content_wrapper ul { |
| + | padding:0px 20px; |
| + | font-size: 13px; |
| + | font-family:Tahoma, Geneva, sans-serif; |
| + | } |
| | | |
− | /* styling for the titles h3 h4 h5 h6*/
| + | /* numbered lists */ |
− | .igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {
| + | .igem_2017_content_wrapper ol { |
− | padding:5px 15px;
| + | padding:0px; |
− | border-bottom:0px;
| + | font-size: 13px; |
− | color: #000000;
| + | font-family:Tahoma, Geneva, sans-serif; |
− | }
| + | } |
| | | |
| + | /* Table */ |
| + | .igem_2017_content_wrapper table { |
| + | } |
| | | |
− | /* font and text */
| + | /* table cells */ |
− | .igem_2017_content_wrapper p {
| + | .igem_2017_content_wrapper td { |
− | padding: 0px 15px;
| + | padding: 10px; |
− | font-size: 13px;
| + | } |
− | }
| + | |
| | | |
− | /* Links */
| + | /* table headers */ |
− | .igem_2017_content_wrapper a {
| + | .igem_2017_content_wrapper th { |
− | font-weight: bold;
| + | padding: 10px; |
− | text-decoration: underline;
| + | } |
− | text-decoration-color: #3399ff;
| + | |
− | color: #3399ff;
| + | |
− | -webkit-transition: all 0.4s ease;
| + | |
− | -moz-transition: all 0.4s ease;
| + | |
− | -ms-transition: all 0.4s ease;
| + | |
− | -o-transition: all 0.4s ease;
| + | |
− | transition: all 0.4s ease;
| + | |
− | }
| + | |
| | | |
− | /* hover for the links */
| |
− | .igem_2017_content_wrapper a:hover {
| |
− | text-decoration:none;
| |
− | color:#000000;
| |
− | }
| |
| | | |
− | /* non numbered lists */
| + | /**********************************LAYOUT CLASSES **********************************/ |
− | .igem_2017_content_wrapper ul {
| + | |
− | padding:0px 20px;
| + | |
− | font-size: 13px;
| + | |
− | font-family:Tahoma, Geneva, sans-serif;
| + | |
− | }
| + | |
| | | |
− | /* numbered lists */
| + | /* general class for column divs */ |
− | .igem_2017_content_wrapper ol {
| + | .igem_2017_content_wrapper .column { |
− | padding:0px;
| + | padding: 10px 0px; |
− | font-size: 13px;
| + | float:left; |
− | font-family:Tahoma, Geneva, sans-serif;
| + | } |
− | }
| + | |
| | | |
− | /* Table */
| + | /* class for a full width column */ |
− | .igem_2017_content_wrapper table {
| + | .column .full_size { |
− | }
| + | width:100%; |
| + | } |
| | | |
− | /* table cells */
| + | /* styling for images in a full width column*/ |
− | .igem_2017_content_wrapper td {
| + | .column.full_size img { |
− | padding: 10px;
| + | width:97%; |
− | }
| + | padding: 10px 15px; |
| + | } |
| | | |
− | /* table headers */
| + | /* class for a half width column */ |
− | .igem_2017_content_wrapper th {
| + | .column.half_size { |
− | padding: 10px;
| + | width: 50%; |
− | }
| + | } |
| + | /* styling for images in a half width column*/ |
| + | .column.half_size img { |
| + | width: 94.5%; |
| + | padding: 10px 15px; |
| + | } |
| | | |
| | | |
− | /**********************************LAYOUT CLASSES **********************************/
| |
| | | |
− | /* general class for column divs */
| |
− | .igem_2017_content_wrapper .column {
| |
− | padding: 10px 0px;
| |
− | float:left;
| |
− | }
| |
| | | |
− | /* class for a full width column */
| + | /********************************* SUPPORT CLASSES ********************************/ |
− | .column .full_size {
| + | |
− | width:100%;
| + | |
− | }
| + | |
| | | |
− | /* styling for images in a full width column*/
| + | /* class that clears content below*/ |
− | .column.full_size img {
| + | .igem_2017_content_wrapper .clear { |
− | width:97%;
| + | clear:both; |
− | padding: 10px 15px;
| + | } |
− | }
| + | |
| | | |
− | /* class for a half width column */
| |
− | .column.half_size {
| |
− | width: 50%;
| |
− | }
| |
− | /* styling for images in a half width column*/
| |
− | .column.half_size img {
| |
− | width: 94.5%;
| |
− | padding: 10px 15px;
| |
− | }
| |
| | | |
| + | /* adds extra spacing when clearing content */ |
| + | .igem_2017_content_wrapper .clear.extra_space { |
| + | height: 30px; |
| + | } |
| | | |
| | | |
| + | /* highlight class, makes content slightly smaller */ |
| + | .igem_2017_content_wrapper .highlight { |
| + | margin: 0px 15px; |
| + | padding: 15px 0px; |
| + | } |
| | | |
− | /********************************* SUPPORT CLASSES ********************************/
| |
| | | |
− | /* class that clears content below*/
| + | /* highlight class, adds a gray background */ |
− | .igem_2017_content_wrapper .clear {
| + | .igem_2017_content_wrapper .highlight.gray { |
− | clear:both;
| + | background-color: #f2f2f2; |
− | }
| + | } |
− |
| + | |
− |
| + | |
− | /* adds extra spacing when clearing content */
| + | |
− | .igem_2017_content_wrapper .clear.extra_space {
| + | |
− | height: 30px;
| + | |
− | }
| + | |
| | | |
| + | /* highlight with decoration blue line on top */ |
| + | .igem_2017_content_wrapper .highlight.blue_top { |
| + | border-top: 4px solid #3399ff; |
| + | } |
| | | |
− | /* highlight class, makes content slightly smaller */
| + | /* highlight with a full blue border decoration */ |
− | .igem_2017_content_wrapper .highlight {
| + | .igem_2017_content_wrapper .highlight.blue_border { |
− | margin: 0px 15px;
| + | border: 4px solid #3399ff; |
− | padding: 15px 0px;
| + | } |
− | }
| + | |
| | | |
| | | |
− | /* highlight class, adds a gray background */
| + | /* button class */ |
− | .igem_2017_content_wrapper .highlight.gray {
| + | .igem_2017_content_wrapper .button{ |
− | background-color: #f2f2f2;
| + | max-width: 35%; |
− | }
| + | margin: 30px auto; |
| + | padding: 12px 10px; |
| + | background-color: #3399ff; |
| + | text-align: center; |
| + | color: #ffffff; |
| + | -webkit-transition: all 0.4s ease; |
| + | -moz-transition: all 0.4s ease; |
| + | -ms-transition: all 0.4s ease; |
| + | -o-transition: all 0.4s ease; transition: all 0.4s ease; |
| + | } |
| | | |
− | /* highlight with decoration blue line on top */
| + | /* styling for button on hover */ |
− | .igem_2017_content_wrapper .highlight.blue_top {
| + | .igem_2017_content_wrapper .button:hover{ |
− | border-top: 4px solid #3399ff;
| + | background-color: #3399ff; |
− | }
| + | color: #000000; |
| + | } |
| | | |
− | /* highlight with a full blue border decoration */
| |
− | .igem_2017_content_wrapper .highlight.blue_border {
| |
− | border: 4px solid #3399ff;
| |
− | }
| |
| | | |
| | | |
− | /* button class */
| |
− | .igem_2017_content_wrapper .button{
| |
− | max-width: 35%;
| |
− | margin: 30px auto;
| |
− | padding: 12px 10px;
| |
− | background-color: #3399ff;
| |
− | text-align: center;
| |
− | color: #ffffff;
| |
− | -webkit-transition: all 0.4s ease;
| |
− | -moz-transition: all 0.4s ease;
| |
− | -ms-transition: all 0.4s ease;
| |
− | -o-transition: all 0.4s ease; transition: all 0.4s ease;
| |
− | }
| |
| | | |
− | /* styling for button on hover */
| + | /***************************************************** RESPONSIVE STYLING ****************************************************/ |
− | .igem_2017_content_wrapper .button:hover{
| + | |
− | background-color: #3399ff;
| + | |
− | color: #000000;
| + | |
− | }
| + | |
| | | |
| + | /* IF THE SCREEN IS LESS THAN 1200PX */ |
| + | @media only screen and (max-width: 1200px) { |
| | | |
| + | #content {width:100%; } |
| + | .igem_2017_menu_wrapper {width:15%; right:0;} |
| + | .highlight {padding:10px 0px;} |
| + | .igem_2017_menu_wrapper #display_menu_control { display:none; } |
| + | #menu_content { display:block;} |
| + | .menu_button.direct_to_page {padding-left: 17px;} |
| | | |
| + | } |
| | | |
− | /***************************************************** RESPONSIVE STYLING ****************************************************/ | + | /* IF THE SCREEN IS LESS THAN 800PX */ |
| + | @media only screen and (max-width: 800px) { |
| | | |
− | /* IF THE SCREEN IS LESS THAN 1200PX */
| + | .igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;} |
− | @media only screen and (max-width: 1200px) {
| + | .igem_2017_content_wrapper {width:100%; margin-left:0px;} |
| + | .column.half_size {width:100%; } |
| + | .column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;} |
| + | .highlight {padding:15px 5px;} |
| + | .igem_2017_menu_wrapper #display_menu_control { display:block; } |
| + | #menu_content { display:none;} |
| + | .igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; } |
| + | .menu_bottom_padding {display:none;} |
| + | .menu_button.direct_to_page { padding-left: 36px; } |
| + | } |
| | | |
− | #content {width:100%; }
| |
− | .igem_2017_menu_wrapper {width:15%; right:0;}
| |
− | .highlight {padding:10px 0px;}
| |
− | .igem_2017_menu_wrapper #display_menu_control { display:none; }
| |
− | #menu_content { display:block;}
| |
− | .menu_button.direct_to_page {padding-left: 17px;}
| |
− |
| |
− | }
| |
| | | |
− | /* IF THE SCREEN IS LESS THAN 800PX */
| |
− | @media only screen and (max-width: 800px) {
| |
| | | |
− | .igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
| |
− | .igem_2017_content_wrapper {width:100%; margin-left:0px;}
| |
− | .column.half_size {width:100%; }
| |
− | .column.full_size img, .column.half_size img { width: 100%; padding: 10px 0px;}
| |
− | .highlight {padding:15px 5px;}
| |
− | .igem_2017_menu_wrapper #display_menu_control { display:block; }
| |
− | #menu_content { display:none;}
| |
− | .igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
| |
− | .menu_bottom_padding {display:none;}
| |
− | .menu_button.direct_to_page { padding-left: 36px; }
| |
− | }
| |
| | | |
| + | /* special class that the system uses to make sure the team wants a page to be evaluated */ |
| + | .judges-will-not-evaluate { |
| + | width: 96.6%; |
| + | margin: 5px 15px; |
| + | display: block; |
| + | border: 4px solid #3399ff; |
| + | font-weight: bold; |
| + | } |
| | | |
− |
| |
− |
| |
− | /* special class that the system uses to make sure the team wants a page to be evaluated */
| |
− | .judges-will-not-evaluate {
| |
− | width: 96.6%;
| |
− | margin: 5px 15px;
| |
− | display: block;
| |
− | border: 4px solid #3399ff;
| |
− | font-weight: bold;
| |
− | }
| |
− |
| |
| </style> | | </style> |
| | | |
Line 1,935: |
Line 635: |
| | | |
| | | |
− | <head> | + | <head> |
| | | |
− | <!-- This tells the browser that your page is responsive -->
| + | <!-- This tells the browser that your page is responsive --> |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| | | |
| </head> | | </head> |
Line 1,947: |
Line 647: |
| <!-- start of content --> | | <!-- start of content --> |
| <div class="igem_2017_content_wrapper"> | | <div class="igem_2017_content_wrapper"> |
− | <div align=center > | + | <div align=center ></div> |