|
|
(18 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 99: |
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 107: |
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://2017.igem.org/Team:CCU_Taiwan/fontawesome");
| + | width: 15%; |
− | </script>
| + | height:100vh; |
− | | + | position:fixed; |
− | /* Reset */
| + | right:0%; |
− | | + | padding:0px; |
− | 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 {
| + | float:right; |
− | margin: 0; | + | border-left: 1px solid #d3d3d3; |
− | padding: 0; | + | background-color:#dddddd; |
− | border: 0; | + | text-align:left; |
− | font-size: 100%; | + | font-family:Tahoma, Geneva, sans-serif; |
− | font: inherit; | + | overflow-y: auto; |
− | vertical-align: baseline; | + | overflow-x: hidden; |
| } | | } |
| | | |
− | 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;
| |
− | }
| |
| | | |
− | br.clear { | + | /* font and text */ |
− | clear: both; | + | .igem_2017_content_wrapper p { |
| + | padding: 0px 15px; |
| + | font-size: 13px; |
| } | | } |
| | | |
− | hr { | + | /* Links */ |
− | position: relative; | + | .igem_2017_content_wrapper a { |
− | display: block; | + | font-weight: bold; |
− | border: 0; | + | text-decoration: underline; |
− | top: 4.5em; | + | text-decoration-color: #3399ff; |
− | margin-bottom: 9em; | + | color: #3399ff; |
− | height: 6px;
| + | -webkit-transition: all 0.4s ease; |
− | border-top: solid 1px rgba(128, 128, 128, 0); | + | -moz-transition: all 0.4s ease; |
− | border-bottom: solid 1px rgba(128, 128, 128, 0); | + | -ms-transition: all 0.4s ease; |
| + | -o-transition: all 0.4s ease; |
| + | transition: all 0.4s ease; |
| } | | } |
| | | |
− | hr:before, hr:after {
| + | /* hover for the links */ |
− | content: '';
| + | .igem_2017_content_wrapper a:hover { |
− | position: absolute;
| + | text-decoration:none; |
− | top: -8px;
| + | color:#000000; |
− | display: block;
| + | |
− | width: 1px;
| + | |
− | height: 21px;
| + | |
− | background: rgba(128, 128, 128, 0);
| + | |
− | } | + | |
− | | + | |
− | hr:before {
| + | |
− | left: -1px;
| + | |
− | }
| + | |
− | | + | |
− | hr:after {
| + | |
− | right: -1px;
| + | |
− | }
| + | |
− | | + | |
− | .timestamp {
| + | |
− | 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 {
| + | |
− | border-top: 0;
| + | |
− | }
| + | |
− | | + | |
− | table.default tbody tr:nth-child(2n+1) {
| + | |
− | background: #fafafa;
| + | |
− | }
| + | |
− | | + | |
− | table.default td {
| + | |
− | padding: 0.5em 1em 0.5em 1em;
| + | |
− | }
| + | |
− | | + | |
− | 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 */ | + | /* IF THE SCREEN IS LESS THAN 1200PX */ |
| + | @media only screen and (max-width: 1200px) { |
| | | |
− | input[type="button"],
| + | #content {width:100%; } |
− | input[type="submit"],
| + | .igem_2017_menu_wrapper {width:15%; right:0;} |
− | input[type="reset"],
| + | .highlight {padding:10px 0px;} |
− | button,
| + | .igem_2017_menu_wrapper #display_menu_control { display:none; } |
− | .button {
| + | #menu_content { display:block;} |
− | position: relative; | + | .menu_button.direct_to_page {padding-left: 17px;} |
− | 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 hr {
| |
− | top: 1.5em;
| |
− | margin-bottom: 3em;
| |
− | border-bottom-color: rgba(192, 192, 192, 0.35);
| |
− | box-shadow: inset 0 1px 0 0 rgba(192, 192, 192, 0.35);
| |
− | }
| |
| | | |
− | #header hr:before, #header hr:after {
| |
− | background: rgba(192, 192, 192, 0.35);
| |
− | }
| |
| | | |
− | #header footer { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan"> |
− | margin: 1em 0 0 0; | + | <div class="menu_button direct_to_page"> |
− | } | + | HOME |
| + | </div> |
| + | </a> |
| | | |
− | body.homepage #header {
| |
− | height: 100vh;
| |
− | min-height: 40em;
| |
− | }
| |
| | | |
− | body.homepage #header h1 {
| |
− | font-size: 4em;
| |
− | }
| |
| | | |
− | body.homepage #header:after { | + | <div class="menu_button"> |
− | content: ''; | + | <div class="expand_collapse_icon"> </div> TEAM |
− | background: #1C0920;
| + | </div> |
− | 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="submenu_wrapper" id="team_submenu"> |
− | opacity: 1;
| + | |
− | }
| + | <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"> |
| + | <div class="submenu_button" id="Collaborations_page"> |
| + | Collaborations |
| + | </div> |
| + | </a> |
| + | |
| + | |
| + | </div> |
| | | |
− | #nav {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− | padding: 1.5em 0 1.5em 0;
| |
− | z-index: 1;
| |
− | 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 { | + | <div class="menu_button"> |
− | content: '';
| + | <div class="expand_collapse_icon"> </div> PROJECT |
− | display: block;
| + | </div> |
− | 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 {
| + | <!-- project submenu --> |
− | left: 100%; | + | <div class="submenu_wrapper"> |
− | margin-left: 1px; | + | |
− | } | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Description"> |
| + | <div class="submenu_button" id="Description_page"> |
| + | Description |
| + | </div> |
| + | </a> |
| | | |
− | #nav > ul:after { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Design"> |
− | right: 100%; | + | <div class="submenu_button" id="Design_page"> |
− | margin-right: 1px; | + | Design |
− | } | + | </div> |
| + | </a> |
| | | |
− | #nav > ul > li { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Experiments"> |
− | display: inline-block;
| + | <div class="submenu_button" id="Experiments_page"> |
− | margin: -9px 0.5em 0 0.5em;
| + | Experiments |
− | 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 {
| |
− | border-color: rgba(192, 192, 192, 0.35);
| |
− | }
| |
| | | |
− | #nav > ul > li > a, #nav > ul > li > span {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Notebook"> |
− | display: block;
| + | <div class="submenu_button" id="Notebook_page"> |
− | color: inherit;
| + | Notebook |
− | text-decoration: none;
| + | </div> |
− | border: 0; | + | </a> |
− | outline: 0;
| + | |
− | }
| + | |
| | | |
− | #nav > ul > li > ul { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/InterLab"> |
− | display: none; | + | <div class="submenu_button" id="InterLab_page"> |
− | } | + | InterLab |
| + | </div> |
| + | </a> |
| | | |
− | .dropotron {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Contribution"> |
− | background: rgba(255, 255, 255, 0.975);
| + | <div class="submenu_button" id="Contribution_page"> |
− | padding: 1em 1.25em 1em 1.25em;
| + | Contribution |
− | 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/Model"> |
− | border-top: solid 1px rgba(128, 128, 128, 0.2); | + | <div class="submenu_button" id="Model_page"> |
− | color: #5b5b5b;
| + | Model |
− | }
| + | </div> |
| + | </a> |
| | | |
− | .dropotron li:first-child { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Results"> |
− | border-top: 0; | + | <div class="submenu_button" id="Results_page"> |
− | } | + | Results |
| + | </div> |
| + | </a> |
| | | |
− | .dropotron li:hover {
| |
− | color: #ef8376;
| |
− | }
| |
| | | |
− | .dropotron li a, .dropotron li span { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Demonstrate"> |
− | display: block;
| + | <div class="submenu_button" id="Demonstrate_page"> |
− | border: 0;
| + | Demonstrate |
− | padding: 0.5em 0 0.5em 0;
| + | </div> |
− | -moz-transition: color 0.35s ease-in-out;
| + | </a> |
− | -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/Improve"> |
− | margin-top: 2em;
| + | <div class="submenu_button" id="Improve_page"> |
− | font-size: 0.9em;
| + | Improve |
− | }
| + | </div> |
| + | </a> |
| | | |
− | .dropotron.level-0:before { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Attributions"> |
− | content: ''; | + | <div class="submenu_button" id="Attributions_page"> |
− | position: absolute;
| + | Attributions |
− | 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 */ | + | </div> |
| | | |
− | #banner {
| + | |
− | background: #fff; | + | |
− | text-align: center; | + | |
− | padding: 4.5em 0 4.5em 0; | + | |
− | margin-bottom: 0; | + | |
− | }
| + | |
| | | |
− | #banner header > p { | + | <div class="menu_button"> |
− | margin-bottom: 0; | + | <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 */ | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Basic_Part"> |
| + | <div class="submenu_button" id="Basic_Part_page"> |
| + | Basic Parts |
| + | </div> |
| + | </a> |
| | | |
− | #content > hr {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Composite_Part"> |
− | top: 3em;
| + | <div class="submenu_button" id="Composite_Part_page"> |
− | margin-bottom: 6em;
| + | Composite Parts |
− | }
| + | </div> |
| + | </a> |
| | | |
− | #content > section {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Part_Collection"> |
− | margin-bottom: 0;
| + | <div class="submenu_button" id="Part_Collection_page"> |
− | }
| + | Part Collection |
| + | </div> |
| + | </a> |
| + | </div> |
| | | |
− | /* Sidebar */
| + | |
| + | |
| + | |
| + | |
| | | |
− | #sidebar > hr {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Safety"> |
− | top: 3em; | + | <div class="menu_button direct_to_page"> |
− | margin-bottom: 6em;
| + | SAFETY |
− | }
| + | </div> |
| + | </a> |
| | | |
− | #sidebar > hr.first {
| |
− | display: none;
| |
− | }
| |
| | | |
− | #sidebar > section {
| |
− | margin-bottom: 0;
| |
− | }
| |
| | | |
− | /* Main */
| |
| | | |
− | #main {
| |
− | margin-bottom: 0;
| |
− | }
| |
| | | |
− | #main section:first-of-type {
| |
− | padding-top: 2em;
| |
− | }
| |
| | | |
− | /* Footer */
| |
| | | |
− | #footer {
| + | <div class="menu_button" > |
− | position: relative; | + | <div class="expand_collapse_icon"> </div> HUMAN PRACTICES |
− | overflow: hidden;
| + | </div> |
− | padding: 6em 0 6em 0; | + | |
− | background: #2b252c;
| + | |
− | color: #fff;
| + | |
− | }
| + | |
| | | |
− | #footer .icon.circled { | + | <!-- human practices submenu --> |
− | background: #fff;
| + | <div class="submenu_wrapper"> |
− | color: #2b252c;
| + | |
− | } | + | |
| | | |
− | #footer header {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/HP/Silver"> |
− | text-align: center; | + | <div class="submenu_button" id="Silver_page"> |
− | cursor: default;
| + | Silver HP |
− | }
| + | </div> |
| + | </a> |
| | | |
− | #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/HP/Gold_Integrated"> |
− | color: #fff; | + | <div class="submenu_button" id="Gold_Integrated_page"> |
− | }
| + | Integrated and Gold |
| + | </div> |
| + | </a> |
| | | |
− | #footer .contact {
| |
− | text-align: center;
| |
− | }
| |
| | | |
− | #footer .contact p { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Engagement"> |
− | text-align: center; | + | <div class="submenu_button" id="Engagement_page"> |
− | margin: 0 0 3em 0; | + | Public Engagement |
− | } | + | </div> |
| + | </a> |
| | | |
− | #footer .copyright { | + | </div> |
− | text-align: center;
| + | |
− | color: rgba(128, 128, 128, 0.75);
| + | |
− | font-size: 0.8em;
| + | |
− | cursor: default;
| + | |
− | }
| + | |
| | | |
− | #footer .copyright a {
| |
− | color: rgba(128, 128, 128, 0.75);
| |
− | }
| |
| | | |
− | #footer .copyright a:hover {
| + | <div class="menu_button"> |
− | color: rgba(212, 212, 212, 0.85);
| + | <div class="expand_collapse_icon"> </div> AWARDS |
− | }
| + | </div> |
| | | |
− | /* Carousel */
| + | <!-- awards submenu --> |
| + | <div class="submenu_wrapper"> |
| | | |
− | .carousel {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Applied_Design"> |
− | position: relative;
| + | <div class="submenu_button" id="Applied_Design_page"> |
− | overflow: hidden;
| + | Applied Design |
− | padding: 2em 0 2em 0;
| + | </div> |
− | margin-bottom: 0;
| + | </a> |
− | }
| + | |
| | | |
− | .carousel .forward, .carousel .backward {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Entrepreneurship"> |
− | position: absolute;
| + | <div class="submenu_button" id="Entrepreneurship_page"> |
− | top: 50%;
| + | Entrepreneurship |
− | 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/Hardware"> |
− | content: ''; | + | <div class="submenu_button" id="Hardware_page"> |
− | display: block;
| + | Hardware |
− | 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/Measurement"> |
− | content: ''; | + | <div class="submenu_button" id="Measurement_page"> |
− | width: 3em;
| + | Measurement |
− | 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/Model"> |
− | background-color: rgba(239, 131, 118, 0.75); | + | <div class="submenu_button" id="Model_page"> |
− | } | + | Model |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .forward {
| + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Plant"> |
− | right: 0;
| + | <div class="submenu_button" id="Plant_page"> |
− | }
| + | Plant |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .forward:before {
| |
− | right: -3em;
| |
− | }
| |
| | | |
− | .carousel .forward:after { | + | <a href="https://2017.igem.org/Team:CCU_Taiwan/Software"> |
− | right: -0.25em; | + | <div class="submenu_button" id="Software_page"> |
− | } | + | Software |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .backward { | + | </div> |
− | left: 0;
| + | |
− | }
| + | |
| | | |
− | .carousel .backward:before {
| + | <a href="https://igem.org/2017_Judging_Form?team=CCU_Taiwan"> |
− | left: -3em; | + | <div class="menu_button direct_to_page"> |
− | } | + | JUDGING FORM |
| + | </div> |
| + | </a> |
| | | |
− | .carousel .backward:after {
| |
− | left: -0.25em;
| |
− | -moz-transform: scaleX(-1);
| |
− | -webkit-transform: scaleX(-1);
| |
− | -ms-transform: scaleX(-1);
| |
− | transform: scaleX(-1);
| |
− | }
| |
| | | |
− | .carousel .reel { | + | |
− | white-space: nowrap;
| + | <div class="menu_bottom_padding" > |
− | position: relative;
| + | </div> |
− | -webkit-overflow-scrolling: touch;
| + | |
− | padding: 0 2em 0 2em;
| + | </div> |
− | } | + | |
| | | |
− | .carousel article {
| |
− | display: inline-block;
| |
− | width: 18em;
| |
− | background: #fff;
| |
− | text-align: center;
| |
− | 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> |