|
|
(147 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| {{:Team:Jilin_China/partofBs_CSS}} | | {{:Team:Jilin_China/partofBs_CSS}} |
| + | {{:Team:Jilin_China/fontawesome_CSS}} |
| {{:Team:Jilin_China/Nav_Cont}} | | {{:Team:Jilin_China/Nav_Cont}} |
| + | {{:Team:Jilin_China/Main_Cont_CSS}} |
| {{:Team:Jilin_China/Home_cont}} | | {{:Team:Jilin_China/Home_cont}} |
| + | <html> |
| | | |
| + | </html> |
| <html> | | <html> |
| | | |
| <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | | <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
| | | |
− | <script> | + | |
− | function $$(id){ | + | <script>//coupleColor = [ "#fff","#485"]; |
− | var el=document.getElementById(id);
| + | |
− | return el;
| + | (function(){ |
− | }
| + | |
− | function $C$(Class){
| + | $("#HQ_page").addClass("luanhaixin"); |
− | var el=document.getElementsByClassName(Class);
| + | $("#HQ_page").removeAttr("id"); |
− | return el;
| + | })(); |
− | }
| + | |
− | function $T$(Tag){
| + | |
− | var el=document.getElementsByTagName(Tag);
| + | |
− | return el;
| + | |
| + | var HXT=1; |
| + | </script> |
| + | |
| + | |
| + | <style> |
| + | |
| + | /*This Part for Cleaning Default Template*/ |
| + | |
| + | #home_logo, #sideMenu { display:none; } |
| + | html{width:100%;height:100%;background:white; list-style:none;} |
| + | #globalWrapper,#HQ_page,#bodyContent,#mw-content-text{height:100%;} |
| + | #sideMenu, #top_title, .patrollink {display:none;} |
| + | #content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;height:100%;} |
| + | body {background-color:white;height:100%;} |
| + | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } |
| + | |
| + | @font-face{ |
| + | font-family: 'DIN B'; |
| + | src: url('https://static.igem.org/mediawiki/2019/f/f5/T--Jilin_China--Home--Font--Medium.otf'); |
| + | font-weight: normal; |
| + | font-size: normal; |
| + | } |
| + | |
| + | @font-face{ |
| + | font-family: 'DIN B'; |
| + | src: url('https://static.igem.org/mediawiki/2019/9/90/T--Jilin_China--Home--Font--Bold.otf'); |
| + | font-weight: Bold; |
| + | font-size: normal; |
| + | } |
| + | |
| + | h1,h2,h3,h4,h5,p{ |
| + | font-family:'DIN B','DIN Medium'; |
| + | } |
| + | h1, h2, h3, h4, h5, h6{ |
| + | overflow:auto !important; |
| + | padding: 1rem 0 !important; |
| + | } |
| + | p{ |
| + | margin:0 !important; |
| + | } |
| + | 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 { |
| + | |
| + | border: 0; |
| + | |
| + | } |
| + | |
| + | |
| + | |
| + | |
| + | html{ |
| + | height: 100% !important; |
| } | | } |
| | | |
− | function getChildNodes(el, tagName) {
| + | body{ |
− | var nodes = [];
| + | background-color:#fff !important; |
− | for (var i = 0; i < el.childNodes.length; i++){
| + | height:100% !important; |
− | if (el.childNodes[i].tagName == tagName) nodes.push(el.childNodes[i]);
| + | display:block !important; |
− | }
| + | position:relative !important; |
− | return nodes;
| + | overflow-x:hidden !important; |
| + | |
| + | } |
| + | #bodyContent{ |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| } | | } |
| | | |
| + | #content{ |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| | | |
− | function scrollTopNow(){
| |
− | var scrolltop=document.documentElement.scrollTop||document.body.scrollTop;
| |
− | return scrolltop;
| |
| } | | } |
− | //有关类名字的方法
| + | |
− | function addClass(el, className) {
| + | #mw-content-text{ |
− | if (hasClass(el, className)) {
| + | height:100% !important; |
− | return;
| + | display:block !important; |
− | }
| + | position:relative !important; |
− | let newClass = el.className.split(' ');
| + | |
− | newClass.push(className);
| + | |
− | el.className = newClass.join(' ');
| + | |
| } | | } |
| | | |
− | function hasClass(el, className) {
| + | |
− | // \s匹配任何空白字符,包括空格、制表符、换页符等等
| + | #globalWrapper{ |
− | let reg = new RegExp('(^|\\s)' + className + '(\\s|$)');
| + | height:100% !important; |
− | return reg.test(el.className);
| + | display:block !important; |
− | }
| + | position:relative !important; |
− | function removeClass(el, className){
| + | |
− | if (!hasClass(el, className)) {
| + | |
− | return;
| + | |
− | }
| + | |
− | let newClass = el.className.split(' ');
| + | |
− | newClass.forEach(function(val, index, newClass){
| + | |
− | if(val === className){
| + | |
− | newClass.splice(index,1);
| + | |
− | }
| + | |
− | }) ;
| + | |
− | el.className = newClass.join(' ');
| + | |
| } | | } |
| + | .luanhaixin{ |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| | | |
− | //获取屏幕上滚高度
| + | |
| + | } |
| + | |
| + | .s1 p{ |
| + | float:left; |
| + | } |
| + | section{ |
| + | font-family: 'DIN Alternate'; |
| + | line-height: 150%; |
| + | } |
| + | |
| + | @media (min-width:1000px) { |
| + | section{ |
| + | line-height: 200%; |
| + | } |
| + | |
| + | } |
| | | |
| | | |
− | </script>
| |
| | | |
− | <style>
| |
| | | |
| .word { | | .word { |
Line 74: |
Line 221: |
| } | | } |
| p{ | | p{ |
− | width: 90%; | + | width: 100%; |
− | height: auto; | + | height: auto;1 |
| margin: 0 auto; | | margin: 0 auto; |
| position: relative; | | position: relative; |
| } | | } |
− | div{
| + | |
− | width: auto;
| + | |
− | height: auto;
| + | |
− | position: relative;
| + | |
− | }
| + | |
| tbody{ | | tbody{ |
| width:50%; | | width:50%; |
Line 106: |
Line 249: |
| margin-bottom: 13px; | | margin-bottom: 13px; |
| } | | } |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | #HQ_page p{ |
| + | font-size: auto; |
| + | line-height: auto; |
| + | margin-bottom: auto; |
| + | } |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| | | |
| | | |
Line 202: |
Line 367: |
| } | | } |
| | | |
− | @charset "UTF-8";
| |
− | /**
| |
− | *
| |
− | * @authors Your Name (you@example.org)
| |
− | * @date 2019-09-28 21:29:20
| |
− | * @version $Id$
| |
− | */
| |
| | | |
− | @font-face {
| + | </style> |
− | font-family: 'JLUCN';
| + | <!--屏幕内容第一条 导航栏 --> |
− | src: url('../DIN Alternate Bold.ttf') format('truetype');
| + | |
− | font-weight: normal;
| + | |
− | font-style: normal;
| + | |
− | }
| + | |
| | | |
− | html{
| + | <!--this part for the home page content. with built-in css--> |
− | height: 100%;
| + | <style> |
− | }
| + | |
− | body{
| + | /*Body Content*/ |
− | width: 100%;
| + | section{ |
− | height: 100%;
| + | width:100%; |
− | font-family: 'JLUCN';
| + | min-height:5rem; |
− |
| + | border:0px red solid; |
− | }
| + | box-sizing:border-box; |
| + | padding:3vw 7.5vw 6.5vw; |
| + | } |
| + | section h1{ |
| + | font-size: 2.8rem !important; |
| + | /*font-family: 'DIN Condensed';*/ |
| + | } |
| + | section h1.bg-white{ |
| + | color: rgba(255,83,83,1) !important; |
| + | } |
| + | section h2{ |
| + | font-size: 2rem !important; |
| + | /*font-family: 'DIN Condensed';*/ |
| + | } |
| + | |
| + | section.left .text{ |
| + | float: left !important; |
| + | } |
| + | section.right .text{ |
| + | float: right !important; |
| + | } |
| + | section.right .text *{ |
| + | float: right !important; |
| + | } |
| + | section.right .text h1{ |
| + | text-align: left !important; |
| + | } |
| | | |
| | | |
− | | + | .button:hover{ |
− | | + | box-shadow: 0.3rem 0 1rem rgba(0,0,0,0.3); |
− | /**
| + | transition: all 0.3s ease; |
− | *第一部分
| + | background: rgba(255,201,230,1); |
− | */
| + | } |
− | #first_s{
| + | .button a{ |
− | padding-left: 0;
| + | display: block; |
− | padding-right: 0;
| + | color: rgba(138,0,0,1); |
− | background-color: #485;
| + | } |
− | margin: 0;
| + | |
− | height: 0px;
| + | .button.colored{ |
− | width: 100%;
| + | /*background: white;*/ |
− | z-index: 999;
| + | color: rgba(138,0,0,1); |
− | position: absolute;
| + | } |
− | color: rgba(255,255,255,1.00);
| + | |
− | width: 100%;
| + | .clear{ |
− | } | + | clear: both; |
− | | + | } |
− | | + | .s0{ |
− | #first_s #nav_bg{
| + | height:80%; |
− | height: 80px;
| + | background:rgba(255,0,90,0.7); |
− | color: rgba(255,255,255,1.00);
| + | overflow: hidden; |
− | transition: 0.5s;
| + | z-index: 1; |
− | } | + | position:relative; |
− | #first_s {
| + | } |
− | height: 80px;
| + | .s0 .title{ |
− | color: rgba(255,255,255,1.00);
| + | position: relative; |
− | left: 0px;
| + | width: 50%; |
− | padding: 0 0;
| + | height: 100%; |
− | } | + | } |
− | | + | .s0 .title img{ |
− | #first_s .navbar-header {
| + | position: absolute; |
− | width: 20%;
| + | bottom: 5vh; |
− | height: 80px;
| + | left:8vw; |
− | left: 0px;
| + | } |
− | position: absolute;
| + | .s0 .rose-background{ |
− | } | + | background: url(https://static.igem.org/mediawiki/2019/f/fe/T--Jilin_China--Main--Rose.svg) no-repeat; |
− | #first_s .navbar-brand {
| + | background-size: contain; |
− | font-size: 24px;
| + | position: absolute; |
− | line-height: 72px;
| + | right:3vw; |
− | left: 10%;
| + | bottom:-25vw; |
− | position: absolute;
| + | transform: rotate(-19.9deg); |
− | color: rgba(65,4,3,1.00);
| + | filter: blur(10px) brightness(0.7); |
− | }
| + | opacity: 0.3; |
− | | + | width: 50vw; |
− | | + | height:75vw; |
− | #navProgBar1{
| + | } |
− | width: 100%;
| + | |
− | height: 5px;
| + | .s1{ |
− | background-color: #facd89;
| + | background: white; |
− | position: absolute;
| + | } |
− | opacity: 0;
| + | /*对于内容相关的CSS使用内容相关Class,对于与顺序相关的使用 .s[num]*/ |
− | top: 80px;
| + | .introduction .text{ |
− | z-index:50;
| + | width:100%; |
− | } | + | |
− | #navProgBar2{
| + | background-size: auto 75%; |
− | top: 80px;
| + | background-position: 90% calc(50% + 1.25rem); |
− | width: 0%;
| + | } |
− | height: 5px;
| + | |
− | background-color: #fff;
| + | |
− | position: absolute;
| + | |
− | z-index: 120; | + | |
− | opacity: 0;
| + | .symptom .digits .digit{ |
− | } | + | font-size:5.5vw; |
− | .jindutiao{ | + | margin:0; |
− | width: 0%;
| + | } |
− | height: 5px;
| + | .symptom .digits .explain{ |
− | position: absolute;
| + | margin:0 0 3vw !important; |
− | bottom: 0px;
| + | border:0px; |
− | background-color: #facd89;
| + | } |
− | display: none;
| + | |
− | } | + | .symptom .small-bg .image{ |
− | | + | width: 44%; |
− | | + | padding: 0 5vw; |
− | | + | margin:0 auto; |
− | | + | box-sizing: border-box; |
− | | + | } |
− | #first_s ul {
| + | .symptom .small-bg .image img{ |
− | padding: 0 0;
| + | width: 100%; |
− | margin: 0 0;
| + | text-align: center; |
− | height: 80px;
| + | margin: 0 auto; |
− | float: right;
| + | } |
| + | .s2 .text{ |
| + | width: 100%; |
| + | text-align: center; |
| + | font-size:2vw; |
| + | } |
| + | |
| | | |
− | color: #FFFFFF;
| |
− | z-index: 500;
| |
− | position: absolute;
| |
− | list-style-type: none;
| |
− | right: 0px;
| |
| | | |
− | }
| |
| | | |
− | | + | |
− | | + | |
− | | + | |
− | #first_s ul > li {
| + | .s4{ |
− | z-index: 500;
| + | background: rgba(255,0,90,0.1); |
− | width: 150px;
| + | min-height: 34vh; |
− | | + | z-index: -1; |
− | float: left; | + | position: relative; |
− | text-align: center;
| + | } |
| + | |
| + | |
| + | .s5{ |
| + | background: white; |
| + | padding: 3vw 7.5vw; |
| + | } |
| + | .reverse p{ |
| + | color: rgba(199,0,0,1); |
| + | margin:0; |
| + | } |
| + | |
| + | |
| + | .s6{ |
| + | background: rgba(255,0,99,.5); |
| + | } |
| + | .our-system{ |
| + | color: rgba(138,0,0,1); |
| + | text-align: center; |
| + | } |
| + | |
| + | .our-system .theraputic{ |
| + | width: 100%; |
| + | } |
| | | |
− | height: 100%;
| |
− | position: relative;
| |
− | background-color: #485;
| |
− | transition: 0.5s;
| |
− | }
| |
| | | |
| + | .hp{ |
| + | background: white; |
| + | text-align: center; |
| + | position: relative; |
| + | padding-bottom: 5vw; |
| | | |
− | #first_s a {
| + | } |
− | padding: 0 0;
| + | .hp h1{ |
− | margin: 0 0;
| + | text-align: center; |
− | height:100%;
| + | } |
− | font-size: 20px;
| + | |
− | line-height: 380%;
| + | |
− | color: #fff;
| + | |
− | font-weight: bold;
| + | |
− | display: block;
| + | |
− | cursor: pointer;
| + | |
− | } | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | #first_s li ul
| + | |
− | { width: 100%; | + | |
− | list-style: none;
| + | |
− | padding-left: 0;
| + | |
− | text-align: center;
| + | |
− | position: absolute;
| + | |
− | display: none;
| + | |
− | height: auto;
| + | |
− | | + | |
− | } | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | #first_s li ul li
| + | |
− | { width: 100%;
| + | |
− | height: 60px;
| + | |
− | padding-top: 0px;
| + | |
− | padding-bottom: 0px;
| + | |
− | line-height: 53px;
| + | |
− | position: absolute;
| + | |
− | background-color:#485;
| + | |
− | border-top:1px solid #c0c0c0;
| + | |
− | top: -1px;
| + | |
− | opacity: 0;
| + | |
− | font-size: 17px;
| + | |
− | }
| + | |
− | | + | |
− | #first_s li ul li ul
| + | |
− | { width: 100%;
| + | |
− | position: absolute;
| + | |
− | left:100%;
| + | |
− | top:0;
| + | |
− | display: none;
| + | |
− | margin-top: -6px;
| + | |
− | margin-left: 1px;
| + | |
− | }
| + | |
− | #first_s li ul li li
| + | |
− | {
| + | |
− | height: 45px;
| + | |
− | line-height: 53px;
| + | |
− | padding-top: 0px;
| + | |
− | padding-bottom: 0px;
| + | |
− | position: absolute;
| + | |
− | background-color: #fff;
| + | |
− | opacity: 0;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | | + | |
− | #logo{
| + | |
− | width: auto;
| + | |
− | height:100%;
| + | |
− | transform: scale(.7,.7);
| + | |
− | position: relative;
| + | |
| | | |
− | left: 10px;
| + | |
− | transition: 0.5s;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | .navbtn{
| + | |
− | display: none;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | .mobilenav{
| + | |
− | | + | |
− | display: none;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | .mbnav5011{
| + | |
− | width: 100%;
| + | |
− | height: 100%;
| + | |
− | display: block;
| + | |
− | position: absolute;
| + | |
− | top: 0px;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
| | | |
| + | .model h1{ |
| + | position: relative; |
| + | text-align: center; |
| + | z-index: 1; |
| + | } |
| | | |
| + | @keyframes swirling { |
| + | 0%{ |
| + | background-position: 48% 50%; |
| + | /*transform: rotate(0deg);*/ |
| + | } |
| + | 100%{ |
| + | background-position: 52% 50%; |
| + | /*transform: rotate(360deg);*/ |
| + | } |
| + | } |
| + | |
| + | .more h1{ |
| + | font-size: 3rem; |
| + | color: rgba(119,0,0,1); |
| + | } |
| + | .more .bottons{ |
| + | width: 100%; |
| + | |
| + | } |
| + | .more .botton{ |
| + | float: left; |
| + | width: calc(33% - 2rem); |
| + | margin: 1rem; |
| + | height: 20vw; |
| + | background: rgba(255,201,230,1); |
| + | transition: 0.3s all ease; |
| + | } |
| + | .more .botton:hover { |
| + | background: rgba(255,201,230,0.3); |
| + | transition: 0.3s all ease; |
| + | } |
| + | .more .botton p{ |
| + | margin: 0; |
| + | line-height: 20vw; |
| + | text-align: center; |
| + | font-size: 2.5vw; |
| + | } |
| + | </style> |
| + | <section class="s0 banner" style="padding: 0 0;"> |
| + | <div class="title"><img alt="" src="https://static.igem.org/mediawiki/2019/f/f8/T--Jilin_China--Main--Words_-_Title.svg"/></div> |
| + | <div class="rose-background"> |
| + | </div> |
| + | <canvas id="maincabg" width="1920px" height="1080px" style="height:100%; height:auto;display: block;position: absolute;top: 0px; z-index: -1;"></canvas> |
| + | </section> |
| + | <section class="s1 introduction left"> |
| + | <div></div> |
| + | <div class="text"> |
| + | <h1 class="bg-white">What's VVC?</h1> |
| + | <p>Vulvovaginal candidiasis (VVC) has been recognized as one of the most common infections in female reproductive organs. </p> |
| + | <p>VVC is mainly caused by <em>Candida albicans (C. albicans)</em>, accounting for more than 85% of the incidence, which seriously affects the normal life of women.</p> |
| + | </div> |
| + | <div class="clear"></div> |
| + | </section> |
| + | <section class="s2 symptom"> |
| + | <div class="digits"> |
| + | <p class="digit">70-75%</p> |
| + | <p class="explain">of women will suffer from VVC at least once in thier life time.</p> |
| + | <p class="digit">40-45%</p> |
| + | <p class="explain">will have 2 or more episodes.</p> |
| + | </div> |
| + | <div class="small-bg"> |
| + | <div class="title"> |
| + | <h2 class="bg-colored">Symptoms</h2> |
| + | </div> |
| + | <div class="image"> |
| + | <img alt="" src="https://static.igem.org/mediawiki/2019/7/71/T--Jilin_China--Main--Girl_under_Period.svg" /> |
| + | </div> |
| + | <div class="text"> |
| + | <p>Abnormal Vaginal Discharge</p> |
| + | <p>Genital and Vaginal burning</p> |
| + | <p>External Dysuria</p> |
| + | <p>Itching and Redness</p> |
| + | </div> |
| + | |
| + | <div class="clear"></div> |
| + | </div> |
| + | </section> |
| + | <section class="s3 current-treatment right"> |
| + | <div class="text"> |
| + | <h1 class="bg-white">How to Treat?</h1> |
| + | <p>Till now, as a commonly used antifungal drug for VVC treatment, vaginal azole preparations can inhibit the growth of C. albicans, or kill them directly.</p> |
| + | </div> |
| + | <div class="clear"></div> |
| + | </section> |
| + | <div class="interspace"> |
| + | <p>HOWEVER</p> |
| + | <div class="clear"></div> |
| + | </div> |
| + | <section class="s4 resistance right"> |
| + | <div class="text"> |
| + | <p id="ssss">The widespread usage of antifungal drugs and the increase in the number of fungal infections have led to the emergence of drug resistance, even the repeated recurrence to VVC of patients.</p> |
| + | </div> |
| + | <div class="clear"></div> |
| + | <div class="button colored"><a href="https://2019.igem.org/Team:Jilin_China/Background"><p>Learn More about The Background</p></a></div> |
| + | <div class="clear"></div> |
| + | </section> |
| + | <section class="s5 reverse"> |
| + | <p>But, there is a</p> |
| + | <p>New Therapy for Vulvovaginal Candidasis:</p> |
| + | <div class="clear"></div> |
| + | </section> |
| + | <section class="s6 our-system"> |
| + | <h1>Our Systems</h1> |
| + | <div class="sensing"> |
| + | <h2>Sensing System</h2> |
| + | <p style="margin-bottom:30px;margin-top:30px; ">Sensing system can sense C. albicans and activate the downstream gene.</p > |
| + | <img alt="" src="https://static.igem.org/mediawiki/2019/5/56/T--Jilin_China--Main--Words_-_Sensing_System.svg" /> |
| + | <p></p> |
| + | </div> |
| + | |
| | | |
| + | <div class="theraputic"> |
| + | <h2>Therapeutic System</h2> |
| + | <div> |
| + | <div class="effector1"><p>LL-37 can perforate the cell membrane of C. albicans.</p><img alt="" src="https://static.igem.org/mediawiki/2019/2/2e/T--Jilin_China--Main--LL37.svg"/></div> |
| + | <div class="effector2"><p>The β-1,3-glucanase can disrupt the </br>biofilm of C. albicans.</p><img alt="" src="https://static.igem.org/mediawiki/2019/3/32/T--Jilin_China--Main--beta-1%EF%BC%8C3-glu.svg"/></div> |
| + | <div class="effector3"><p>BDSF can inhibit hypha formation </br>by C. albicans.</p><img alt="" src="https://static.igem.org/mediawiki/2019/e/ed/T--Jilin_China--Main--BDSF.svg"/></div> |
| + | <div class="effector4"><p>Msp1 can destabilize the hyphae of C. albicans.</p><img alt="" src="https://static.igem.org/mediawiki/2019/c/cc/T--Jilin_China--Main--Msp1.svg"/></div> |
| + | </div> |
| + | </div> |
| + | <div class="clear"></div> |
| + | <div class="button colored"><a href="https://2019.igem.org/Team:Jilin_China/Design"><p>Learn More about Our Design</p></a></div> |
| + | <div class="clear"></div> |
| + | </section> |
| + | <section class="s7 hp"> |
| | | |
| | | |
Line 446: |
Line 682: |
| | | |
| | | |
| + | <h1 class="bg-white">Practices Facilitated Our Project</h1> |
| | | |
− | @media (min-width: 1300px) {
| + | <div class="third_s"> |
| + | <div id="third_1"> |
| + | <div style="padding: 7.5vw"><img src="https://static.igem.org/mediawiki/2019/b/bc/T--Jilin_China--HP--HP_Overview.svg" width="100%" style=" margin: 0 auto"></div> |
| + | </div> |
| | | |
| | | |
− | }
| + | |
| | | |
| | | |
Line 458: |
Line 698: |
| | | |
| | | |
| + | <div class="clear"></div> |
| + | </section> |
| | | |
| + | <style> |
| | | |
| | | |
| | | |
| | | |
| + | .s8 .text { |
| + | |
| + | float: right; |
| + | z-index: 20000; |
| | | |
| | | |
| + | } |
| + | .modelbg{ |
| + | z-index: 20px; |
| + | } |
| | | |
| + | </style> |
| | | |
| | | |
| | | |
| | | |
| + | <section class="s8 model right"> |
| + | <h1 class="bg-white">Model</h1> |
| + | <div class="text"> |
| | | |
− | @media (max-width: 1300px) {
| + | <p>Our project is well conducted by Model in terms of experiments and prediction of future application. Our Model is constituted with</br></br>1. C. albicans Sensing Model</br>2. Gene Concentration Prediction Model</br>3. Market Prediction Model</p> |
| + | </div> |
| + | <div class="clear"></div> |
| + | <div class="button colored"><a href="https://2019.igem.org/Team:Jilin_China/Model"><p>Learn More about Our Model</p></a></div> |
| + | <div class="clear"></div> |
| + | </section> |
| | | |
| | | |
− | #first_s ul > li {
| |
| | | |
− | width: 110px;
| |
| | | |
| + | <section class="s9 more"> |
| + | <h1>In Case You Missed Them:</h1> |
| + | <div class="bottons"> |
| + | <div id="bbgd" class="botton otr"><p>Background</p><a class="foota otr1" href="https://2019.igem.org/Team:Jilin_China/Background"></a></div> |
| + | <div id="design" class="botton otr"><p>Design</p><a class="foota otr1" href="https://2019.igem.org/Team:Jilin_China/Design"></a></div> |
| | | |
− | }
| + | <div id="result" class="botton otr"><p>Result</p><a class="foota otr1" href="https://2019.igem.org/Result"></a></div> |
| | | |
| + | <div id="par" class="botton otr"><p>Parts</p><a class="foota otr1" href="https://2019.igem.org/Team:Jilin_China/Parts"></a></div> |
| | | |
| + | <div id="hpp" class="botton otr"><p>Practices</p><a class="foota otr1" href="https://2019.igem.org/Team:Jilin_China/Human_Practices"></a></div> |
| + | <div id="medal" class="botton otr"><p>Medals</p><a class="foota otr1" href="https://2019.igem.org/Team:Jilin_China/Medals"></a></div> |
| + | </div> |
| + | <div class="clear"></div> |
| + | </section> |
| | | |
− | | + | <style> |
− | #first_s li ul li | + | #bbgd{ |
− | { | + | background-image: url(https://static.igem.org/mediawiki/2019/d/d4/T--Jilin_China--Main--back.jpg); |
| + | background-size: cover; |
| + | } |
| | | |
− | font-size: 15px;
| + | #design{ |
− | } | + | background-image: url(https://static.igem.org/mediawiki/2019/d/d9/T--Jilin_China--Main--design.JPG); |
| + | background-size: cover; |
| + | } |
| + | #result{ |
| + | background-image: url(https://static.igem.org/mediawiki/2019/6/6b/T--Jilin_China--Main--result.JPG); |
| + | background-size: cover; |
| + | } |
| + | #par{ |
| + | background-image: url(https://static.igem.org/mediawiki/2019/b/b2/T--Jilin_China--Main--part.jpg); |
| + | background-size: cover; |
| + | } |
| + | #hpp{ |
| + | background-image: url(https://static.igem.org/mediawiki/2019/9/9a/T--Jilin_China--Main--HP.jpg); |
| + | background-size: cover; |
| + | } |
| + | #medal{ |
| + | background-image: url(https://static.igem.org/mediawiki/2019/8/80/T--Jilin_China--Main--model.JPG); |
| + | background-size: cover; |
| + | } |
| | | |
− | #logo{
| |
| | | |
− | left: 0px;
| |
− | }
| |
| | | |
| | | |
− | }
| + | .otr{ |
| + | display: block; |
| + | position: relative; |
| | | |
| + | color: #fff; |
| + | text-shadow: 5px 2px 35px #000; |
| + | transition: 1s; |
| + | } |
| | | |
| | | |
− | @media (max-width: 997px) {
| + | .otr:hover{ |
− | #first_s{
| + | text-shadow: 5px 2px 10px #000; |
− | height: 50px;
| + | |
| } | | } |
− |
| |
− | #first_s .navbar-header {
| |
− | display: none;
| |
− | }
| |
| | | |
− | #first_s ul {
| + | .otr1{ |
− | width: 100%;
| + | display: block; |
− | height: 50px;
| + | position: relative; |
− | line-height: 32px;
| + | top: 0vw; |
− | | + | } |
− | }
| + | |
− | | + | |
− | #first_s a {
| + | |
− | | + | |
− | line-height: 260%;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | | + | |
− | #first_s ul > li {
| + | |
− | width: 14.2857%;
| + | |
− | height: 50px;
| + | |
− | | + | |
− | }
| + | |
− | #first_s #nav_bg{
| + | |
− | height: 50px;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | }
| + | |
− | | + | |
− | | + | |
− | | + | |
− | @media (max-width: 768px) {
| + | |
− | #first_s .navbar-header {
| + | |
− | display: block;
| + | |
− | position: relative;
| + | |
− | width: 50%;
| + | |
− | left: 50%;
| + | |
− | height: 50px;
| + | |
− | }
| + | |
− | #first_s .navbar-brand{
| + | |
− | width: 100%;
| + | |
− | height: 100%;
| + | |
− | position: relative;
| + | |
− | }
| + | |
− | #first_s ul {
| + | |
− | display: none;
| + | |
− | | + | |
− | }
| + | |
− | #logo{
| + | |
− | position: relative;
| + | |
− | right: 10%;
| + | |
− | display: block;
| + | |
− | width: auto;
| + | |
− | height: 100%;
| + | |
− | float: right;
| + | |
− | transform: scale(0.8,0.8) translate(-30px,0%);
| + | |
− | }
| + | |
− | .navbtn{
| + | |
− | width: 10%;
| + | |
− | height: 100%;
| + | |
− | display: block;
| + | |
− | position: absolute;
| + | |
− | font-size: 20px;
| + | |
− | line-height: 40px;
| + | |
− | font-weight: bold;
| + | |
− | left: 7%;
| + | |
− | cursor: pointer;
| + | |
− | | + | |
− | }
| + | |
− | | + | |
− | | + | |
− | .mobilenav{
| + | |
− | width: 100%;
| + | |
− | height: calc(100% - 50px);
| + | |
− | top: 50px;
| + | |
− | | + | |
− | display: block; | + | |
− | position: fixed;
| + | |
− | z-index: 99999;
| + | |
− | }
| + | |
− | | + | |
− | .div501{
| + | |
− | width: 50%;
| + | |
− | height: 100%;
| + | |
− | background-color: rgba(255,0,60,.7);
| + | |
− | display: none;
| + | |
− | position: absolute;
| + | |
− | z-index: 999999;
| + | |
− | }
| + | |
− | | + | |
− | .div503{
| + | |
− | width: 50%;
| + | |
− | height: 100%;
| + | |
− | | + | |
− | display: block;
| + | |
− | position: absolute;
| + | |
− | z-index: 99;
| + | |
− | right: 0px;
| + | |
− | }
| + | |
− | .div502{
| + | |
− | width: 50%;
| + | |
− | height: 100%;
| + | |
− | background-color: rgba(255,0,60,.6);
| + | |
− | display: none;
| + | |
− | position: absolute;
| + | |
− | left: 50%;
| + | |
− | z-index: 999;
| + | |
− | }
| + | |
− | | + | |
− | .div5011{
| + | |
− | width: 100%;
| + | |
− | height: 80px;
| + | |
− | | + | |
− | display: block;
| + | |
− | position: relative;
| + | |
− | border-bottom: 1px solid #fff;
| + | |
− | font-size: 30px;
| + | |
− | line-height: 70px;
| + | |
− | text-align: center;
| + | |
− | color: #fff;
| + | |
− | }
| + | |
− | .able{
| + | |
− | color:rgb(255,0,60);
| + | |
− | background-color:#fff;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | }
| + | |
− | | + | |
− | @media (max-width:500px) {
| + | |
− | .div5011{
| + | |
− | width: 100%;
| + | |
− | height: 50px;
| + | |
− | | + | |
− | display: block;
| + | |
− | position: relative;
| + | |
− | border-bottom: 1px solid #fff;
| + | |
− | font-size: 20px;
| + | |
− | line-height: 50px;
| + | |
− | text-align: center;
| + | |
− | color: #fff;
| + | |
− | }
| + | |
− | | + | |
− | .able{
| + | |
− | color:rgb(255,0,60);
| + | |
− | background-color:#fff;
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | } | + | |
| </style> | | </style> |
− | <!--屏幕内容第一条 导航栏 -->
| |
| | | |
− | <div id="second_s" class="banner container-fluid">
| |
− |
| |
| | | |
− | </div>
| |
− | <div id="third_s" class="container-fluid">
| |
− | <div id="third_1" class="container">
| |
− | <div id="third_1_1">
| |
− |
| |
− | </div>
| |
− | </div>
| |
− |
| |
− | </div>
| |
| </html> | | </html> |
− | <script>
| |
| | | |
− | //导航鼠标hover
| |
− | var nav_bg = document.getElementById("nav_bg");
| |
− | //获取导航外层项目
| |
− | //滑的太快有bug 排他原则去bug
| |
− |
| |
− | var moding = 0; //是否在转换过程中
| |
− | var mode_now = 0; //双模导航的模式
| |
− |
| |
− | var coupleColor = [ "rgba(255,255,255,1)","rgba(255,0,60,.7)"];
| |
− |
| |
− | var daErZi=[];
| |
− | var last=0;
| |
− |
| |
− | function initCB() {
| |
− | $$("nav_bg").style.transition = 0.5 + "s";
| |
− |
| |
− | }
| |
− |
| |
− | //根据实际情况换文字颜色
| |
− | function colorCA() {
| |
− | for (var i = 0; i < getChildNodes($$("first_s").getElementsByTagName("ul")[0], "LI").length; i++) {
| |
− | getChildNodes($$("first_s").getElementsByTagName("ul")[0], "LI")[i].getElementsByTagName("a")[0].style.color = coupleColor[mode_now];
| |
− | }
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | //模式1的所有行为
| |
− | function nav_anti1() {
| |
− |
| |
− | for (var i = 0; i < $$("first_s").getElementsByTagName("li").length; i++) {
| |
− | //对象变that
| |
− | var that = $$("first_s").getElementsByTagName("li")[i];
| |
− | //获取所有有子节点的li并输出到数组中
| |
− | if (getChildNodes($$("first_s").getElementsByTagName("li")[i], "UL").length > 0) {
| |
− | daErZi.push(i + 1);
| |
− | }
| |
− |
| |
− |
| |
− | //遍历onmouseenter
| |
− | (function (i) {
| |
− | that.onmouseenter = function () {
| |
− |
| |
− |
| |
− | console.log(i+"来");
| |
− |
| |
− |
| |
− | for (var b = 0; b < getChildNodes($$("first_s").getElementsByTagName("ul")[0], "LI").length; b++) {
| |
− | //摸到了怎么办
| |
− | if (this === getChildNodes($$("first_s").getElementsByTagName("ul")[0], "LI")[b]) {
| |
− |
| |
− | //其他的进度条消失
| |
− |
| |
− | $C$("jindutiao")[b].style.display = "none";
| |
− |
| |
− | $C$("jindutiao")[b].style.transition = 0 + "s" + " linear";
| |
− | $C$("jindutiao")[b].style.width = 100+ "%";
| |
− |
| |
− | this.style.backgroundColor = coupleColor[mode_now];
| |
− | this.getElementsByTagName("a")[0].style.color = coupleColor[mode_now == 0 ? mode_now + 1 : (mode_now == 1 ? mode_now - 1 : 0)];
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | //如果有子菜单的话那就放出来
| |
− | if (getChildNodes(this, "UL").length > 0) {
| |
− |
| |
− | for (var i = 0; i < $C$("navul1").length; i++) {
| |
− | $C$("navul1")[i].style.display="none";
| |
− | }
| |
− | //alert("d");
| |
− | for (var j = 0; j < getChildNodes(this, "UL").length; j++) {
| |
− | getChildNodes(this, "UL")[j].style.display = "block";
| |
− | var ul = getChildNodes(this, "UL")[j];
| |
− | setTimeout(function () {
| |
− |
| |
− | for (var z = getChildNodes(ul, "LI").length - 1, x = 0; z >= 0; z--, x++) {
| |
− |
| |
− | (function (z, x) {
| |
− |
| |
− | setTimeout(function(){getChildNodes(ul, "LI")[z].style.display = "block";},20);
| |
− | time_1 = setTimeout(function () {
| |
− |
| |
− | getChildNodes(ul, "LI")[z].style.transition = 0.5 + "s ease";
| |
− | getChildNodes(ul, "LI")[z].style.zIndex = x * 10 + 5;
| |
− | getChildNodes(ul, "LI")[z].style.transform = "translate(0px," + 61 * z + "px)";
| |
− | getChildNodes(ul, "LI")[z].style.opacity = 1;
| |
− |
| |
− |
| |
− | }, 50 * (x + 1))
| |
− |
| |
− | })(z, x);
| |
− |
| |
− |
| |
− |
| |
− | }
| |
− |
| |
− |
| |
− | }, 10);
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | })(i);
| |
− |
| |
− | //离开的动作
| |
− | (function (i) {
| |
− | that.onmouseleave = function () {
| |
− |
| |
− |
| |
− | //碰到有节点的li不进行离开//或者离开一半
| |
− | for (var m = 0; m < daErZi.length; m++) {
| |
− | if (i == daErZi[m]) {
| |
− | return;
| |
− | }
| |
− | }
| |
− | //背景变色
| |
− | //initCB();
| |
− | //colorCA();
| |
− |
| |
− |
| |
− |
| |
− | //如果有子菜单的话那就收回来
| |
− | if (getChildNodes(this, "UL").length > 0) {
| |
− | this.style.backgroundColor = coupleColor[1];
| |
− | this.getElementsByTagName("a")[0].style.color = coupleColor[0];
| |
− |
| |
− | //alert("d");
| |
− | for (var j = 0; j < getChildNodes(this, "UL").length; j++) {
| |
− | var ul = getChildNodes(this, "UL")[j];
| |
− | for (var z = getChildNodes(ul, "LI").length - 1, x = 0; z >= 0; z--, x++) {
| |
− |
| |
− | (function (z, x) {
| |
− | setTimeout(function () {
| |
− | getChildNodes(ul, "LI")[z].style.opacity = 0;
| |
− | getChildNodes(ul, "LI")[z].style.transition = .2 + "s ease";
| |
− | getChildNodes(ul, "LI")[z].style.transform = "translate(0px," + 0 + "px)";
| |
− | setTimeout(function(){getChildNodes(ul, "LI")[z].style.display = "none";},200);
| |
− |
| |
− | }, 10 * (x + 1))
| |
− |
| |
− | })(z, x);
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− |
| |
− | })(i);
| |
− | }
| |
− |
| |
− | }
| |
− | nav_anti1();
| |
− | var heighta = document.body.offsetHeight;
| |
− | var srcolltop;
| |
− | window.onscroll=function(){
| |
− | srcolltop=document.documentElement.scrollTop || document.body.scrollTop;
| |
− | if(srcolltop>80){
| |
− | $$("first_s").style.position="fixed";
| |
− | }
| |
− | if(srcolltop<80){
| |
− | $$("first_s").style.position="absolute";
| |
− | }
| |
− | }
| |
− |
| |
− | </script>
| |
− | <script>
| |
− | function chuxian(el){
| |
− | el.style.transform="translate(-50%,0px)";
| |
− | el.style.display="block";
| |
− | el.style.opacity=0;
| |
− | setTimeout(function(){
| |
− | el.style.transition="0.5s";
| |
− | el.style.transform="translate(0%,0px)";
| |
− | el.style.opacity=1;
| |
− | },20);
| |
− |
| |
− | }
| |
− |
| |
− | function xiaoshi(el){
| |
− |
| |
− |
| |
− | el.style.transition="0.2s";
| |
− | el.style.transform="translate(-50%,0px)";
| |
− | el.style.opacity=0;
| |
− | setTimeout(function(){
| |
− |
| |
− | el.style.display="none";
| |
− | },200);
| |
− |
| |
− |
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− | function zibianse(num){
| |
− |
| |
− | for(var i=0;i<$C$("s501").length;i++){
| |
− | if(i!=num){
| |
− | xiaoshi($C$("div502")[i]);
| |
− | }
| |
− |
| |
− | if(hasClass($C$("s501")[i],"able")){
| |
− | removeClass($C$("s501")[i],"able");
| |
− | }
| |
− | }
| |
− | addClass($C$("s501")[num],"able")
| |
− | }
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− | for(var i=0;i<$C$("s501").length;i++){
| |
− | (function(i){
| |
− | $C$("s501")[i].onclick=function(e){
| |
− | event.stopPropagation();
| |
− | zibianse(i);
| |
− |
| |
− | chuxian($C$("div502")[i]);
| |
− |
| |
− | }
| |
− |
| |
− | })(i)
| |
− | }
| |
− |
| |
− | $C$("navbtn")[0].onclick=function(){
| |
− | $C$("mobilenav")[0].style.display="block";
| |
− | chuxian($C$("div501")[0]);
| |
− | $C$("div503")[0].style.display="block";
| |
− |
| |
− | }
| |
− | for(var i=0;i<$C$("s501").length;i++){
| |
− |
| |
− | (function(i){
| |
− | $C$("div502")[i].onclick=function(e){
| |
− |
| |
− | xiaoshi($C$("div502")[i]);
| |
− |
| |
− | }
| |
− |
| |
− | })(i)
| |
− | }
| |
− |
| |
− |
| |
− | $C$("div503")[0].onclick=function(){
| |
− | xiaoshi($C$("div501")[0]);
| |
− | this.style.display="none";
| |
− | $C$("mobilenav")[0].style.display="none";
| |
− | }
| |
− |
| |
− |
| |
− | </script>
| |
| | | |
| <html> | | <html> |
− |
| |
| | | |
| <script src="https://2019.igem.org/wiki/index.php?title=Template:Jilin_China/tool.js&action=raw&ctype=text/javascript"></script> | | <script src="https://2019.igem.org/wiki/index.php?title=Template:Jilin_China/tool.js&action=raw&ctype=text/javascript"></script> |
− | <script src="https://2019.igem.org/wiki/index.php?title=Template:Jilin_China/renderTP.js&action=raw&ctype=text/javascript"></script> | + | <script src="https://2019.igem.org/wiki/index.php?title=Template:Jilin_China/bubble.js&action=raw&ctype=text/javascript"></script> |
− | | + | <script type="text/javascript"> |
| | | |
| + | let configs = { |
| + | colorStart: "#fff4e6", |
| + | colorStop: "#ffe9e4", |
| + | |
| + | compose: "source-over", |
| + | bubbleFunc: () => `hsla(${Math.random() * 50}, 100%, 50%, .3)`, |
| + | canvas: $$("maincabg") |
| + | } |
| + | |
| | | |
| + | bubbly(configs); |
| + | </script> |
| </html> | | </html> |
| + | {{:Team:Jilin_China/foot_Cont}} |