|
|
(3 intermediate revisions by one other user not shown) |
Line 57: |
Line 57: |
| | | |
| // in case you preview mode is selected, the menu is hidden for better visibility | | // in case you preview mode is selected, the menu is hidden for better visibility |
− | if (window.location.href.indexOf("submit") < 0) { | + | if (window.location.href.indexOf("submit") >= 0) { |
| $(".igem_2017_menu_wrapper").hide(); | | $(".igem_2017_menu_wrapper").hide(); |
| } | | } |
Line 85: |
Line 85: |
| </script> | | </script> |
| | | |
− | <script>
| |
− | /*
| |
− | Helios by HTML5 UP
| |
− | html5up.net | @ajlkn
| |
− | Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
| |
− | */
| |
| | | |
− | (function($) {
| |
− |
| |
− | var settings = {
| |
− |
| |
− | // Carousels
| |
− | carousels: {
| |
− | speed: 4,
| |
− | fadeIn: true,
| |
− | fadeDelay: 250
| |
− | },
| |
− |
| |
− | };
| |
− |
| |
− | skel.breakpoints({
| |
− | wide: '(max-width: 1680px)',
| |
− | normal: '(max-width: 1280px)',
| |
− | narrow: '(max-width: 960px)',
| |
− | narrower: '(max-width: 840px)',
| |
− | mobile: '(max-width: 736px)'
| |
− | });
| |
− |
| |
− | $(function() {
| |
− |
| |
− | var $window = $(window),
| |
− | $body = $('body');
| |
− |
| |
− | // Disable animations/transitions until the page has loaded.
| |
− | $body.addClass('is-loading');
| |
− |
| |
− | $window.on('load', function() {
| |
− | $body.removeClass('is-loading');
| |
− | });
| |
− |
| |
− | // CSS polyfills (IE<9).
| |
− | if (skel.vars.IEVersion < 9)
| |
− | $(':last-child').addClass('last-child');
| |
− |
| |
− | // Fix: Placeholder polyfill.
| |
− | $('form').placeholder();
| |
− |
| |
− | // Prioritize "important" elements on mobile.
| |
− | skel.on('+mobile -mobile', function() {
| |
− | $.prioritize(
| |
− | '.important\\28 mobile\\29',
| |
− | skel.breakpoint('mobile').active
| |
− | );
| |
− | });
| |
− |
| |
− | // Dropdowns.
| |
− | $('#nav > ul').dropotron({
| |
− | mode: 'fade',
| |
− | speed: 350,
| |
− | noOpenerFade: true,
| |
− | alignment: 'center'
| |
− | });
| |
− |
| |
− | // Scrolly links.
| |
− | $('.scrolly').scrolly();
| |
− |
| |
− | // Off-Canvas Navigation.
| |
− |
| |
− | // Navigation Button.
| |
− | $(
| |
− | '<div id="navButton">' +
| |
− | '<a href="#navPanel" class="toggle"></a>' +
| |
− | '</div>'
| |
− | )
| |
− | .appendTo($body);
| |
− |
| |
− | // Navigation Panel.
| |
− | $(
| |
− | '<div id="navPanel">' +
| |
− | '<nav>' +
| |
− | $('#nav').navList() +
| |
− | '</nav>' +
| |
− | '</div>'
| |
− | )
| |
− | .appendTo($body)
| |
− | .panel({
| |
− | delay: 500,
| |
− | hideOnClick: true,
| |
− | hideOnSwipe: true,
| |
− | resetScroll: true,
| |
− | resetForms: true,
| |
− | target: $body,
| |
− | visibleClass: 'navPanel-visible'
| |
− | });
| |
− |
| |
− | // Fix: Remove navPanel transitions on WP<10 (poor/buggy performance).
| |
− | if (skel.vars.os == 'wp' && skel.vars.osVersion < 10)
| |
− | $('#navButton, #navPanel, #page-wrapper')
| |
− | .css('transition', 'none');
| |
− |
| |
− | // Carousels.
| |
− | $('.carousel').each(function() {
| |
− |
| |
− | var $t = $(this),
| |
− | $forward = $('<span class="forward"></span>'),
| |
− | $backward = $('<span class="backward"></span>'),
| |
− | $reel = $t.children('.reel'),
| |
− | $items = $reel.children('article');
| |
− |
| |
− | var pos = 0,
| |
− | leftLimit,
| |
− | rightLimit,
| |
− | itemWidth,
| |
− | reelWidth,
| |
− | timerId;
| |
− |
| |
− | // Items.
| |
− | if (settings.carousels.fadeIn) {
| |
− |
| |
− | $items.addClass('loading');
| |
− |
| |
− | $t.onVisible(function() {
| |
− | var timerId,
| |
− | limit = $items.length - Math.ceil($window.width() / itemWidth);
| |
− |
| |
− | timerId = window.setInterval(function() {
| |
− | var x = $items.filter('.loading'), xf = x.first();
| |
− |
| |
− | if (x.length <= limit) {
| |
− |
| |
− | window.clearInterval(timerId);
| |
− | $items.removeClass('loading');
| |
− | return;
| |
− |
| |
− | }
| |
− |
| |
− | if (skel.vars.IEVersion < 10) {
| |
− |
| |
− | xf.fadeTo(750, 1.0);
| |
− | window.setTimeout(function() {
| |
− | xf.removeClass('loading');
| |
− | }, 50);
| |
− |
| |
− | }
| |
− | else
| |
− | xf.removeClass('loading');
| |
− |
| |
− | }, settings.carousels.fadeDelay);
| |
− | }, 50);
| |
− | }
| |
− |
| |
− | // Main.
| |
− | $t._update = function() {
| |
− | pos = 0;
| |
− | rightLimit = (-1 * reelWidth) + $window.width();
| |
− | leftLimit = 0;
| |
− | $t._updatePos();
| |
− | };
| |
− |
| |
− | if (skel.vars.IEVersion < 9)
| |
− | $t._updatePos = function() { $reel.css('left', pos); };
| |
− | else
| |
− | $t._updatePos = function() { $reel.css('transform', 'translate(' + pos + 'px, 0)'); };
| |
− |
| |
− | // Forward.
| |
− | $forward
| |
− | .appendTo($t)
| |
− | .hide()
| |
− | .mouseenter(function(e) {
| |
− | timerId = window.setInterval(function() {
| |
− | pos -= settings.carousels.speed;
| |
− |
| |
− | if (pos <= rightLimit)
| |
− | {
| |
− | window.clearInterval(timerId);
| |
− | pos = rightLimit;
| |
− | }
| |
− |
| |
− | $t._updatePos();
| |
− | }, 10);
| |
− | })
| |
− | .mouseleave(function(e) {
| |
− | window.clearInterval(timerId);
| |
− | });
| |
− |
| |
− | // Backward.
| |
− | $backward
| |
− | .appendTo($t)
| |
− | .hide()
| |
− | .mouseenter(function(e) {
| |
− | timerId = window.setInterval(function() {
| |
− | pos += settings.carousels.speed;
| |
− |
| |
− | if (pos >= leftLimit) {
| |
− |
| |
− | window.clearInterval(timerId);
| |
− | pos = leftLimit;
| |
− |
| |
− | }
| |
− |
| |
− | $t._updatePos();
| |
− | }, 10);
| |
− | })
| |
− | .mouseleave(function(e) {
| |
− | window.clearInterval(timerId);
| |
− | });
| |
− |
| |
− | // Init.
| |
− | $window.load(function() {
| |
− |
| |
− | reelWidth = $reel[0].scrollWidth;
| |
− |
| |
− | skel.on('change', function() {
| |
− |
| |
− | if (skel.vars.mobile) {
| |
− |
| |
− | $reel
| |
− | .css('overflow-y', 'hidden')
| |
− | .css('overflow-x', 'scroll')
| |
− | .scrollLeft(0);
| |
− | $forward.hide();
| |
− | $backward.hide();
| |
− |
| |
− | }
| |
− | else {
| |
− |
| |
− | $reel
| |
− | .css('overflow', 'visible')
| |
− | .scrollLeft(0);
| |
− | $forward.show();
| |
− | $backward.show();
| |
− |
| |
− | }
| |
− |
| |
− | $t._update();
| |
− |
| |
− | });
| |
− |
| |
− | $window.resize(function() {
| |
− | reelWidth = $reel[0].scrollWidth;
| |
− | $t._update();
| |
− | }).trigger('resize');
| |
− |
| |
− | });
| |
− |
| |
− | });
| |
− |
| |
− | });
| |
− |
| |
− | })(jQuery);
| |
− |
| |
− | </script>
| |
| | | |
| | | |
Line 350: |
Line 99: |
| #home_logo, #sideMenu { display:none; } | | #home_logo, #sideMenu { display:none; } |
| #sideMenu, #top_title, .patrollink {display:none;} | | #sideMenu, #top_title, .patrollink {display:none;} |
− | #content { width:100%; padding:0px; margin-top:-30px; margin-left:0px;} | + | #content { width:100%; padding:0px; margin-top:-7px; margin-left:0px;} |
| body {background-color:white; } | | body {background-color:white; } |
| #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } |
Line 358: |
Line 107: |
| | | |
| /**************************************************************** MENU ***************************************************************/ | | /**************************************************************** MENU ***************************************************************/ |
− | <script>
| + | /* Wrapper for the menu */ |
− | @import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600");
| + | .igem_2017_menu_wrapper { |
− | @import url("https://2016.igem.org/Team:EMW_Street_Bio/assets/css/font-awesome_min_css?action=raw&ctype=text/css");
| + | width: 15%; |
− | | + | height:100vh; |
− | | + | position:fixed; |
− | </script>
| + | right:0%; |
− | | + | padding:0px; |
− | | + | float:right; |
− | | + | border-left: 1px solid #d3d3d3; |
− | /* Reset */
| + | background-color:#dddddd; |
− | | + | text-align:left; |
− | html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
| + | font-family:Tahoma, Geneva, sans-serif; |
− | margin: 0; | + | overflow-y: auto; |
− | padding: 0; | + | overflow-x: hidden; |
− | border: 0; | + | |
− | font-size: 100%; | + | |
− | font: inherit; | + | |
− | vertical-align: baseline; | + | |
| } | | } |
| | | |
− | article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { | + | /* this hides the scrollbar to keep view consistency */ |
− | display: block; | + | .igem_2017_menu_wrappe::-webkit-scrollbar { |
| + | display: none; |
| } | | } |
− | | + | |
− | body { | + | |
− | line-height: 1; | + | /* styling for links in the menu, removes the line under text */ |
| + | .igem_2017_menu_wrapper a { |
| + | text-decoration: none; |
| } | | } |
| | | |
− | ol, ul {
| |
− | list-style: none;
| |
− | }
| |
| | | |
− | blockquote, q { | + | /* styling for the images in the menu */ |
− | quotes: none; | + | .igem_2017_menu_wrapper img { |
| + | width: 100%; |
| } | | } |
| | | |
− | blockquote:before, blockquote:after, q:before, q:after { | + | /* styling for the menu buttons */ |
− | content: ''; | + | .igem_2017_menu_wrapper .menu_button { |
− | content: none; | + | width: 100%; |
| + | padding: 10px 0px 10px 15px; |
| + | float:left; |
| + | border-bottom: 1px solid #d3d3d3; |
| + | font-size: 12px; |
| + | font-weight: bold; |
| + | color: #5e5f5f; |
| + | cursor: pointer; |
| } | | } |
| | | |
− | table {
| |
− | border-collapse: collapse;
| |
− | border-spacing: 0;
| |
− | }
| |
| | | |
− | body { | + | .igem_2017_menu_wrapper .menu_bottom_padding { |
− | -webkit-text-size-adjust: none; | + | width: 100%; |
| + | height: 30px; |
| + | float:left; |
| } | | } |
| | | |
− | /* Box Model */
| + | .menu_button.direct_to_page { |
− | | + | padding-left: 36px; |
− | *, *:before, *:after { | + | |
− | -moz-box-sizing: border-box; | + | |
− | -webkit-box-sizing: border-box;
| + | |
− | box-sizing: border-box;
| + | |
| } | | } |
− | /*******************1119*****************/
| |
− | @media screen and (max-width: 840px) {
| |
| | | |
− | .row > * {
| |
− | padding: 32px 0 0 32px;
| |
− | }
| |
− |
| |
− | .row {
| |
− | margin: -32px 0 -1px -32px;
| |
− | }
| |
− |
| |
− | .row.uniform > * {
| |
− | padding: 32px 0 0 32px;
| |
− | }
| |
− |
| |
− | .row.uniform {
| |
− | margin: -32px 0 -1px -32px;
| |
− | }
| |
− |
| |
− | .row.\32 00\25 > * {
| |
− | padding: 64px 0 0 64px;
| |
− | }
| |
− |
| |
− | .row.\32 00\25 {
| |
− | margin: -64px 0 -1px -64px;
| |
− | }
| |
− |
| |
− | .row.uniform.\32 00\25 > * {
| |
− | padding: 64px 0 0 64px;
| |
− | }
| |
− |
| |
− | .row.uniform.\32 00\25 {
| |
− | margin: -64px 0 -1px -64px;
| |
− | }
| |
− |
| |
− | .row.\31 50\25 > * {
| |
− | padding: 48px 0 0 48px;
| |
− | }
| |
− |
| |
− | .row.\31 50\25 {
| |
− | margin: -48px 0 -1px -48px;
| |
− | }
| |
− |
| |
− | .row.uniform.\31 50\25 > * {
| |
− | padding: 48px 0 0 48px;
| |
− | }
| |
− |
| |
− | .row.uniform.\31 50\25 {
| |
− | margin: -48px 0 -1px -48px;
| |
− | }
| |
− |
| |
− | .row.\35 0\25 > * {
| |
− | padding: 16px 0 0 16px;
| |
− | }
| |
− |
| |
− | .row.\35 0\25 {
| |
− | margin: -16px 0 -1px -16px;
| |
− | }
| |
− |
| |
− | .row.uniform.\35 0\25 > * {
| |
− | padding: 16px 0 0 16px;
| |
− | }
| |
− |
| |
− | .row.uniform.\35 0\25 {
| |
− | margin: -16px 0 -1px -16px;
| |
− | }
| |
− |
| |
− | .row.\32 5\25 > * {
| |
− | padding: 8px 0 0 8px;
| |
− | }
| |
− |
| |
− | .row.\32 5\25 {
| |
− | margin: -8px 0 -1px -8px;
| |
− | }
| |
− |
| |
− | .row.uniform.\32 5\25 > * {
| |
− | padding: 8px 0 0 8px;
| |
− | }
| |
− |
| |
− | .row.uniform.\32 5\25 {
| |
− | margin: -8px 0 -1px -8px;
| |
− | }
| |
− |
| |
− | .\31 2u\28narrower\29, .\31 2u\24\28narrower\29 {
| |
− | width: 100%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\31 1u\28narrower\29, .\31 1u\24\28narrower\29 {
| |
− | width: 91.6666666667%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\31 0u\28narrower\29, .\31 0u\24\28narrower\29 {
| |
− | width: 83.3333333333%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\39 u\28narrower\29, .\39 u\24\28narrower\29 {
| |
− | width: 75%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\38 u\28narrower\29, .\38 u\24\28narrower\29 {
| |
− | width: 66.6666666667%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\37 u\28narrower\29, .\37 u\24\28narrower\29 {
| |
− | width: 58.3333333333%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\36 u\28narrower\29, .\36 u\24\28narrower\29 {
| |
− | width: 50%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\35 u\28narrower\29, .\35 u\24\28narrower\29 {
| |
− | width: 41.6666666667%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\34 u\28narrower\29, .\34 u\24\28narrower\29 {
| |
− | width: 33.3333333333%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\33 u\28narrower\29, .\33 u\24\28narrower\29 {
| |
− | width: 25%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\32 u\28narrower\29, .\32 u\24\28narrower\29 {
| |
− | width: 16.6666666667%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\31 u\28narrower\29, .\31 u\24\28narrower\29 {
| |
− | width: 8.3333333333%;
| |
− | clear: none;
| |
− | margin-left: 0;
| |
− | }
| |
− |
| |
− | .\31 2u\24\28narrower\29 + *,
| |
− | .\31 1u\24\28narrower\29 + *,
| |
− | .\31 0u\24\28narrower\29 + *,
| |
− | .\39 u\24\28narrower\29 + *,
| |
− | .\38 u\24\28narrower\29 + *,
| |
− | .\37 u\24\28narrower\29 + *,
| |
− | .\36 u\24\28narrower\29 + *,
| |
− | .\35 u\24\28narrower\29 + *,
| |
− | .\34 u\24\28narrower\29 + *,
| |
− | .\33 u\24\28narrower\29 + *,
| |
− | .\32 u\24\28narrower\29 + *,
| |
− | .\31 u\24\28narrower\29 + * {
| |
− | clear: left;
| |
− | }
| |
− |
| |
− | .\-11u\28narrower\29 {
| |
− | margin-left: 91.66667%;
| |
− | }
| |
− |
| |
− | .\-10u\28narrower\29 {
| |
− | margin-left: 83.33333%;
| |
− | }
| |
− |
| |
− | .\-9u\28narrower\29 {
| |
− | margin-left: 75%;
| |
− | }
| |
− |
| |
− | .\-8u\28narrower\29 {
| |
− | margin-left: 66.66667%;
| |
− | }
| |
− |
| |
− | .\-7u\28narrower\29 {
| |
− | margin-left: 58.33333%;
| |
− | }
| |
− |
| |
− | .\-6u\28narrower\29 {
| |
− | margin-left: 50%;
| |
− | }
| |
− |
| |
− | .\-5u\28narrower\29 {
| |
− | margin-left: 41.66667%;
| |
− | }
| |
− |
| |
− | .\-4u\28narrower\29 {
| |
− | margin-left: 33.33333%;
| |
− | }
| |
− |
| |
− | .\-3u\28narrower\29 {
| |
− | margin-left: 25%;
| |
− | }
| |
− |
| |
− | .\-2u\28narrower\29 {
| |
− | margin-left: 16.66667%;
| |
− | }
| |
− |
| |
− | .\-1u\28narrower\29 {
| |
− | margin-left: 8.33333%;
| |
− | }
| |
| | | |
| + | .igem_2017_menu_wrapper .menu_button .expand_collapse_icon { |
| + | width:10%; |
| + | float:left; |
| } | | } |
| | | |
− | @media screen and (max-width: 736px) { | + | .igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before { |
− | | + | content: "+"; |
− | .row > * {
| + | |
− | padding: 20px 0 0 20px;
| + | |
− | }
| + | |
− | | + | |
− | .row {
| + | |
− | margin: -20px 0 -1px -20px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform > * {
| + | |
− | padding: 20px 0 0 20px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform {
| + | |
− | margin: -20px 0 -1px -20px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\32 00\25 > * {
| + | |
− | padding: 40px 0 0 40px;
| + | |
− | } | + | |
− | | + | |
− | .row.\32 00\25 {
| + | |
− | margin: -40px 0 -1px -40px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\32 00\25 > * {
| + | |
− | padding: 40px 0 0 40px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\32 00\25 {
| + | |
− | margin: -40px 0 -1px -40px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\31 50\25 > * {
| + | |
− | padding: 30px 0 0 30px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\31 50\25 {
| + | |
− | margin: -30px 0 -1px -30px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\31 50\25 > * {
| + | |
− | padding: 30px 0 0 30px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\31 50\25 {
| + | |
− | margin: -30px 0 -1px -30px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\35 0\25 > * {
| + | |
− | padding: 10px 0 0 10px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\35 0\25 {
| + | |
− | margin: -10px 0 -1px -10px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\35 0\25 > * {
| + | |
− | padding: 10px 0 0 10px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\35 0\25 {
| + | |
− | margin: -10px 0 -1px -10px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\32 5\25 > * {
| + | |
− | padding: 5px 0 0 5px;
| + | |
− | }
| + | |
− | | + | |
− | .row.\32 5\25 {
| + | |
− | margin: -5px 0 -1px -5px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\32 5\25 > * {
| + | |
− | padding: 5px 0 0 5px;
| + | |
− | }
| + | |
− | | + | |
− | .row.uniform.\32 5\25 {
| + | |
− | margin: -5px 0 -1px -5px;
| + | |
− | }
| + | |
− | | + | |
− | .\31 2u\28mobile\29, .\31 2u\24\28mobile\29 {
| + | |
− | width: 100%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\31 1u\28mobile\29, .\31 1u\24\28mobile\29 {
| + | |
− | width: 91.6666666667%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\31 0u\28mobile\29, .\31 0u\24\28mobile\29 {
| + | |
− | width: 83.3333333333%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\39 u\28mobile\29, .\39 u\24\28mobile\29 {
| + | |
− | width: 75%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\38 u\28mobile\29, .\38 u\24\28mobile\29 {
| + | |
− | width: 66.6666666667%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\37 u\28mobile\29, .\37 u\24\28mobile\29 {
| + | |
− | width: 58.3333333333%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\36 u\28mobile\29, .\36 u\24\28mobile\29 {
| + | |
− | width: 50%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\35 u\28mobile\29, .\35 u\24\28mobile\29 {
| + | |
− | width: 41.6666666667%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\34 u\28mobile\29, .\34 u\24\28mobile\29 {
| + | |
− | width: 33.3333333333%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\33 u\28mobile\29, .\33 u\24\28mobile\29 {
| + | |
− | width: 25%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\32 u\28mobile\29, .\32 u\24\28mobile\29 {
| + | |
− | width: 16.6666666667%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\31 u\28mobile\29, .\31 u\24\28mobile\29 {
| + | |
− | width: 8.3333333333%;
| + | |
− | clear: none;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | .\31 2u\24\28mobile\29 + *,
| + | |
− | .\31 1u\24\28mobile\29 + *,
| + | |
− | .\31 0u\24\28mobile\29 + *,
| + | |
− | .\39 u\24\28mobile\29 + *,
| + | |
− | .\38 u\24\28mobile\29 + *,
| + | |
− | .\37 u\24\28mobile\29 + *,
| + | |
− | .\36 u\24\28mobile\29 + *,
| + | |
− | .\35 u\24\28mobile\29 + *,
| + | |
− | .\34 u\24\28mobile\29 + *,
| + | |
− | .\33 u\24\28mobile\29 + *,
| + | |
− | .\32 u\24\28mobile\29 + *,
| + | |
− | .\31 u\24\28mobile\29 + * {
| + | |
− | clear: left;
| + | |
− | }
| + | |
− | | + | |
− | .\-11u\28mobile\29 {
| + | |
− | margin-left: 91.66667%;
| + | |
− | }
| + | |
− | | + | |
− | .\-10u\28mobile\29 {
| + | |
− | margin-left: 83.33333%;
| + | |
− | }
| + | |
− | | + | |
− | .\-9u\28mobile\29 {
| + | |
− | margin-left: 75%;
| + | |
− | }
| + | |
− | | + | |
− | .\-8u\28mobile\29 {
| + | |
− | margin-left: 66.66667%;
| + | |
− | }
| + | |
− | | + | |
− | .\-7u\28mobile\29 {
| + | |
− | margin-left: 58.33333%;
| + | |
− | }
| + | |
− | | + | |
− | .\-6u\28mobile\29 {
| + | |
− | margin-left: 50%;
| + | |
− | }
| + | |
− | | + | |
− | .\-5u\28mobile\29 {
| + | |
− | margin-left: 41.66667%;
| + | |
− | }
| + | |
− | | + | |
− | .\-4u\28mobile\29 {
| + | |
− | margin-left: 33.33333%;
| + | |
− | }
| + | |
− | | + | |
− | .\-3u\28mobile\29 {
| + | |
− | margin-left: 25%;
| + | |
− | }
| + | |
− | | + | |
− | .\-2u\28mobile\29 {
| + | |
− | margin-left: 16.66667%;
| + | |
− | }
| + | |
− | | + | |
− | .\-1u\28mobile\29 {
| + | |
− | margin-left: 8.33333%;
| + | |
− | }
| + | |
− | | + | |
| } | | } |
− | | + | |
− | /*******************1549****************/
| + | .open::before { |
− | /* Basic */
| + | content: "-" !important; |
− | | + | |
− | body {
| + | |
− | background: #f0f4f4;
| + | |
− | color: #5b5b5b;
| + | |
− | font-size: 15pt; | + | |
− | line-height: 0.6em;
| + | |
− | font-family: 'Source Sans Pro', sans-serif;
| + | |
− | font-weight: 300;
| + | |
| } | | } |
| | | |
− | body.is-loading *, body.is-loading *:after, body.is-loading *:before {
| + | |
− | -moz-transition: none !important;
| + | |
− | -webkit-transition: none !important;
| + | /* styling for the menu buttons on hover */ |
− | -ms-transition: none !important;
| + | .igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover , .submenu_button.current_page:hover { |
− | transition: none !important;
| + | background-color: #3399ff; |
− | -moz-animation: none !important;
| + | |
− | -webkit-animation: none !important;
| + | |
− | -ms-animation: none !important;
| + | |
− | animation: none !important;
| + | |
− | }
| + | |
− | | + | |
− | input, textarea, select {
| + | |
− | font-size: 15pt;
| + | |
− | line-height: 1.85em;
| + | |
− | font-family: 'Source Sans Pro', sans-serif;
| + | |
− | font-weight: 300;
| + | |
− | }
| + | |
− | | + | |
− | h1, h2, h3, h4, h5, h6 {
| + | |
− | font-weight: 400; | + | |
− | color: #483949;
| + | |
− | line-height: 1.25em;
| + | |
− | }
| + | |
− | | + | |
− | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
| + | |
− | color: inherit;
| + | |
| text-decoration: none; | | text-decoration: none; |
− | border-bottom-color: transparent; | + | color:#ffffff; |
| } | | } |
| | | |
− | h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong { | + | /* styling for the menu button when it is the current page */ |
− | font-weight: 600; | + | .current_page { |
| + | background-color:#7fc1f7 !important; |
| + | color:#5e5f5f !important; |
| } | | } |
| | | |
− | h2 {
| |
− | font-size: 2.85em;
| |
− | }
| |
| | | |
− | h3 { | + | /* styling for the submenu buttons */ |
− | font-size: 1.25em; | + | .igem_2017_menu_wrapper .submenu_button { |
| + | width: 100%; |
| + | padding: 10px 0px 10px 34px; |
| + | float:left; |
| + | background-color:#f2f2f2; |
| + | border-bottom: 1px solid #d3d3d3; |
| + | font-size: 12px; |
| + | color: #5e5f5f; |
| + | cursor: pointer; |
| } | | } |
| | | |
− | h4 { | + | /* wrapper for the submenu items, they are hidden by default*/ |
− | font-size: 1em; | + | .igem_2017_menu_wrapper .submenu_wrapper { |
− | margin: 0 0 0.25em 0;
| + | display:none; |
| } | | } |
| | | |
− | strong, b { | + | /* when the page size is bigger than 800px, this show/hide control is hidden by default */ |
− | font-weight: 400; | + | .igem_2017_menu_wrapper #display_menu_control { |
− | color: #483949; | + | display:none; |
| + | text-align:center; |
| } | | } |
| + | |
| | | |
− | em, i {
| + | /***************************************************** CONTENT OF THE PAGE ****************************************************/ |
− | font-style: italic;
| + | |
− | }
| + | |
| | | |
− | a { | + | /* Wrapper for the content */ |
− | color: inherit; | + | .igem_2017_content_wrapper { |
− | border-bottom: solid 1px rgba(128, 128, 128, 0.15); | + | width: 81%; |
− | text-decoration: none; | + | margin: 2%; |
− | -moz-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out; | + | display:block; |
− | -webkit-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out; | + | float:left; |
− | -ms-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out; | + | background-color:white; |
− | transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
| + | font-family:Tahoma, Geneva, sans-serif; |
| } | | } |
| | | |
− | a:hover {
| |
− | color: #ef8376;
| |
− | border-bottom-color: transparent;
| |
− | }
| |
| | | |
− | sub {
| + | /********************************* HTML STYLING *********************************/ |
− | position: relative;
| + | |
− | top: 0.5em;
| + | |
− | font-size: 0.8em;
| + | |
− | }
| + | |
| | | |
− | sup { | + | /* styling for the titles h1 h2 */ |
− | position: relative; | + | .igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 { |
− | top: -0.5em; | + | padding:5px 15px; |
− | font-size: 0.8em; | + | border-bottom: 0px; |
| + | color: #3399ff; |
| } | | } |
| | | |
− | blockquote {
| |
− | border-left: solid 0.5em #ddd;
| |
− | padding: 1em 0 1em 2em;
| |
− | font-style: italic;
| |
− | }
| |
| | | |
− | p, ul, ol, dl, table { | + | /* styling for the titles h3 h4 h5 h6*/ |
− | margin-bottom: 1em; | + | .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; |
| } | | } |
| | | |
− | p { | + | |
− | text-align: justify; | + | /* font and text */ |
| + | .igem_2017_content_wrapper p { |
| + | padding: 0px 15px; |
| + | font-size: 13px; |
| } | | } |
| | | |
− | br.clear { | + | /* Links */ |
− | clear: both; | + | .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; |
| } | | } |
| | | |
− |
| + | /* hover for the links */ |
− |
| + | .igem_2017_content_wrapper a:hover { |
− | | + | text-decoration:none; |
− | .timestamp { | + | color:#000000; |
− | color: rgba(128, 128, 128, 0.75); | + | |
− | font-size: 0.8em; | + | |
| } | | } |
| | | |
− | /******************1696*****************/ | + | /* non numbered lists */ |
− | /* Sections/Article */
| + | .igem_2017_content_wrapper ul { |
− | | + | padding:0px 20px; |
− | section, article { | + | font-size: 13px; |
− | margin-bottom: 3em; | + | font-family:Tahoma, Geneva, sans-serif; |
| } | | } |
| | | |
− | section > :last-child, section:last-child, article > :last-child, article:last-child {
| + | /* numbered lists */ |
− | margin-bottom: 0;
| + | .igem_2017_content_wrapper ol { |
− | } | + | padding:0px; |
− | | + | font-size: 13px; |
− | section.special > header, section.special > footer, article.special > header, article.special > footer {
| + | font-family:Tahoma, Geneva, sans-serif; |
− | text-align: center;
| + | |
− | } | + | |
− | | + | |
− | .row > section, .row > article {
| + | |
− | margin-bottom: 0;
| + | |
| } | | } |
| | | |
− | header { | + | /* Table */ |
− | margin: 0 0 1em 0; | + | .igem_2017_content_wrapper table { |
| + | width: 97%; |
| + | margin:15px 10px; |
| + | border: 1px solid #d3d3d3; |
| + | border-collapse: collapse; |
| } | | } |
| | | |
− | header > p {
| + | /* table cells */ |
− | display: block;
| + | .igem_2017_content_wrapper td { |
− | font-size: 1.5em;
| + | padding: 10px; |
− | margin: 1em 0 2em 0;
| + | vertical-align: text-top; |
− | line-height: 1.5em;
| + | border: 1px solid #d3d3d3; |
− | text-align: inherit;
| + | border-collapse: collapse; |
− | } | + | |
− | | + | |
− | footer {
| + | |
− | margin: 2.5em 0 0 0; | + | |
| } | | } |
| | | |
− | /* Image */ | + | /* table headers */ |
− | | + | .igem_2017_content_wrapper th { |
− | .image { | + | padding: 10px; |
− | position: relative; | + | vertical-align: text-top; |
− | display: inline-block; | + | border: 1px solid #d3d3d3; |
− | border: 0; | + | border-collapse: collapse; |
− | outline: 0; | + | background-color:#f2f2f2; |
| } | | } |
| | | |
− | .image img {
| |
− | display: block;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | .image.fit {
| |
− | display: block;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | .image.featured {
| |
− | display: block;
| |
− | width: 100%;
| |
− | margin: 0 0 4em 0;
| |
− | }
| |
− |
| |
− | .image.left {
| |
− | float: left;
| |
− | margin: 0 2em 2em 0;
| |
− | }
| |
− |
| |
− | .image.centered {
| |
− | display: block;
| |
− | margin: 0 0 2em 0;
| |
− | }
| |
− |
| |
− | .image.centered img {
| |
− | margin: 0 auto;
| |
− | width: auto;
| |
− | }
| |
| | | |
− | /* List */ | + | /**********************************LAYOUT CLASSES **********************************/ |
| | | |
− | ul.default { | + | /* general class for column divs */ |
− | list-style: disc; | + | .igem_2017_content_wrapper .column { |
− | padding-left: 1em; | + | padding: 10px 0px; |
| + | float:left; |
| } | | } |
| | | |
− | ul.default li {
| + | /* class for a full width column */ |
− | padding-left: 0.5em;
| + | .column .full_size { |
− | }
| + | width:100%; |
− | | + | |
− | ul.actions {
| + | |
− | margin: 3em 0 0 0; | + | |
| } | | } |
| | | |
− | form ul.actions {
| + | /* styling for images in a full width column*/ |
− | margin-top: 0;
| + | .column.full_size img { |
− | }
| + | width:97%; |
− | | + | padding: 10px 15px; |
− | ul.actions li {
| + | |
− | display: inline-block;
| + | |
− | margin: 0 0.75em 0 0.75em;
| + | |
− | }
| + | |
− | | + | |
− | ul.actions li:first-child {
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | ul.actions li:last-child {
| + | |
− | margin-right: 0;
| + | |
− | }
| + | |
− | | + | |
− | ul.divided li {
| + | |
− | border-top: solid 1px rgba(128, 128, 128, 0.2); | + | |
− | padding-top: 1.5em; | + | |
− | margin-top: 1.5em;
| + | |
| } | | } |
| | | |
− | ul.divided li:first-child {
| + | /* class for a half width column */ |
− | border-top: 0;
| + | .column.half_size { |
− | padding-top: 0;
| + | width: 50%; |
− | margin-top: 0;
| + | |
− | }
| + | |
− | | + | |
− | ul.menu { | + | |
− | height: 1em; | + | |
− | line-height: 1em;
| + | |
| } | | } |
− | | + | /* styling for images in a half width column*/ |
− | ul.menu li {
| + | .column.half_size img { |
− | display: inline-block;
| + | width: 94.5%; |
− | border-left: solid 1px rgba(128, 128, 128, 0.2);
| + | padding: 10px 15px; |
− | padding-left: 1.25em;
| + | |
− | margin-left: 1.25em;
| + | |
− | }
| + | |
− | | + | |
− | ul.menu li:first-child {
| + | |
− | border-left: 0;
| + | |
− | padding-left: 0;
| + | |
− | margin-left: 0;
| + | |
− | }
| + | |
− | | + | |
− | ul.icons {
| + | |
− | position: relative; | + | |
− | background: rgba(128, 128, 128, 0.05);
| + | |
− | border-radius: 4em;
| + | |
− | display: inline-block;
| + | |
− | padding: 0.35em 0.75em 0.35em 0.75em; | + | |
− | font-size: 1.25em;
| + | |
− | cursor: default;
| + | |
| } | | } |
| | | |
− | ul.icons li {
| |
− | display: inline-block;
| |
− | }
| |
| | | |
− | ul.icons li a {
| |
− | display: inline-block;
| |
− | background: none;
| |
− | width: 2.5em;
| |
− | height: 2.5em;
| |
− | line-height: 2.5em;
| |
− | text-align: center;
| |
− | border-radius: 100%;
| |
− | border: 0;
| |
− | color: inherit;
| |
− | }
| |
| | | |
− | ul.icons li a:hover {
| |
− | color: #ef8376;
| |
− | }
| |
| | | |
− | ol.default {
| + | /********************************* SUPPORT CLASSES ********************************/ |
− | list-style: decimal;
| + | |
− | padding-left: 1.25em;
| + | |
− | }
| + | |
| | | |
− | ol.default li {
| + | /* class that clears content below*/ |
− | padding-left: 0.25em;
| + | .igem_2017_content_wrapper .clear { |
− | }
| + | clear:both; |
− | | + | |
− | /* Form */ | + | |
− | | + | |
− | form label { | + | |
− | display: block; | + | |
− | font-weight: 400;
| + | |
− | color: #483949;
| + | |
− | margin: 0 0 1em 0;
| + | |
| } | | } |
− | | + | |
− | form input[type="text"], | + | |
− | form input[type="email"], | + | /* adds extra spacing when clearing content */ |
− | form input[type="password"], | + | .igem_2017_content_wrapper .clear.extra_space { |
− | form select, | + | height: 30px; |
− | form textarea {
| + | |
− | -webkit-appearance: none;
| + | |
− | display: block;
| + | |
− | border: 0;
| + | |
− | background: #fafafa;
| + | |
− | width: 100%;
| + | |
− | border-radius: 0.5em;
| + | |
− | border: solid 1px #E5E5E5;
| + | |
− | padding: 1em;
| + | |
− | -moz-transition: background-color 0.35s ease-in-out, border-color 0.35s ease-in-out;
| + | |
− | -webkit-transition: background-color 0.35s ease-in-out, border-color 0.35s ease-in-out; | + | |
− | -ms-transition: background-color 0.35s ease-in-out, border-color 0.35s ease-in-out;
| + | |
− | transition: background-color 0.35s ease-in-out, border-color 0.35s ease-in-out;
| + | |
| } | | } |
| | | |
− | form input[type="text"]:focus,
| |
− | form input[type="email"]:focus,
| |
− | form input[type="password"]:focus,
| |
− | form select:focus,
| |
− | form textarea:focus {
| |
− | background: #fff;
| |
− | border-color: #df7366;
| |
− | }
| |
| | | |
− | form input[type="text"], | + | /* highlight class, makes content slightly smaller */ |
− | form input[type="email"], | + | .igem_2017_content_wrapper .highlight { |
− | form input[type="password"],
| + | margin: 0px 15px; |
− | form select {
| + | padding: 15px 0px; |
− | line-height: 1em; | + | |
| } | | } |
| | | |
− | form textarea {
| |
− | min-height: 9em;
| |
− | }
| |
| | | |
− | form .formerize-placeholder { | + | /* highlight class, adds a gray background */ |
− | color: #555 !important; | + | .igem_2017_content_wrapper .highlight.gray { |
| + | background-color: #f2f2f2; |
| } | | } |
| | | |
− | form ::-webkit-input-placeholder { | + | /* highlight with decoration blue line on top */ |
− | color: #555 !important;
| + | .igem_2017_content_wrapper .highlight.blue_top { |
| + | border-top: 4px solid #3399ff; |
| } | | } |
| | | |
− | form :-moz-placeholder { | + | /* highlight with a full blue border decoration */ |
− | color: #555 !important;
| + | .igem_2017_content_wrapper .highlight.blue_border { |
| + | border: 4px solid #3399ff; |
| } | | } |
| | | |
− | form ::-moz-placeholder {
| |
− | color: #555 !important;
| |
− | }
| |
| | | |
− | form :-ms-input-placeholder { | + | /* button class */ |
− | color: #555 !important;
| + | .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; |
| } | | } |
| | | |
− | form ::-moz-focus-inner { | + | /* styling for button on hover */ |
− | border: 0; | + | .igem_2017_content_wrapper .button:hover{ |
| + | background-color: #3399ff; |
| + | color: #000000; |
| } | | } |
| | | |
− | /* Table */
| |
| | | |
− | table {
| |
− | width: 100%;
| |
− | }
| |
| | | |
− | table.default {
| |
− | width: 100%;
| |
− | }
| |
| | | |
− | table.default tbody tr {
| + | /***************************************************** RESPONSIVE STYLING ****************************************************/ |
− | border-top: solid 1px #e5e5e5;
| + | |
− | }
| + | |
| | | |
− | table.default tbody tr:first-child {
| + | /* IF THE SCREEN IS LESS THAN 1200PX */ |
− | border-top: 0;
| + | @media only screen and (max-width: 1200px) { |
− | }
| + | |
| | | |
− | table.default tbody tr:nth-child(2n+1) {
| + | #content {width:100%; } |
− | background: #fafafa;
| + | .igem_2017_menu_wrapper {width:15%; right:0;} |
− | }
| + | .highlight {padding:10px 0px;} |
− | | + | .igem_2017_menu_wrapper #display_menu_control { display:none; } |
− | table.default td {
| + | #menu_content { display:block;} |
− | padding: 0.5em 1em 0.5em 1em;
| + | .menu_button.direct_to_page {padding-left: 17px;} |
− | }
| + | |
− | | + | |
− | table.default th {
| + | |
− | text-align: left;
| + | |
− | font-weight: 400;
| + | |
− | padding: 0.5em 1em 0.5em 1em;
| + | |
− | }
| + | |
− | | + | |
− | table.default thead {
| + | |
− | border-bottom: solid 2px #e5e5e5;
| + | |
− | }
| + | |
− | | + | |
− | table.default tfoot {
| + | |
− | border-top: solid 2px #e5e5e5;
| + | |
− | }
| + | |
− | | + | |
− | /* Button */
| + | |
− | | + | |
− | input[type="button"],
| + | |
− | input[type="submit"],
| + | |
− | input[type="reset"],
| + | |
− | button,
| + | |
− | .button {
| + | |
− | position: relative;
| + | |
− | display: inline-block;
| + | |
− | background: #df7366; | + | |
| | | |
− | text-align: center;
| |
− | border-radius: 0.5em;
| |
− | text-decoration: none;
| |
− | padding: 0.65em 3em 0.65em 3em;
| |
− | border: 0;
| |
− | cursor: pointer;
| |
− | outline: 0;
| |
− | font-weight: 300;
| |
− | -moz-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
| |
− | -webkit-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
| |
− | -ms-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
| |
− | transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
| |
| } | | } |
| | | |
− | input[type="button"]:hover,
| + | /* IF THE SCREEN IS LESS THAN 800PX */ |
− | input[type="submit"]:hover,
| + | @media only screen and (max-width: 800px) { |
− | input[type="reset"]:hover,
| + | |
− | button:hover,
| + | |
− | .button:hover {
| + | |
− | color: #fff;
| + | |
− | background: #ef8376;
| + | |
− | }
| + | |
− | | + | |
− | input[type="button"].alt,
| + | |
− | input[type="submit"].alt,
| + | |
− | input[type="reset"].alt,
| + | |
− | button.alt,
| + | |
− | .button.alt {
| + | |
− | background: #2B252C;
| + | |
− | }
| + | |
− | | + | |
− | input[type="button"].alt:hover,
| + | |
− | input[type="submit"].alt:hover,
| + | |
− | input[type="reset"].alt:hover,
| + | |
− | button.alt:hover,
| + | |
− | .button.alt:hover {
| + | |
− | background: #3B353C;
| + | |
− | }
| + | |
− | | + | |
− | /* Post */ | + | |
| | | |
− | .post.stub {
| + | .igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;} |
− | text-align: center; | + | .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; } |
| } | | } |
| | | |
− | .post.stub header {
| |
− | margin: 0;
| |
− | }
| |
| | | |
− | /* Icons */ | + | |
− | | + | |
− | .icon { | + | /* special class that the system uses to make sure the team wants a page to be evaluated */ |
− | text-decoration: none; | + | .judges-will-not-evaluate { |
| + | width: 96.6%; |
| + | margin: 5px 15px; |
| + | display: block; |
| + | border: 4px solid #3399ff; |
| + | font-weight: bold; |
| } | | } |
| + | |
| + | </style> |
| | | |
− | .icon:before {
| |
− | display: inline-block;
| |
− | font-family: FontAwesome;
| |
− | font-size: 1.25em;
| |
− | text-decoration: none;
| |
− | font-style: normal;
| |
− | font-weight: normal;
| |
− | line-height: 1;
| |
− | -webkit-font-smoothing: antialiased;
| |
− | -moz-osx-font-smoothing: grayscale;
| |
− | }
| |
| | | |
− | .icon > .label {
| + | <!--- THIS IS WHERE THE HTML BEGINS ---> |
− | display: none;
| + | |
− | }
| + | |
| | | |
− | .icon.circled {
| |
− | position: relative;
| |
− | display: inline-block;
| |
− | background: #2b252c;
| |
− | color: #fff;
| |
− | border-radius: 100%;
| |
− | width: 3em;
| |
− | height: 3em;
| |
− | line-height: 3.25em;
| |
− | text-align: center;
| |
− | font-size: 1.25em;
| |
− | }
| |
| | | |
− | header .icon.circled {
| |
− | margin: 0 0 2em 0;
| |
− | }
| |
| | | |
− | /* Wrapper */
| + | <head> |
| | | |
− | .wrapper { | + | <!-- This tells the browser that your page is responsive --> |
− | background: #fff;
| + | <meta name="viewport" content="width=device-width, initial-scale=1"> |
− | margin: 0 0 2em 0;
| + | |
− | padding: 6em 0 6em 0;
| + | |
− | } | + | |
| | | |
− | .wrapper.style2 {
| + | </head> |
− | padding-top: 0;
| + | |
− | }
| + | |
| | | |
− | /* Header */
| |
| | | |
− | #header {
| |
− | position: relative;
| |
− | background-image: url("https://static.igem.org/mediawiki/2017/5/5e/Header.jpg");
| |
− | background-size: cover;
| |
− | background-position: center center;
| |
− | background-attachment: fixed;
| |
− | color: #fff;
| |
− | text-align: center;
| |
− | padding: 8.5em 0 16em 0;
| |
− | cursor: default;
| |
− | }
| |
| | | |
− | #header:before {
| + | <div class="igem_2017_menu_wrapper" > |
− | content: '';
| + | |
− | display: inline-block;
| + | |
− | vertical-align: middle;
| + | |
− | height: 100%;
| + | |
− | }
| + | |
| | | |
− | #header .inner {
| |
− | position: relative;
| |
− | z-index: 1;
| |
− | margin: 0;
| |
− | display: inline-block;
| |
− | vertical-align: middle;
| |
− | }
| |
| | | |
− | #header header {
| |
− | display: inline-block;
| |
− | }
| |
| | | |
− | #header header > p {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan"> |
− | font-size: 1.25em;
| + | <img src="http://placehold.it/350x150"> |
− | margin: 0;
| + | </a> |
− | }
| + | |
| | | |
− | #header h1 {
| |
− | color: #fff;
| |
− | font-size: 3em;
| |
− | line-height: 1em;
| |
− | }
| |
| | | |
− | #header h1 a {
| + | <!-- this div is hidden by default and will only be displayed if the screen size is too small --> |
− | color: inherit;
| + | <div class="menu_button" id="display_menu_control"> |
− | }
| + | MENU |
| + | </div> |
| | | |
− | #header .button {
| + | <div id="menu_content"> |
− | display: inline-block;
| + | |
− | border-radius: 100%;
| + | |
− | width: 4.5em;
| + | |
− | height: 4.5em;
| + | |
− | line-height: 4.5em;
| + | |
− | text-align: center;
| + | |
− | font-size: 1.25em;
| + | |
− | padding: 0;
| + | |
− | }
| + | |
| | | |
| | | |
− | #header footer {
| |
− | margin: 1em 0 0 0;
| |
− | }
| |
| | | |
− | body.homepage #header {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan"> |
− | height: 100vh; | + | <div class="menu_button direct_to_page"> |
− | min-height: 40em;
| + | HOME |
− | }
| + | </div> |
| + | </a> |
| | | |
− | body.homepage #header h1 {
| |
− | font-size: 4em;
| |
− | }
| |
| | | |
− | body.homepage #header:after {
| |
− | content: '';
| |
− | background: #1C0920;
| |
− | display: block;
| |
− | position: absolute;
| |
− | left: 0;
| |
− | top: 0;
| |
− | width: 100%;
| |
− | height: 100%;
| |
− | opacity: 0;
| |
− | -moz-transition: opacity 2.5s ease-in-out;
| |
− | -webkit-transition: opacity 2.5s ease-in-out;
| |
− | -ms-transition: opacity 2.5s ease-in-out;
| |
− | transition: opacity 2.5s ease-in-out;
| |
− | -moz-transition-delay: 0.5s;
| |
− | -webkit-transition-delay: 0.5s;
| |
− | -ms-transition-delay: 0.5s;
| |
− | transition-delay: 0.5s;
| |
− | }
| |
| | | |
− | body.homepage.is-loading #header:after {
| + | <div class="menu_button"> |
− | opacity: 1; | + | <div class="expand_collapse_icon"> </div> TEAM |
− | }
| + | </div> |
| | | |
− | /* Nav */ | + | <div class="submenu_wrapper" id="team_submenu"> |
| + | |
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Team"> |
| + | <div class="submenu_button" id="Team_page"> |
| + | Team |
| + | </div> |
| + | </a> |
| | | |
− | #nav {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Collaborations"> |
− | position: absolute;
| + | <div class="submenu_button" id="Collaborations_page"> |
− | top: 0;
| + | Collaborations |
− | left: 0;
| + | </div> |
− | width: 100%;
| + | </a> |
− | text-align: center;
| + | |
− | padding: 1.5em 0 1.5em 0;
| + | |
− | z-index: 1;
| + | </div> |
− | overflow: hidden; | + | |
− | }
| + | |
| | | |
− | #nav > ul {
| |
− | line-height: 0px;
| |
− | position: relative;
| |
− | display: inline-block;
| |
− | margin: 0;
| |
− | height: 21px;
| |
− | border-left: solid 1px rgba(192, 192, 192, 0.35);
| |
− | border-right: solid 1px rgba(192, 192, 192, 0.35);
| |
− | }
| |
| | | |
− | #nav > ul:before, #nav > ul:after {
| + | |
− | content: '';
| + | |
− | display: block;
| + | |
− | width: 300%;
| + | |
− | position: absolute;
| + | |
− | top: 50%;
| + | |
− | margin-top: -2px;
| + | |
− | height: 5px;
| + | |
− | border-top: solid 1px rgba(192, 192, 192, 0.35);
| + | |
− | border-bottom: solid 1px rgba(192, 192, 192, 0.35);
| + | |
− | }
| + | |
| | | |
− | #nav > ul:before {
| + | <div class="menu_button"> |
− | left: 100%;
| + | <div class="expand_collapse_icon"> </div> PROJECT |
− | margin-left: 1px;
| + | </div> |
− | } | + | |
| | | |
− | #nav > ul:after {
| + | <!-- project submenu --> |
− | right: 100%; | + | <div class="submenu_wrapper"> |
− | margin-right: 1px; | + | |
− | } | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Description"> |
| + | <div class="submenu_button" id="Description_page"> |
| + | Description |
| + | </div> |
| + | </a> |
| | | |
− | #nav > ul > li { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Design"> |
− | display: inline-block;
| + | <div class="submenu_button" id="Design_page"> |
− | margin: -9px 0.5em 0 0.5em;
| + | Design |
− | border-radius: 0.5em;
| + | </div> |
− | padding: 0.85em; | + | </a> |
− | border: solid 1px transparent;
| + | |
− | -moz-transition: color 0.35s ease-in-out, border-color 0.35s ease-in-out; | + | |
− | -webkit-transition: color 0.35s ease-in-out, border-color 0.35s ease-in-out;
| + | |
− | -ms-transition: color 0.35s ease-in-out, border-color 0.35s ease-in-out;
| + | |
− | transition: color 0.35s ease-in-out, border-color 0.35s ease-in-out;
| + | |
− | } | + | |
| | | |
− | #nav > ul > li.active { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Experiments"> |
− | border-color: rgba(192, 192, 192, 0.35); | + | <div class="submenu_button" id="Experiments_page"> |
− | } | + | Experiments |
| + | </div> |
| + | </a> |
| | | |
− | #nav > ul > li > a, #nav > ul > li > span {
| |
− | display: block;
| |
− | color: inherit;
| |
− | text-decoration: none;
| |
− | border: 0;
| |
− | outline: 0;
| |
− | }
| |
| | | |
− | #nav > ul > li > ul { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Notebook"> |
− | display: none; | + | <div class="submenu_button" id="Notebook_page"> |
− | } | + | Notebook |
| + | </div> |
| + | </a> |
| | | |
− | .dropotron {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/InterLab"> |
− | background: rgba(255, 255, 255, 0.975);
| + | <div class="submenu_button" id="InterLab_page"> |
− | padding: 1em 1.25em 1em 1.25em;
| + | InterLab |
− | line-height: 1em;
| + | </div> |
− | height: auto;
| + | </a> |
− | text-align: left;
| + | |
− | border-radius: 0.5em;
| + | |
− | box-shadow: 0 0.15em 0.25em 0 rgba(0, 0, 0, 0.25);
| + | |
− | min-width: 12em;
| + | |
− | margin-top: -1em;
| + | |
− | }
| + | |
| | | |
− | .dropotron li {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Contribution"> |
− | border-top: solid 1px rgba(128, 128, 128, 0.2); | + | <div class="submenu_button" id="Contribution_page"> |
− | color: #5b5b5b;
| + | Contribution |
− | }
| + | </div> |
| + | </a> |
| | | |
− | .dropotron li:first-child { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Model"> |
− | border-top: 0; | + | <div class="submenu_button" id="Model_page"> |
− | } | + | Model |
| + | </div> |
| + | </a> |
| | | |
− | .dropotron li:hover { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Results"> |
− | color: #ef8376; | + | <div class="submenu_button" id="Results_page"> |
− | } | + | Results |
| + | </div> |
| + | </a> |
| | | |
− | .dropotron li a, .dropotron li span {
| |
− | display: block;
| |
− | border: 0;
| |
− | padding: 0.5em 0 0.5em 0;
| |
− | -moz-transition: color 0.35s ease-in-out;
| |
− | -webkit-transition: color 0.35s ease-in-out;
| |
− | -ms-transition: color 0.35s ease-in-out;
| |
− | transition: color 0.35s ease-in-out;
| |
− | }
| |
| | | |
− | .dropotron.level-0 {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Demonstrate"> |
− | margin-top: 2em;
| + | <div class="submenu_button" id="Demonstrate_page"> |
− | font-size: 0.9em;
| + | Demonstrate |
− | }
| + | </div> |
| + | </a> |
| | | |
− | .dropotron.level-0:before { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Improve"> |
− | content: ''; | + | <div class="submenu_button" id="Improve_page"> |
− | position: absolute;
| + | Improve |
− | left: 50%; | + | </div> |
− | top: -0.7em;
| + | </a> |
− | margin-left: -0.75em;
| + | |
− | border-bottom: solid 0.75em rgba(255, 255, 255, 0.975);
| + | |
− | border-left: solid 0.75em rgba(64, 64, 64, 0);
| + | |
− | border-right: solid 0.75em rgba(64, 64, 64, 0);
| + | |
− | } | + | |
| | | |
− | /* Banner */ | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Attributions"> |
| + | <div class="submenu_button" id="Attributions_page"> |
| + | Attributions |
| + | </div> |
| + | </a> |
| | | |
− | #banner {
| + | </div> |
− | background: #fff; | + | |
− | text-align: center;
| + | |
− | padding: 4.5em 0 4.5em 0;
| + | |
− | margin-bottom: 0;
| + | |
− | }
| + | |
| | | |
− | #banner header > p { | + | |
− | margin-bottom: 0;
| + | |
− | } | + | |
| + | |
| | | |
− | /* Content */ | + | <div class="menu_button"> |
| + | <div class="expand_collapse_icon"> </div> PARTS |
| + | </div> |
| + | |
| + | <!-- parts submenu --> |
| + | <div class="submenu_wrapper"> |
| + | |
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Parts"> |
| + | <div class="submenu_button" id="Parts_page"> |
| + | Parts |
| + | </div> |
| + | </a> |
| | | |
− | #content > hr {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Basic_Part"> |
− | top: 3em;
| + | <div class="submenu_button" id="Basic_Part_page"> |
− | margin-bottom: 6em;
| + | Basic Parts |
− | }
| + | </div> |
| + | </a> |
| | | |
− | #content > section {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Composite_Part"> |
− | margin-bottom: 0;
| + | <div class="submenu_button" id="Composite_Part_page"> |
− | }
| + | Composite Parts |
| + | </div> |
| + | </a> |
| | | |
− | /* Sidebar */ | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Part_Collection"> |
| + | <div class="submenu_button" id="Part_Collection_page"> |
| + | Part Collection |
| + | </div> |
| + | </a> |
| + | </div> |
| | | |
− | #sidebar > hr {
| + | |
− | top: 3em; | + | |
− | margin-bottom: 6em; | + | |
− | }
| + | |
| | | |
− | #sidebar > hr.first { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Safety"> |
− | display: none; | + | <div class="menu_button direct_to_page"> |
− | } | + | SAFETY |
| + | </div> |
| + | </a> |
| | | |
− | #sidebar > section {
| |
− | margin-bottom: 0;
| |
− | }
| |
| | | |
− | /* Main */
| |
| | | |
− | #main {
| |
− | margin-bottom: 0;
| |
− | }
| |
| | | |
− | #main section:first-of-type {
| |
− | padding-top: 2em;
| |
− | }
| |
| | | |
− | /* Footer */
| |
| | | |
− | #footer {
| |
− | position: relative;
| |
− | overflow: hidden;
| |
− | padding: 6em 0 6em 0;
| |
− | background: #2b252c;
| |
− | color: #fff;
| |
− | }
| |
| | | |
− | #footer .icon.circled { | + | <div class="menu_button" > |
− | background: #fff; | + | <div class="expand_collapse_icon"> </div> HUMAN PRACTICES |
− | color: #2b252c;
| + | </div> |
− | } | + | |
| | | |
− | #footer header { | + | <!-- human practices submenu --> |
− | text-align: center;
| + | <div class="submenu_wrapper"> |
− | cursor: default;
| + | |
− | } | + | |
| | | |
− | #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/HP/Silver"> |
− | color: #fff; | + | <div class="submenu_button" id="Silver_page"> |
− | }
| + | Silver HP |
| + | </div> |
| + | </a> |
| | | |
− | #footer .contact {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/HP/Gold_Integrated"> |
− | text-align: center; | + | <div class="submenu_button" id="Gold_Integrated_page"> |
− | }
| + | Integrated and Gold |
| + | </div> |
| + | </a> |
| | | |
− | #footer .contact p {
| |
− | text-align: center;
| |
− | margin: 0 0 3em 0;
| |
− | }
| |
| | | |
− | #footer .copyright {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Engagement"> |
− | text-align: center; | + | <div class="submenu_button" id="Engagement_page"> |
− | color: rgba(128, 128, 128, 0.75);
| + | Public Engagement |
− | font-size: 0.8em;
| + | </div> |
− | cursor: default; | + | </a> |
− | }
| + | |
| | | |
− | #footer .copyright a {
| + | </div> |
− | color: rgba(128, 128, 128, 0.75);
| + | |
− | }
| + | |
| | | |
− | #footer .copyright a:hover {
| |
− | color: rgba(212, 212, 212, 0.85);
| |
− | }
| |
| | | |
− | /* Carousel */ | + | <div class="menu_button"> |
| + | <div class="expand_collapse_icon"> </div> AWARDS |
| + | </div> |
| | | |
− | .carousel {
| + | <!-- awards submenu --> |
− | position: relative; | + | <div class="submenu_wrapper"> |
− | overflow: hidden; | + | |
− | padding: 2em 0 2em 0;
| + | |
− | margin-bottom: 0;
| + | |
− | }
| + | |
| | | |
− | .carousel .forward, .carousel .backward {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Applied_Design"> |
− | position: absolute;
| + | <div class="submenu_button" id="Applied_Design_page"> |
− | top: 50%;
| + | Applied Design |
− | width: 6em;
| + | </div> |
− | height: 12em;
| + | </a> |
− | margin-top: -6em; | + | |
− | cursor: pointer;
| + | |
− | }
| + | |
| | | |
− | .carousel .forward:before, .carousel .backward:before { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Entrepreneurship"> |
− | content: ''; | + | <div class="submenu_button" id="Entrepreneurship_page"> |
− | display: block;
| + | Entrepreneurship |
− | width: 6em; | + | </div> |
− | height: 6em;
| + | </a> |
− | border-radius: 100%;
| + | |
− | background-color: rgba(72, 57, 73, 0.5);
| + | |
− | position: absolute;
| + | |
− | top: 50%;
| + | |
− | margin-top: -3em;
| + | |
− | -moz-transition: background-color 0.35s ease-in-out;
| + | |
− | -webkit-transition: background-color 0.35s ease-in-out;
| + | |
− | -o-transition: background-color 0.35s ease-in-out;
| + | |
− | -ms-transition: background-color 0.35s ease-in-out;
| + | |
− | transition: background-color 0.35s ease-in-out;
| + | |
− | -webkit-backface-visibility: hidden;
| + | |
− | } | + | |
| | | |
− | .carousel .forward:after, .carousel .backward:after { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Hardware"> |
− | content: ''; | + | <div class="submenu_button" id="Hardware_page"> |
− | width: 3em;
| + | Hardware |
− | height: 3em; | + | </div> |
− | position: absolute;
| + | </a> |
− | top: 50%;
| + | |
− | margin: -1.5em 0 0 0;
| + | |
− | background: url("images/arrow.svg") no-repeat center center;
| + | |
− | } | + | |
| | | |
− | .carousel .forward:hover:before, .carousel .backward:hover:before { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Measurement"> |
− | background-color: rgba(239, 131, 118, 0.75); | + | <div class="submenu_button" id="Measurement_page"> |
− | } | + | Measurement |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .forward {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Model"> |
− | right: 0;
| + | <div class="submenu_button" id="Model_page"> |
− | }
| + | Model |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .forward:before { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Plant"> |
− | right: -3em; | + | <div class="submenu_button" id="Plant_page"> |
− | } | + | Plant |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .forward:after {
| |
− | right: -0.25em;
| |
− | }
| |
| | | |
− | .carousel .backward {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Software"> |
− | left: 0;
| + | <div class="submenu_button" id="Software_page"> |
− | }
| + | Software |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .backward:before {
| + | </div> |
− | left: -3em;
| + | |
− | }
| + | |
| | | |
− | .carousel .backward:after {
| + | <a href="https://igem.org/2017_Judging_Form?team=CCU_Taiwan"> |
− | left: -0.25em;
| + | <div class="menu_button direct_to_page"> |
− | -moz-transform: scaleX(-1);
| + | JUDGING FORM |
− | -webkit-transform: scaleX(-1); | + | </div> |
− | -ms-transform: scaleX(-1);
| + | </a> |
− | transform: scaleX(-1);
| + | |
− | }
| + | |
| | | |
− | .carousel .reel {
| |
− | white-space: nowrap;
| |
− | position: relative;
| |
− | -webkit-overflow-scrolling: touch;
| |
− | padding: 0 2em 0 2em;
| |
− | }
| |
| | | |
− | .carousel article { | + | |
− | display: inline-block;
| + | <div class="menu_bottom_padding" > |
− | width: 18em;
| + | </div> |
− | background: #fff;
| + | |
− | text-align: center;
| + | </div> |
− | padding: 0 1em 3em 1em;
| + | |
− | margin: 0 2em 0 0;
| + | |
− | white-space: normal;
| + | |
− | opacity: 1.0;
| + | |
− | -moz-transition: opacity 0.75s ease-in-out;
| + | |
− | -webkit-transition: opacity 0.75s ease-in-out;
| + | |
− | -ms-transition: opacity 0.75s ease-in-out;
| + | |
− | transition: opacity 0.75s ease-in-out;
| + | |
− | }
| + | |
| | | |
− | .carousel article.loading {
| |
− | opacity: 0;
| |
− | }
| |
| | | |
− | .carousel article .image {
| |
− | position: relative;
| |
− | left: -1em;
| |
− | top: 0;
| |
− | width: auto;
| |
− | margin-right: -2em;
| |
− | margin-bottom: 3em;
| |
− | }
| |
− |
| |
− | .carousel article p {
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | /* Normal */
| |
− |
| |
− |
| |
− | /* Basic */
| |
− |
| |
− | body, input, textarea, select {
| |
− | font-size: 12pt;
| |
− | line-height: 0.6em;
| |
− | }
| |
− |
| |
− | /* Wrapper */
| |
− |
| |
− | .wrapper {
| |
− | padding-left: 2em;
| |
− | padding-right: 2em;
| |
− | }
| |
− |
| |
− | /* Header */
| |
− |
| |
− | #header {
| |
− | background-attachment: scroll;
| |
− | }
| |
− |
| |
− | #header .inner {
| |
− | padding-left: 2em;
| |
− | padding-right: 2em;
| |
− | }
| |
− |
| |
− | /* Banner */
| |
− |
| |
− | #banner {
| |
− | padding-left: 2em;
| |
− | padding-right: 2em;
| |
− | }
| |
− |
| |
− | /* Footer */
| |
− |
| |
− | #footer {
| |
− | padding-left: 2em;
| |
− | padding-right: 2em;
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | </style>
| |
− |
| |
− |
| |
− | <!--- THIS IS WHERE THE HTML BEGINS --->
| |
− |
| |
− |
| |
− | <head>
| |
− |
| |
− | <!-- This tells the browser that your page is responsive -->
| |
− | <meta name="viewport" content="width=device-width, initial-scale=1">
| |
− |
| |
− |
| |
− | </head>
| |
| | | |
| | | |
| + | </div> |
| | | |
| | | |
| | | |
| <!-- start of content --> | | <!-- start of content --> |
| + | <div class="igem_2017_content_wrapper"> |
| + | <h1>CCU_Taiwan</h1> |