|
|
(169 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| + | {{:Team:Jilin_China/partofBs_CSS}} |
| + | {{:Team:Jilin_China/fontawesome_CSS}} |
| + | {{:Team:Jilin_China/Nav_Cont}} |
| + | {{:Team:Jilin_China/Main_Cont_CSS}} |
| + | {{:Team:Jilin_China/Home_cont}} |
| + | <html> |
| | | |
| + | </html> |
| <html> | | <html> |
| + | |
| + | <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
| + | |
| + | |
| + | <script>//coupleColor = [ "#fff","#485"]; |
| + | |
| + | (function(){ |
| + | |
| + | $("#HQ_page").addClass("luanhaixin"); |
| + | $("#HQ_page").removeAttr("id"); |
| + | })(); |
| + | |
| + | |
| + | |
| + | |
| + | var HXT=1; |
| + | </script> |
| + | |
| + | |
| <style> | | <style> |
− | #top_title{
| |
− | display: none;
| |
| | | |
− | }
| + | /*This Part for Cleaning Default Template*/ |
− | #content{
| + | |
− | width:100%;
| + | |
− | margin: 00;
| + | |
− | padding:00;
| + | |
− | }
| + | |
− | body{
| + | |
− | margin: 0 auto;
| + | |
− | }
| + | |
| | | |
| + | #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'); |
− | #first_s{
| + | font-weight: normal; |
− | padding-left: 0;
| + | font-size: normal; |
− | padding-right: 0;
| + | |
− | background-color: #fff;
| + | |
− | margin: 0; | + | |
− | height:0px;
| + | |
− | z-index: 999; | + | |
− | position: relative; | + | |
| } | | } |
− | #first_s #nav_bg{
| + | |
− | height: 80px; | + | @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; |
| } | | } |
− | #first_s .container {
| + | |
− | height: 80px; | + | h1,h2,h3,h4,h5,p{ |
| + | font-family:'DIN B','DIN Medium'; |
| } | | } |
− | #first_s .container .navbar-header {
| + | h1, h2, h3, h4, h5, h6{ |
− | height: 80px;
| + | overflow:auto !important; |
− | float: left;
| + | padding: 1rem 0 !important; |
| } | | } |
− | #first_s .container .navbar-brand {
| + | p{ |
− | font-size: 24px;
| + | margin:0 !important; |
− | line-height: 72px;
| + | |
− | }
| + | |
− | #first_s .container ul {
| + | |
− | text-align: center;
| + | |
− | padding: 0 0;
| + | |
− | margin:0 0;
| + | |
− | height: 80px;
| + | |
− | float: right;
| + | |
− | font-size: 18px;
| + | |
− | color: #c0c0c0;
| + | |
| } | | } |
| + | 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; |
| | | |
− | #first_s .container li
| |
− | {
| |
− | width: 80px;
| |
− | list-style: none;
| |
− | height: 80px;
| |
− | line-height: 80px;
| |
− | float: left;
| |
− | color: #c0c0c0;
| |
| } | | } |
| | | |
| | | |
| | | |
− | #first_s .container li ul
| |
− | {
| |
− | list-style: none;
| |
− | padding-left: 0;
| |
− | text-align: center;
| |
− | position: relative;
| |
− | display: none;
| |
− |
| |
− | }
| |
| | | |
− | #first_s .container li:hover > ul
| + | html{ |
− | { | + | height: 100% !important; |
− | display: block;
| + | } |
| + | |
| + | body{ |
| + | background-color:#fff !important; |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| + | overflow-x:hidden !important; |
| + | |
| + | } |
| + | #bodyContent{ |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| } | | } |
| | | |
| + | #content{ |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| | | |
− | #first_s .container li ul li
| |
− | {
| |
− | height: 30px;
| |
− | padding-top: 0px;
| |
− | padding-bottom: 0px;
| |
− | line-height: 30px;
| |
− | position: relative;
| |
− |
| |
| } | | } |
| | | |
− | #first_s .container li ul li ul | + | #mw-content-text{ |
− | { width: 100%; | + | height:100% !important; |
− | position: absolute;
| + | display:block !important; |
− | left:100%;
| + | position:relative !important; |
− | top:0;
| + | |
− | display: none;
| + | |
| } | | } |
− | #first_s .container li ul li li
| + | |
− | { | + | |
− | height: 30px;
| + | #globalWrapper{ |
− | line-height: 30px;
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| | | |
| } | | } |
| + | .luanhaixin{ |
| + | height:100% !important; |
| + | display:block !important; |
| + | position:relative !important; |
| | | |
| | | |
− | /*
| |
− | 菜单按钮部分
| |
− | */
| |
− | #menu_btn{
| |
− | margin-top: 18px;
| |
− | display: none;
| |
− | width:10%;
| |
− | height:0px;
| |
− | background-color: gold;
| |
− | position: fixed;
| |
− | max-width: 60px;
| |
− | max-height: 60px;
| |
− | min-width: 30px;
| |
− | min-height: 30px;
| |
− | text-align: center;
| |
− | line-height: 50px;
| |
| } | | } |
− | .cebian{ | + | |
− | position: fixed;
| + | .s1 p{ |
− | bottom: 0;
| + | float:left; |
− | margin-bottom: 0;
| + | } |
− | z-index: 999;
| + | section{ |
− | width: 100%;
| + | font-family: 'DIN Alternate'; |
− | height: 50%; | + | line-height: 150%; |
− | top:auto;
| + | |
− | font-size: 100%;
| + | |
− | background-color: #000;
| + | |
| } | | } |
− | .cebian > .menu_title{
| |
− | position: relative;
| |
− | width: 100%;
| |
− | height: 20%;
| |
− | top:auto;
| |
− | bottom: 0px;
| |
− | background-color: green;
| |
− | /*border: 1px solid #c0c0c0;*/
| |
| | | |
| + | @media (min-width:1000px) { |
| + | section{ |
| + | line-height: 200%; |
| } | | } |
| | | |
− | .cebian > .menu_title> .menu_logo{
| + | } |
− | position: relative;
| + | |
− | width: 50%;
| + | |
− | height: 100%;
| + | |
− | background-color: green;
| + | |
| | | |
− | float: left;
| |
| | | |
| + | |
| + | |
| + | .word { |
| + | color: rgba(0,0,0,1.00); |
| + | font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; |
| } | | } |
− | .cebian > .menu_title> .menu_button{
| + | p{ |
− | position: relative;
| + | width: 100%; |
− | width: 50%; | + | height: auto;1 |
− | height: 100%; | + | margin: 0 auto; |
− | background-color: green;
| + | position: relative; |
| + | } |
| | | |
− | float: right;
| + | tbody{ |
| + | width:50%; |
| + | position: relative; |
| + | } |
| + | |
| + | #HQ_page .np1{ |
| + | color: rgba(0,0,0,1.00); |
| + | font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif; |
| + | font-size: 39px; |
| + | padding-bottom: 25px; |
| + | padding-top: 25px; |
| + | } |
| + | #HQ_page .np3 { |
| + | font-size: 26px; |
| + | margin-bottom: 13px; |
| + | } |
| | | |
| + | #HQ_page .np5{ |
| + | font-size: 19px; |
| + | line-height: 31px; |
| + | margin-bottom: 13px; |
| + | } |
| | | |
| | | |
| | | |
− | }
| |
− | .cebian > .menu_box{
| |
− | position: relative;
| |
− | width: 100%;
| |
− | height: 80%;
| |
| | | |
| | | |
− | }
| |
− | .cebian > .menu_box>.menu{
| |
− | position: relative;
| |
− | width: 22.5%;
| |
− | height: 30%;
| |
− | background-color: green;
| |
− | /*border: 1px solid #c0c0c0;*/
| |
− | float: left;
| |
− | margin-left: 2%;
| |
| | | |
− | } | + | #HQ_page p{ |
− | /*
| + | font-size: auto; |
− | 菜单按钮部分
| + | line-height: auto; |
− | */
| + | margin-bottom: auto; |
− | #second_s{
| + | } |
− | height: 700px; | + | |
− | background-position: center center; | + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | .picCont{ |
| + | width: 85%; |
| + | margin-top: 0; |
| + | margin-right: auto; |
| + | margin-left: auto; |
| + | margin-bottom: 14px; |
| + | height: auto; |
| + | overflow: hidden; |
| + | } |
| + | .picCont .pic{ |
| + | width: 300px; |
| + | height: 500px; |
| + | float: left; |
| + | margin-bottom: 0px; |
| + | background-position: center 0%; |
| + | overflow-x: hidden; |
| + | overflow-y: hidden; |
| + | background-size: 100% auto; |
| + | background-repeat: no-repeat; |
| + | } |
| + | .picCont .pic .picinner { |
| + | height: 10%; |
| + | width: 100%; |
| + | background-color: rgba(0,227,202,0.79); |
| position: relative; | | position: relative; |
− | background-color: rgba(236,132,255,1.00); | + | top: -10%; |
| } | | } |
− | #third_s {
| + | .picCont .picword{ |
− | height: 824px;
| + | |
− | position: relative;
| + | |
− | background-color: rgba(255,255,255,1.00);
| + | |
− | }
| + | |
− | #third_s #third_1 {
| + | |
− | height: 810px;
| + | |
− | background-color: rgba(255,255,255,1.00);
| + | |
− | position: relative;
| + | |
− | }
| + | |
− | #third_s #third_1 #third_1_1 {
| + | |
− | background-color: rgba(195,128,129,1.00);
| + | |
− | height: 810px;
| + | |
| position: absolute; | | position: absolute; |
− | margin: 0 0; | + | float: left; |
− | width: 75%; | + | width: 100%; |
− | left: 19px; | + | text-align: center; |
− | top: -37px; | + | height: 100%; |
| + | } |
| + | .tableCont { |
| + | display: block; |
| + | height: auto; |
| + | margin: 0 auto; |
| + | width: 85%; |
| + | overflow-x: hidden; |
| + | overflow-y: hidden; |
| } | | } |
− | #zhuan {
| + | .tableCont table { |
− | margin-top: 18px; | + | height: auto; |
| display: block; | | display: block; |
− | width: 10%; | + | border-collapse: collapse; |
− | height: 60px;
| + | position: relative; |
− | background-color: gold;
| + | float: left; |
− | position: fixed; | + | |
− | max-width: 60px; | + | |
− | max-height: 60px;
| + | |
− | min-width: 30px;
| + | |
− | min-height: 30px;
| + | |
| text-align: center; | | text-align: center; |
− | line-height: 50px; | + | margin-top: 30px; |
− | bottom: 45px; | + | } |
− | right: 134px; | + | .tableCont table tbody { |
| + | display: block; |
| + | width: auto; |
| + | height: auto; |
| + | } |
| + | .tableCont .table .tableinner { |
| + | height: 39px; |
| + | width: 100%; |
| + | font-size: 18px; |
| + | line-height: 31px; |
| + | } |
| + | .tableCont table tbody tr:nth-child(2n) { |
| + | background-color: rgba(212,234,249,1.00); |
| + | |
| + | } |
| + | .tableCont table tbody tr:nth-child(2n+1) { |
| + | background-color: rgba(220,239,252,1.00); |
| + | |
| + | } |
| + | .tableCont table tbody tr:first-child { |
| + | background-color: rgba(159,217,255,1.00); |
| + | |
| + | } |
| + | |
| + | tbody td { |
| + | border: 1px solid rgba(64,137,251,1.00); |
| + | width: 1000px; |
| + | height: 37px; |
| + | } |
| + | |
| + | |
| + | #top_title{ |
| + | display: none; |
| + | |
| + | } |
| + | #content{ |
| + | width:100%; |
| + | margin: 00; |
| + | padding:00; |
| } | | } |
| | | |
| | | |
| </style> | | </style> |
− | <script> | + | <!--屏幕内容第一条 导航栏 --> |
− | function $$(id){
| + | |
− | var el=document.getElementById(id);
| + | |
− | return el;
| + | |
− | }
| + | |
− | //获取全局元素部分
| + | |
− | var menudiv=document.getElementsByClassName("menu");
| + | |
− | var menu_box=document.getElementById("menu_box");
| + | |
− | var menu_btn=document.getElementById("menu_btn");
| + | |
− | var bg_menu=document.getElementById("bg_menu");
| + | |
− | //菜单部分函数
| + | |
− | function menuStart(){
| + | |
− | var menu_w=document.documentElement.clientWidth;
| + | |
− | var menu_h=document.documentElement.clientHeight;
| + | |
− | document.getElementById("lizi").innerHTML="宽度:"+menu_w+",高度:"+menu_h;
| + | |
− | for(var i=0;i<menudiv.length;i++){
| + | |
− | menudiv[i].style.marginTop=menu_box.offsetHeight*0.025+"px";
| + | |
− | }
| + | |
− | //菜单按钮的改变
| + | |
− | menu_btn.style.height=menu_btn.offsetWidth+"px";
| + | |
− | menu_btn.style.bottom=menu_btn.offsetWidth+"px";
| + | |
− | menu_btn.style.right=menu_btn.offsetWidth+"px"
| + | |
| | | |
| + | <!--this part for the home page content. with built-in css--> |
| + | <style> |
| + | |
| + | /*Body Content*/ |
| + | section{ |
| + | width:100%; |
| + | 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; |
| + | } |
| | | |
| | | |
− | if(menu_w>=430){
| + | .button:hover{ |
− | //整个菜单的改变
| + | box-shadow: 0.3rem 0 1rem rgba(0,0,0,0.3); |
− | bg_menu.style.width=35+"%";
| + | transition: all 0.3s ease; |
− | bg_menu.style.height=bg_menu.offsetWidth*0.8+"px";
| + | background: rgba(255,201,230,1); |
− | bg_menu.style.minWidth=150+"px";
| + | } |
− | bg_menu.style.minHeight=150+"px";
| + | .button a{ |
− | bg_menu.style.maxWidth=430+"px";
| + | display: block; |
− | bg_menu.style.maxHeight=430+"px";
| + | color: rgba(138,0,0,1); |
| + | } |
| + | |
| + | .button.colored{ |
| + | /*background: white;*/ |
| + | color: rgba(138,0,0,1); |
| + | } |
| + | |
| + | .clear{ |
| + | clear: both; |
| + | } |
| + | .s0{ |
| + | height:80%; |
| + | background:rgba(255,0,90,0.7); |
| + | overflow: hidden; |
| + | z-index: 1; |
| + | position:relative; |
| + | } |
| + | .s0 .title{ |
| + | position: relative; |
| + | width: 50%; |
| + | height: 100%; |
| + | } |
| + | .s0 .title img{ |
| + | position: absolute; |
| + | bottom: 5vh; |
| + | left:8vw; |
| + | } |
| + | .s0 .rose-background{ |
| + | background: url(https://static.igem.org/mediawiki/2019/f/fe/T--Jilin_China--Main--Rose.svg) no-repeat; |
| + | background-size: contain; |
| + | position: absolute; |
| + | right:3vw; |
| + | bottom:-25vw; |
| + | transform: rotate(-19.9deg); |
| + | filter: blur(10px) brightness(0.7); |
| + | opacity: 0.3; |
| + | width: 50vw; |
| + | height:75vw; |
| + | } |
| + | |
| + | .s1{ |
| + | background: white; |
| + | } |
| + | /*对于内容相关的CSS使用内容相关Class,对于与顺序相关的使用 .s[num]*/ |
| + | .introduction .text{ |
| + | width:100%; |
| + | |
| + | background-size: auto 75%; |
| + | background-position: 90% calc(50% + 1.25rem); |
| + | } |
| + | |
| + | |
| + | |
| + | |
| + | .symptom .digits .digit{ |
| + | font-size:5.5vw; |
| + | margin:0; |
| + | } |
| + | .symptom .digits .explain{ |
| + | margin:0 0 3vw !important; |
| + | border:0px; |
| + | } |
| + | |
| + | .symptom .small-bg .image{ |
| + | width: 44%; |
| + | padding: 0 5vw; |
| + | margin:0 auto; |
| + | box-sizing: border-box; |
| + | } |
| + | .symptom .small-bg .image img{ |
| + | width: 100%; |
| + | text-align: center; |
| + | margin: 0 auto; |
| + | } |
| + | .s2 .text{ |
| + | width: 100%; |
| + | text-align: center; |
| + | font-size:2vw; |
| + | } |
| + | |
| + | |
| | | |
− | bg_menu.style.right=menu_btn.offsetWidth*1.7+"px";
| |
− | bg_menu.style.bottom=menu_btn.offsetWidth*2.2+"px";
| |
− | bg_menu.style.left="auto";
| |
− | console.log(bg_menu.offsetHeight);
| |
− |
| |
| | | |
| + | |
| + | |
| + | |
| + | .s4{ |
| + | background: rgba(255,0,90,0.1); |
| + | min-height: 34vh; |
| + | z-index: -1; |
| + | position: relative; |
| + | } |
| + | |
| + | |
| + | .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%; |
| + | } |
| + | |
| | | |
− | }
| + | .hp{ |
− | else{
| + | background: white; |
− | bg_menu.style.width=100+"%";
| + | text-align: center; |
− | bg_menu.style.height=50+"%";
| + | position: relative; |
− | bg_menu.style.right=0;
| + | padding-bottom: 5vw; |
− | bg_menu.style.left=0;
| + | |
− | bg_menu.style.bottom=0;
| + | |
| | | |
| + | } |
| + | .hp h1{ |
| + | text-align: center; |
| + | } |
| + | |
| + | |
| | | |
− | }
| + | .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"> |
− | window.onload=function(){
| + | <h2>Therapeutic System</h2> |
− | menu_btn.style.display="block";
| + | <div> |
− | menuStart();
| + | <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> |
− | document.getElementById('bg_menu').classList.add("hidden");
| + | <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"> |
| | | |
− | }
| |
− | //窗口改变
| |
− | window.onresize = function(){
| |
− | menuStart();
| |
− | }
| |
| | | |
− | //自定义菜单开关
| |
− | menu_btn.onclick=function(){
| |
| | | |
− | if(hasClass(bg_menu, 'hidden')){
| |
− | removeClass(bg_menu,'hidden');
| |
− | }
| |
− | else{
| |
− | addClass(bg_menu,'hidden');
| |
− | }
| |
− | menuStart();
| |
− | }
| |
− | //特效部分
| |
− | //导航鼠标hover
| |
− | var nav_bg=document.getElementById("nav_bg");
| |
− | var list_1=document.getElementsByClassName("list_1");//获取导航外层项目
| |
| | | |
− | function nav_anti(){
| |
− | for(var i=0;i<list_1.length;i++){
| |
− | list_1[i].onmouseenter=function(){
| |
− | nav_bg.style.backgroundColor="#fff";
| |
− | nav_bg.style.transition =0.5+"s";
| |
− | }
| |
− | list_1[i].onmouseleave=function(){
| |
− | nav_bg.style.backgroundColor="transparent";
| |
− | }
| |
− | }
| |
− | }
| |
− | nav_anti();
| |
| | | |
| + | <h1 class="bg-white">Practices Facilitated Our Project</h1> |
| | | |
− | $$("zhuan").onclick=function(){
| + | <div class="third_s"> |
− | $$("third_1_1").style.transition=1+"s linear";
| + | <div id="third_1"> |
− | $$("third_1_1").style.transform="rotateY("+180+"deg)";
| + | <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> |
− | function $$(id){
| + | |
− | var el=document.getElementById(id); | + | |
− | return el; | + | |
− | }
| + | |
− | function $C$(Class){
| + | |
− | var el=document.getElementsByClassName(Class);
| + | |
− | return el; | + | |
| + | |
| + | |
| + | |
| + | <div class="clear"></div> |
| + | </section> |
| + | |
| + | <style> |
| + | |
| + | |
| + | |
| + | |
| + | .s8 .text { |
| + | |
| + | float: right; |
| + | z-index: 20000; |
| + | |
| + | |
| + | } |
| + | .modelbg{ |
| + | z-index: 20px; |
| } | | } |
| | | |
− | //有关类名字的方法 | + | </style> |
− | function addClass(el, className) {
| + | |
− | if (hasClass(el, className)) {
| + | |
− | return;
| + | |
− | }
| + | |
− | let newClass = el.className.split(' ');
| + | |
− | newClass.push(className);
| + | |
− | el.className = newClass.join(' ');
| + | |
− | }
| + | |
| | | |
− | function hasClass(el, className) {
| |
− | // \s匹配任何空白字符,包括空格、制表符、换页符等等
| |
− | let reg = new RegExp('(^|\\s)' + className + '(\\s|$)');
| |
− | return reg.test(el.className);
| |
− | }
| |
− | 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(' ');
| |
− | }
| |
| | | |
− |
| |
− | var content={
| |
− | detail : [
| |
| | | |
− | {title : "ertyu",
| |
− | para : [
| |
| | | |
| + | <section class="s8 model right"> |
| + | <h1 class="bg-white">Model</h1> |
| + | <div class="text"> |
| | | |
− | {
| + | <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> |
− | word : "我是第一段",
| + | </div> |
− | pic : "1.png",
| + | <div class="clear"></div> |
− | strong : ["strong","asd"],
| + | <div class="button colored"><a href="https://2019.igem.org/Team:Jilin_China/Model"><p>Learn More about Our Model</p></a></div> |
− | div : {
| + | <div class="clear"></div> |
− | id : "chart1",
| + | </section> |
− | class : ["strong","asd"]
| + | |
− | }
| + | |
− | },
| + | |
| | | |
− | {
| |
− | word : "你知道吗",
| |
− | pic : "none",
| |
− | strong : []
| |
− | }
| |
| | | |
| | | |
− | ]},
| |
| | | |
| + | <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> |
| | | |
− | {title : "ert2121221",
| + | <div id="par" class="botton otr"><p>Parts</p><a class="foota otr1" href="https://2019.igem.org/Team:Jilin_China/Parts"></a></div> |
− | para : [
| + | |
| | | |
| + | <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> |
− | word : "我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你我爱你",
| + | #bbgd{ |
− | pic : "1.png",
| + | background-image: url(https://static.igem.org/mediawiki/2019/d/d4/T--Jilin_China--Main--back.jpg); |
− | strong : ["strong","asd"],
| + | background-size: cover; |
− | div : {
| + | } |
− | id : "chart1",
| + | |
− | class : ["strong","asd"]
| + | #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; |
| + | } |
| | | |
− | {
| |
− | word : "你知道吗",
| |
− | pic : "none",
| |
− | strong : []
| |
− | },
| |
| | | |
− | {
| |
− | word : "你知道吗",
| |
− | pic : "none",
| |
− | strong : []
| |
− | },
| |
| | | |
− | ]}
| |
| | | |
− | ]
| + | .otr{ |
− | }
| + | display: block; |
− | var contElement=[];
| + | position: relative; |
− | function renderWord(){
| + | |
− | for(var i=0;i<content.detail.length;i++){ | + | color: #fff; |
− | var tT=document.createElement("h1"); | + | text-shadow: 5px 2px 35px #000; |
− | tT.innerHTML=content.detail[i].title; | + | transition: 1s; |
− | console.log(tT);
| + | |
− | contElement.push(tT); | + | |
− | for(var j=0;j<content.detail[i].para.length;j++){
| + | |
− | var tP=document.createElement("p");
| + | |
− | tP.innerHTML=content.detail[i].para[j].word;
| + | |
− | console.log(tP);
| + | |
− | contElement.push(tP);
| + | |
− | if(content.detail[i].para[j].pic!="none"){
| + | |
− | var tImg=document.createElement("div");
| + | |
− | tImg.innerHTML="<img src=\'"+content.detail[i].para[j].pic+"\'>";
| + | |
− | console.log(tImg);
| + | |
− | contElement.push(tImg);
| + | |
− | }
| + | |
− | }
| + | |
| } | | } |
− | for(var i=0;i<contElement.length;i++){ | + | |
− | $$("third_1_1").appendChild(contElement[i]);
| + | |
| + | .otr:hover{ |
| + | text-shadow: 5px 2px 10px #000; |
| } | | } |
| | | |
| + | .otr1{ |
| + | display: block; |
| + | position: relative; |
| + | top: 0vw; |
| + | } |
| + | </style> |
| | | |
− | }
| |
− | renderWord();
| |
| | | |
− | </script> | + | </html> |
− | <div id="bg_menu" class="cebian hidden">
| + | |
− | <div class="menu_title">
| + | |
− | <div class="menu_logo">jilinchina!</div>
| + | |
− | <div class="menu_button" id="menu_button">取消按钮</div>
| + | |
− | </div>
| + | |
− | <div id="menu_box" class="menu_box">
| + | |
− | <div id="lizi" class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− | <div class="menu">第一块</div>
| + | |
− |
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | <!--屏幕内容第一条 导航栏 -->
| + | |
− | <nav id="first_s">
| + | |
− | <div id="nav_bg" class="container-fluid">
| + | |
− | <div class="container">
| + | |
− | <div class="navbar-header">
| + | |
− | <a class="navbar-brand" href="#">Jilin_China</a>
| + | |
− | </div>
| + | |
− | <ul class="hidden-xs">
| + | |
− | <li class="active list_1"><a href="#">Home</a></li>
| + | |
− | <li class="list_1"><a href="#">第一块</a>
| + | |
− | <ul>
| + | |
− | <li>内一块</li>
| + | |
− | <li>内一块
| + | |
− | <ul>
| + | |
− | <li>内二块</li>
| + | |
− | <li>内二块</li>
| + | |
− | <li>内二块</li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | <li>内一块</li>
| + | |
− | </ul>
| + | |
− | </li>
| + | |
− | <li class="list_1"><a href="#">第二块</a></li>
| + | |
− | <li class="list_1"><a href="#">第三块</a></li>
| + | |
− | <li class="list_1"><a href="#">第四块</a></li>
| + | |
− | <li class="list_1"><a href="#">第五块</a></li>
| + | |
− | <li class="list_1"><a href="#">第四块</a></li>
| + | |
− | <li class="list_1"><a href="#">第五块</a></li>
| + | |
− | </ul>
| + | |
− |
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </nav>
| + | |
− | <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">
| |
− | backface-visibility:hidden;
| |
− | </div>
| |
− | </div>
| |
| | | |
− | </div>
| + | <html> |
− | <div id="zhuan">翻转</div>
| + | |
− | <div id="menu_btn">菜单</div>
| + | <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/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}} |