Line 1: | Line 1: | ||
+ | <html> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | /********************************* DEFAULT WIKI SETTINGS ********************************/ | ||
+ | |||
+ | #sideMenu, #top_title {display:none;} | ||
+ | #content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;} | ||
+ | body {background-color:white; } | ||
+ | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | ||
+ | |||
+ | /********************************* MENU ********************************/ | ||
+ | /* Wrapper for the menu of subpage */ | ||
+ | #sp-menu-wrapper img { | ||
+ | padding-right: 10px; | ||
+ | /*margin-top: 80px;*/ | ||
+ | } | ||
+ | #sp-banner { | ||
+ | height: 200px; | ||
+ | } | ||
+ | |||
+ | #sp-menu-wrapper { | ||
+ | background-repeat: no-repeat; | ||
+ | text-align: center; | ||
+ | clear: left; | ||
+ | background-position: center top; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/3/3e/T--Mingdao--sbanner.png); | ||
+ | display: block; | ||
+ | background-size: cover; | ||
+ | width: 100vw; | ||
+ | height: 55vh; | ||
+ | position: absolute; | ||
+ | } | ||
+ | #sp-logo img { | ||
+ | padding-top: 40px; | ||
+ | } | ||
+ | #sp-logo { | ||
+ | height: 130px; | ||
+ | width: 114px; | ||
+ | float: left; | ||
+ | margin-left: 95px; | ||
+ | padding-right: 10px; | ||
+ | margin-right: 30px; | ||
+ | } | ||
+ | |||
+ | #sp-menu-wrapper .sp-main-menu , #sp-menu-wrapper .sp-sub-menu { | ||
+ | width: 980px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | #sp-menu-wrapper ul, #sp-menu-wrapper ul li { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | list-style: none; | ||
+ | } | ||
+ | .sp-main-menu ul li, .sp-sub-menu ul li { | ||
+ | float: left; | ||
+ | } | ||
+ | .sp-main-menu ul li a { | ||
+ | color: #000; | ||
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | padding-top: 5px; | ||
+ | padding-right: 5px; | ||
+ | padding-bottom: 5px; | ||
+ | padding-left: 0; | ||
+ | margin-top: 40px; | ||
+ | } | ||
+ | .sp-sub-menu-wrapper { | ||
+ | height: 28px; | ||
+ | clear: left; | ||
+ | background-color: #630E0E; | ||
+ | border-top: 5px solid #630E0E; /* 預設使用跟 .c1 一樣的顏色 */ | ||
+ | } | ||
+ | .sp-sub-menu { | ||
+ | height: 28px; | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .sp-sub-menu ul { | ||
+ | position: absolute; | ||
+ | } | ||
+ | .sp-sub-menu ul li a { | ||
+ | color: #fff; | ||
+ | display: block; | ||
+ | padding-top: 2px; | ||
+ | text-decoration: none; | ||
+ | margin-right: 20px; | ||
+ | } | ||
+ | .sp-sub-menu .sp-sub-memu-0 { | ||
+ | left: 175px; | ||
+ | } | ||
+ | /* 自訂子選單的位置 */ | ||
+ | .sp-sub-menu .sp-sub-menu-1 { | ||
+ | left: 260px; | ||
+ | } | ||
+ | .sp-sub-menu .sp-sub-menu-2 { | ||
+ | left: 360px; | ||
+ | } | ||
+ | .sp-sub-menu .sp-sub-menu-3 { | ||
+ | left: 450px; | ||
+ | } | ||
+ | .sp-sub-menu .sp-sub-menu-4 { | ||
+ | left: 562px; | ||
+ | } | ||
+ | .sp-sub-menu .sp-sub-menu-5 { | ||
+ | left: 650px; | ||
+ | } | ||
+ | .sp-sub-menu .sp-sub-menu-6 { | ||
+ | left: 725px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #header-wrapper { | ||
+ | margin: 10px auto; | ||
+ | width: 980px; | ||
+ | } | ||
+ | #header-wrapper .logo, #header-wrapper .adv { | ||
+ | float: left; | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | #header-wrapper .logo a img { | ||
+ | border: none; | ||
+ | } | ||
+ | #menu-wrapper { | ||
+ | clear: left; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /********************************* CONTENT OF THE PAGE ********************************/ | ||
+ | |||
+ | /* Wrapper for the content */ | ||
+ | /*Home page css*/ | ||
+ | .logo { | ||
+ | padding-right: 30px; | ||
+ | padding-left: 20px; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | .ming { | ||
+ | margin-top: 30px; | ||
+ | margin-left: 45px; | ||
+ | } | ||
+ | .slg { | ||
+ | padding-top: 135px; | ||
+ | margin-left: 25px; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .name { | ||
+ | margin-top: 40px; | ||
+ | margin-left: 25px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | #mcontainer_abstract { | ||
+ | background-attachment: scroll; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/8/8f/T--Mingdao--habstract02.jpeg); | ||
+ | background-repeat: no-repeat; | ||
+ | background-size:contain; | ||
+ | width: 100%; | ||
+ | height: 850px; | ||
+ | } | ||
+ | #container_video .convi{ | ||
+ | width: 800px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | #container_video{ | ||
+ | background-color: #AEDCF2; | ||
+ | width: 100%; | ||
+ | height: 475px; | ||
+ | margin-right: auto; | ||
+ | margin-top: -70px; | ||
+ | margin-left: auto; | ||
+ | padding-top: 50px; | ||
+ | } | ||
+ | #container_video .video{ | ||
+ | width: 600px; | ||
+ | height: 382.5px; | ||
+ | float: left; | ||
+ | margin-left: 50px; | ||
+ | } | ||
+ | #container_video .vid_img{ | ||
+ | width: 1200px; | ||
+ | padding-left: 50px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | #mfooter { | ||
+ | background-color: #ffcdb2; | ||
+ | width: 100%; | ||
+ | height: 250px; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | #mfooter #chooser { | ||
+ | padding-top: 10px; | ||
+ | padding-left: 50px; | ||
+ | } | ||
+ | #mfooter #chooser ul { | ||
+ | float: left; | ||
+ | height: auto; | ||
+ | width: 125px; | ||
+ | padding-right: 10px; | ||
+ | } | ||
+ | #mfooter #chooser ul li a { | ||
+ | line-height: 25px; | ||
+ | } | ||
+ | #mcontainer_top #slogan { | ||
+ | display: block; | ||
+ | padding-top: 5px; | ||
+ | padding-bottom: 10px; | ||
+ | margin-left: 15px; | ||
+ | } | ||
+ | #mcontainer_top #wine { | ||
+ | margin-top: 15px; | ||
+ | float: right; | ||
+ | z-index: 1; | ||
+ | height: 500px; | ||
+ | width: 500px; | ||
+ | } | ||
+ | #mcontainer_top #wine img { | ||
+ | margin-top: 50px; | ||
+ | } | ||
+ | #mcontainer_top #lands { | ||
+ | float: left; | ||
+ | z-index: 2; | ||
+ | width: 100%; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/2/2c/T--Mingdao--hwinebg.png); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: top; | ||
+ | height: 480px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #mcontainer_top #lands img { | ||
+ | margin-left: 10px; | ||
+ | float: left; | ||
+ | } | ||
+ | #header #mcontainer_top img { | ||
+ | padding-left: 60px; | ||
+ | padding-bottom: 8px; | ||
+ | } | ||
+ | #header #scroll { | ||
+ | text-align: center; | ||
+ | padding-bottom: 18px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | #header #mcontainer_top #scroll img { | ||
+ | padding-left: -110px; | ||
+ | margin-right: auto; | ||
+ | margin-left: -100px; | ||
+ | } | ||
+ | |||
+ | #mwrapper #mbanner img { | ||
+ | margin-right: 10px; | ||
+ | margin-left: 10px; | ||
+ | margin-top: 10px; | ||
+ | white-space: nowrap; | ||
+ | height: 70px; | ||
+ | } | ||
+ | #mbanner .mbanner_wrappper { | ||
+ | height: 70px; | ||
+ | width: 1300px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | |||
+ | #mwrapper #mbanner { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | padding-bottom: 15px; | ||
+ | text-align: center; | ||
+ | padding-top: 5px; | ||
+ | } | ||
+ | #mwrapper #header { | ||
+ | background-attachment: scroll; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/2/2e/T--Mingdao--homebg.png ); | ||
+ | background-repeat: no-repeat; | ||
+ | height: 650px; | ||
+ | } | ||
+ | #mwrapper { | ||
+ | width: auto; | ||
+ | clear: both; | ||
+ | height: auto; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | /*body { | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/3/35/T--Mingdao--mbg.png ); | ||
+ | background-repeat: repeat; | ||
+ | clear: both; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | }*/ | ||
+ | * { | ||
+ | color: #000; | ||
+ | } | ||
+ | |||
+ | /*subpage banner css*/ | ||
+ | |||
+ | /*html{ | ||
+ | text-align:center; | ||
+ | }*/ | ||
+ | /*body { | ||
+ | background-repeat: repeat; | ||
+ | background-color: #E2C9C9; | ||
+ | margin: 0; | ||
+ | }*/ | ||
+ | #sp-container { | ||
+ | height: 2000px; | ||
+ | width: 1275px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | background-color: #E2C9C9; | ||
+ | } | ||
+ | #sp-blank { | ||
+ | width: 100%; | ||
+ | height: 170px; | ||
+ | } | ||
+ | #sub-content{ | ||
+ | margin-top: 20; | ||
+ | position: absolute; | ||
+ | background-color: #FFF; | ||
+ | } | ||
+ | |||
+ | /*hp page css*/ | ||
+ | .news { | ||
+ | height: 370px; | ||
+ | width: 310px; | ||
+ | float: left; | ||
+ | background-color: #F38661; | ||
+ | margin-right: 13px; | ||
+ | text-align: center; | ||
+ | position: relative; | ||
+ | padding-top: 10px; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .pandw { | ||
+ | margin-top: 40px; | ||
+ | } | ||
+ | .mt { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | height: 400px; | ||
+ | text-align: center; | ||
+ | width: 1000px; | ||
+ | } | ||
+ | .pd { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | height: 400px; | ||
+ | text-align: center; | ||
+ | width: 648px; | ||
+ | } | ||
+ | #news { | ||
+ | width: 100%; | ||
+ | } | ||
+ | #hp { | ||
+ | width: 100%; | ||
+ | text-align: center; | ||
+ | margin-bottom: 20px; | ||
+ | margin-top:20px; | ||
+ | } | ||
+ | #hp img { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | #hp-preface #preface p { | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | #preface { | ||
+ | width: 45%; | ||
+ | text-align: left; | ||
+ | padding-left: 17px; | ||
+ | margin-right: 10px; | ||
+ | margin-left: 50px; | ||
+ | float: left; | ||
+ | height: 400px; | ||
+ | } | ||
+ | #hp-preface { | ||
+ | height: 400px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | #preface .btitle img { | ||
+ | margin-left: 120px; | ||
+ | } | ||
+ | #hp-video { | ||
+ | height: 350px; | ||
+ | width: 45%; | ||
+ | float: left; | ||
+ | margin-bottom: 20px; | ||
+ | margin-right: 10px; | ||
+ | margin-top: 70px; | ||
+ | } | ||
+ | #top .Abstract { | ||
+ | height: 600px; | ||
+ | width: 45%; | ||
+ | float: left; | ||
+ | margin-left: 50px; | ||
+ | text-align: left; | ||
+ | padding-right: 10px; | ||
+ | padding-left: 10px; | ||
+ | } | ||
+ | #top .Abstract p { | ||
+ | font-size: 17px; | ||
+ | } | ||
+ | #top .Abstract h1 { | ||
+ | text-align: center; | ||
+ | } | ||
+ | #top .Abstract .btitle img { | ||
+ | margin-left: 150px; | ||
+ | } | ||
+ | #top .Taiwan { | ||
+ | height: 600px; | ||
+ | width: 47%; | ||
+ | float: left; | ||
+ | } | ||
+ | #top .Taiwan img { | ||
+ | margin-left: 50px; | ||
+ | margin-top: 30px; | ||
+ | } | ||
+ | #top { | ||
+ | width: 100%; | ||
+ | height: 600px; | ||
+ | margin-top: 50px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | |||
+ | .HP_Word { | ||
+ | height: 525px; | ||
+ | width: 98%; | ||
+ | padding-top: 20px; | ||
+ | padding-bottom: 10px; | ||
+ | margin-bottom: 30px; | ||
+ | text-align: center; | ||
+ | margin-top: 50px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | |||
+ | .HP_Word .nw #meet { | ||
+ | float: left; | ||
+ | height: 500px; | ||
+ | width: 650px; | ||
+ | } | ||
+ | .HP_Word #Title { | ||
+ | width: 700px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | text-align: center; | ||
+ | padding-top: -30px; | ||
+ | margin-bottom: -30px; | ||
+ | } | ||
+ | .HP_Word h1 { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .HP_Word #content { | ||
+ | width: 700px; | ||
+ | height: 300px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | .HP_Word #content p { | ||
+ | padding-right: 30px; | ||
+ | font-size: 18px; | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | .HP_Word .news img { | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | .HP_Word .nw { | ||
+ | height: 500px; | ||
+ | width: 1300px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | padding-left: 30px; | ||
+ | } | ||
+ | .HP_Word .btitle { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | text-align: center; | ||
+ | width: auto; | ||
+ | } | ||
+ | .HP_Word .pd .news { | ||
+ | width: 47%; | ||
+ | } | ||
+ | .HP_Word .news img { | ||
+ | } | ||
+ | .HP_Word .mt .news { | ||
+ | width: 30%; | ||
+ | margin-top: 30px; | ||
+ | } | ||
+ | .hp-title { | ||
+ | height: 50px; | ||
+ | width: 100%; | ||
+ | border-bottom-width: medium; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: #94bee6; | ||
+ | padding-bottom: 10px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | #DNA { | ||
+ | background-color: #D775D7; | ||
+ | } | ||
+ | #police { | ||
+ | background-color: #FFC4C4; | ||
+ | } | ||
+ | #wine { | ||
+ | background-color: #FFBB9D; | ||
+ | } | ||
+ | #CH_med { | ||
+ | background-color: #BBFFEC; | ||
+ | } | ||
+ | #AC { | ||
+ | background-color: #A8FF8E; | ||
+ | } | ||
+ | #NCTU { | ||
+ | background-color: #04E63D; | ||
+ | } | ||
+ | #Asia_C { | ||
+ | background-color: #6BCEEF; | ||
+ | } | ||
+ | #Bio { | ||
+ | background-color: #92A8D1; | ||
+ | } | ||
+ | #gel { | ||
+ | background-color: #5666D1; | ||
+ | } | ||
+ | #talk { | ||
+ | background-color: #9F1E9C; | ||
+ | } | ||
+ | #wt { | ||
+ | background-color: #660033; | ||
+ | } | ||
+ | #court #HP_sWord #title { | ||
+ | } | ||
+ | #court { | ||
+ | background-color: #E4CDD6; | ||
+ | } | ||
+ | #DNA .HP_Word { | ||
+ | height: 525px; | ||
+ | } | ||
+ | #DNA.HP_Word .HP_Gallery{ | ||
+ | margin-top: 40px; | ||
+ | } | ||
+ | #news1{ | ||
+ | background-color: #E4CDD6; | ||
+ | } | ||
+ | #news2{ | ||
+ | background-color: #5666D1; | ||
+ | } | ||
+ | #news3{ | ||
+ | background-color: #6BCEEF; | ||
+ | } | ||
+ | #news4{ | ||
+ | background-color: #BBFFEC; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .HP_mgallery { | ||
+ | width: 530px; /* 圖片寬度 + 縮圖寬度 + 間隔 8px */ | ||
+ | height: 350px; | ||
+ | position: relative; | ||
+ | border: 1px solid #ccc; | ||
+ | float: left; | ||
+ | padding-top: 6px; | ||
+ | padding-right: 10px; | ||
+ | padding-bottom: 6px; | ||
+ | padding-left: 10px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #DNA #HP_sWord { | ||
+ | height: 1000px; | ||
+ | } | ||
+ | #DNA#HP_sWord #HP_Gallery{ | ||
+ | margin-top: 40px; | ||
+ | } | ||
+ | |||
+ | #HP_sWord { | ||
+ | height: 800px; | ||
+ | width: 1275px; | ||
+ | padding-top: 20px; | ||
+ | padding-bottom: 10px; | ||
+ | margin-bottom: 50px; | ||
+ | padding-left: 30px; | ||
+ | } | ||
+ | .HP_sWord2 { | ||
+ | height: 1000px; | ||
+ | width: 1275px; | ||
+ | padding-top: 20px; | ||
+ | padding-bottom: 10px; | ||
+ | margin-bottom: 50px; | ||
+ | padding-left: 30px; | ||
+ | } | ||
+ | #HP_sWord #Title { | ||
+ | width: 700px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | text-align: center; | ||
+ | padding-top: -30px; | ||
+ | margin-bottom: -30px; | ||
+ | } | ||
+ | #HP_sWord .hpcontent { | ||
+ | width: 700px; | ||
+ | height: 350px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | font-size: 16px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #HP_sWord2 .hpcontent3 { | ||
+ | width: 700px; | ||
+ | height: 350px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | font-size: 16px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #HP_sWord .hpcontent2 { | ||
+ | width: 700px; | ||
+ | height: 350px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | font-size: 16px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #HP_sWord .hpcontent3 { | ||
+ | width: 700px; | ||
+ | height: 350px; | ||
+ | float: right; | ||
+ | margin-right: 10px; | ||
+ | font-size: 17px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #HP_sWord .hpcontent p { | ||
+ | padding-right: 30px; | ||
+ | font-size: 18px; | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | |||
+ | #HP_sWord2 .hpcontent3 p { | ||
+ | padding-right: 30px; | ||
+ | font-size: 15px; | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | |||
+ | #HP_sWord .hpcontent2 p { | ||
+ | padding-right: 30px; | ||
+ | font-size: 15px; | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | #HP_sWord .hpcontent3 p { | ||
+ | padding-right: 30px; | ||
+ | font-size: 17px; | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | #HP_Gallery { | ||
+ | width: 530px; /* 圖片寬度 + 縮圖寬度 + 間隔 8px */ | ||
+ | height: 300px; | ||
+ | position: relative; | ||
+ | border: 1px solid #ccc; | ||
+ | float: left; | ||
+ | padding-top: 30px; | ||
+ | padding-right: 10px; | ||
+ | padding-bottom: 6px; | ||
+ | padding-left: 10px; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | .hppic { | ||
+ | height: 400px; | ||
+ | width: 1200px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-bottom: 100px; | ||
+ | } | ||
+ | .hppic2 { | ||
+ | height: 225px; | ||
+ | width: 1200px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-bottom: 80px; | ||
+ | } | ||
+ | .hppic img { | ||
+ | margin: 10px; | ||
+ | float: left; | ||
+ | } | ||
+ | .hppic2 img { | ||
+ | margin: 10px; | ||
+ | float: left; | ||
+ | } | ||
+ | .attricontent ul { | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .attricontent ul li{ | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | .attricontent b { | ||
+ | font-size: 24px; | ||
+ | color: #641427; | ||
+ | } | ||
+ | .attricontent table { | ||
+ | margin-top: 10px; | ||
+ | margin-bottom: 10px; | ||
+ | border-top-width: thin; | ||
+ | border-top-style: solid; | ||
+ | border-top-color: #9F203D; | ||
+ | border-right-width: thin; | ||
+ | border-right-style: solid; | ||
+ | border-right-color: #9F203D; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .attricontent p { | ||
+ | margin-left: 40px; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | .attricontent { | ||
+ | height: auto; | ||
+ | width: 97%; | ||
+ | padding-left: 20px; | ||
+ | padding-top: 10px; | ||
+ | padding-right: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | margin-top: 30px; | ||
+ | margin-left: 50px; | ||
+ | } | ||
+ | |||
+ | /*Safety css*/ | ||
+ | .scontent ul { | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | .scontent ul li{ | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | .scontent b { | ||
+ | font-size: 24px; | ||
+ | color: #641427; | ||
+ | } | ||
+ | .scontent table { | ||
+ | margin-top: 10px; | ||
+ | margin-bottom: 10px; | ||
+ | border-top-width: thin; | ||
+ | border-top-style: solid; | ||
+ | border-top-color: #9F203D; | ||
+ | border-right-width: thin; | ||
+ | border-right-style: solid; | ||
+ | border-right-color: #9F203D; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .scontent table tr { | ||
+ | } | ||
+ | .scontent table tr th { | ||
+ | border-bottom-width: thin; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: #871B33; | ||
+ | border-left-width: thin; | ||
+ | border-left-style: solid; | ||
+ | border-left-color: #871B33; | ||
+ | } | ||
+ | .scontent table tr td { | ||
+ | border-bottom-width: thin; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: #9F203D; | ||
+ | border-left-width: thin; | ||
+ | border-left-style: solid; | ||
+ | border-left-color: #9F203D; | ||
+ | } | ||
+ | .scontent p { | ||
+ | margin-left: 40px; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | .scontent { | ||
+ | height: auto; | ||
+ | width: 97%; | ||
+ | padding-left: 20px; | ||
+ | padding-top: 10px; | ||
+ | padding-right: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | margin-top: 30px; | ||
+ | margin-left: 20px; | ||
+ | } | ||
+ | |||
+ | .stitle img { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .sstitle img { | ||
+ | margin-left: 30px; | ||
+ | } | ||
+ | .stitle { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .sstitle { | ||
+ | border-bottom-width: medium; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: #64bee3; | ||
+ | margin-top: 50px; | ||
+ | } | ||
+ | /*Modeling*/ | ||
+ | .mcontent { | ||
+ | padding-left: 40px; | ||
+ | text-indent: 1px; | ||
+ | font-size: 16px; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | height: auto; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .mcontent h3 { | ||
+ | color: #641427; | ||
+ | } | ||
+ | .mcontent p{ | ||
+ | width: 1200px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | |||
+ | .mpic { | ||
+ | height: auto; | ||
+ | width: 800px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .mcontent .mpic2 { | ||
+ | width: 500px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .mcontent .mpic img { | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | .mcontent .mpic .md { | ||
+ | width: 350px; | ||
+ | float: left; | ||
+ | margin-right: 40px; | ||
+ | } | ||
+ | .mcontent .mpic2 p { | ||
+ | font-size: 12px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .mcontent .mpic p { | ||
+ | font-size: 12px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .surcontent { | ||
+ | padding-left: 30px; | ||
+ | text-indent: 1px; | ||
+ | font-size: 16px; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | height: auto; | ||
+ | width: 95%; | ||
+ | } | ||
+ | .serpic { | ||
+ | height: auto; | ||
+ | width: 1100px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 40px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | #footer{ | ||
+ | background-repeat: no-repeat; | ||
+ | text-align: center; | ||
+ | clear: left; | ||
+ | background-position: center bottom; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/8/8f/T--Mingdao--footerbg.png); | ||
+ | background-size: cover; | ||
+ | display: block; | ||
+ | width: 100vw; | ||
+ | height: 200px; | ||
+ | position: absolute; | ||
+ | } | ||
+ | /*project*/ | ||
+ | .provideo{ | ||
+ | width: 800px; | ||
+ | height: 600px; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | .procontent b { | ||
+ | font-size: 18px; | ||
+ | color: #641427; | ||
+ | } | ||
+ | .ptitle { | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .word { | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | .procontent p { | ||
+ | font-size: 18px; | ||
+ | text-align: left; | ||
+ | padding-left: 30px; | ||
+ | } | ||
+ | .procontent2 p { | ||
+ | font-size: 18px; | ||
+ | padding-left: 30px; | ||
+ | } | ||
+ | .procontent3 p { | ||
+ | font-size: 18px; | ||
+ | padding-left: 30px; | ||
+ | } | ||
+ | .procontent { | ||
+ | height: auto; | ||
+ | width: 1300px; | ||
+ | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .procontent2 { | ||
+ | height: auto; | ||
+ | width: 1300px; | ||
+ | padding-right: 20px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .procontent3 { | ||
+ | height: 400px; | ||
+ | width: 1300px; | ||
+ | padding-right: 20px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .foot { | ||
+ | height: 10px; | ||
+ | } | ||
+ | .foot2 { | ||
+ | height: 30px; | ||
+ | margin-top: 50px; | ||
+ | } | ||
+ | |||
+ | .stitle img { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .sstitle img { | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | .stitle { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .sstitle { | ||
+ | border-bottom-width: medium; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: #641427; | ||
+ | } | ||
+ | .procontent ul li { | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | .procontent ul { | ||
+ | font-size: 18px; | ||
+ | } | ||
+ | .procontent img { | ||
+ | clear: left; | ||
+ | float: left; | ||
+ | } | ||
+ | .procontent2 img { | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | } | ||
+ | .propic { | ||
+ | height: auto; | ||
+ | width: 700px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | display: block; | ||
+ | } | ||
+ | .propic2 { | ||
+ | height: 425px; | ||
+ | width: 1060px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .propic6 { | ||
+ | height: 300px; | ||
+ | width: 805px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .propic3 { | ||
+ | height: 450px; | ||
+ | width: 606px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .propic4 { | ||
+ | height: 330px; | ||
+ | width: 550px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-bottom: 30px; | ||
+ | } | ||
+ | .propic5 { | ||
+ | height: 300px; | ||
+ | width: 850px; | ||
+ | margin-right: auto; | ||
+ | margin-bottom: 30px; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .propic p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .propic2 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .propic3 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .propic4 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .propic5 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | width: 400px; | ||
+ | margin-right: 10px; | ||
+ | margin-top: 70px; | ||
+ | height: 300px; | ||
+ | } | ||
+ | .propic2 .promd { | ||
+ | float: left; | ||
+ | width: 500px; | ||
+ | margin-right: 30px; | ||
+ | margin-bottom: 10px; | ||
+ | } | ||
+ | .propic6 .promd { | ||
+ | float: left; | ||
+ | width: 400px; | ||
+ | margin-right: 30px; | ||
+ | margin-bottom: 10px; | ||
+ | } | ||
+ | .propic2 .promd2 { | ||
+ | float: left; | ||
+ | width: 450px; | ||
+ | margin-right: 30px; | ||
+ | margin-bottom: 30px; | ||
+ | height: 288px; | ||
+ | } | ||
+ | .propic6 .promd2 { | ||
+ | float: left; | ||
+ | width: 342px; | ||
+ | margin-right: 30px; | ||
+ | margin-bottom: 30px; | ||
+ | height: 288px; | ||
+ | } | ||
+ | .propic4 .promd { | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | .procontent .propic2 .promd img { | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | .procontent .propic6 .promd img { | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | .procontent .propic2 .promd2 img { | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | .procontent .propic6 .promd2 img { | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | .procontent .propic4 .promd img { | ||
+ | margin-bottom: 10px; | ||
+ | margin-right: 20px; | ||
+ | } | ||
+ | .procontent img { | ||
+ | margin-right: 20px; | ||
+ | } | ||
+ | .mpic { | ||
+ | height: auto; | ||
+ | width: 1000px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | /*Achievement*/ | ||
+ | .achicontent { | ||
+ | height: auto; | ||
+ | width: 1300px; | ||
+ | padding-left: 20px; | ||
+ | padding-right: 20px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .achicontent p { | ||
+ | font-size: 18px; | ||
+ | text-align: left; | ||
+ | padding-left: 10px; | ||
+ | text-indent: 30px; | ||
+ | } | ||
+ | .achicontent ul li { | ||
+ | list-style-position: inside; | ||
+ | list-style-image: url(https://static.igem.org/mediawiki/2016/c/c4/T--Mingdao--check.png); | ||
+ | line-height: 25px; | ||
+ | } | ||
+ | .colcontent { | ||
+ | padding-left: 30px; | ||
+ | text-indent: 1px; | ||
+ | font-size: 16px; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | height: auto; | ||
+ | } | ||
+ | .colcontent .colpic { | ||
+ | height: 300px; | ||
+ | width: 600px; | ||
+ | text-align: center; | ||
+ | }.colcontent p { | ||
+ | text-indent: 30px; | ||
+ | line-height: 25px; | ||
+ | } | ||
+ | .colcontent { | ||
+ | padding-left: 30px; | ||
+ | text-indent: 1px; | ||
+ | font-size: 16px; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | .colpic { | ||
+ | height: 300px; | ||
+ | width: 600px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 10px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .colpic2 { | ||
+ | height: 250px; | ||
+ | width: 700px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 30px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .colcontent .colpic p { | ||
+ | font-size: 12px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .colcontent .colpic2 p { | ||
+ | font-size: 12px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .colcontent .colpic .md { | ||
+ | width: 300px; | ||
+ | float: left; | ||
+ | } | ||
+ | .colcontent .colmd { | ||
+ | clear: left; | ||
+ | float: left; | ||
+ | width: 300px; | ||
+ | margin-bottom: 30px; | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | .colcontent .colpic2 .md { | ||
+ | width: 300px; | ||
+ | float: left; | ||
+ | margin-right: 50px; | ||
+ | } | ||
+ | .notcontent { | ||
+ | padding-left: 30px; | ||
+ | text-indent: 1px; | ||
+ | font-size: 16px; | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | height: 550px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | width: 1200px; | ||
+ | } | ||
+ | |||
+ | |||
+ | .notcontent .note { | ||
+ | height: 275px; | ||
+ | width: 200px; | ||
+ | float: left; | ||
+ | margin-right: 20px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .protocol { | ||
+ | height: 50px; | ||
+ | width: 1000px; | ||
+ | background-color: #A64200; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-top: 20px; | ||
+ | text-align: center; | ||
+ | font-size: 18px; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | .protocol p{ | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | color: #FFF; | ||
+ | } | ||
+ | .protocol a{ | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | color: #FFF; | ||
+ | } | ||
+ | /*Parts*/ | ||
+ | .part_content .part_pic { | ||
+ | float: left; | ||
+ | margin: 20px; | ||
+ | } | ||
+ | .part_content p { | ||
+ | padding-top: 20px; | ||
+ | } | ||
+ | |||
+ | .stitle img { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .part_content { | ||
+ | height: 350px; | ||
+ | width: 1300px; | ||
+ | margin-bottom: 30px; | ||
+ | } | ||
+ | .part_content2 { | ||
+ | height: auto; | ||
+ | width: 1300px; | ||
+ | margin-bottom: 20px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | |||
+ | .parparpic3 { | ||
+ | height: 420px; | ||
+ | width: 606px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | margin-bottom: 40px; | ||
+ | } | ||
+ | .partpic2 { | ||
+ | height: 380px; | ||
+ | width: 1060px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .partpic2 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .parparpic3 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | } | ||
+ | .part_content .partpic2 .promd img { | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | .part_content .partpic2 .promd2 img { | ||
+ | margin-bottom: 5px; | ||
+ | } | ||
+ | .partpic2 .promd { | ||
+ | float: left; | ||
+ | width: 500px; | ||
+ | margin-right: 30px; | ||
+ | margin-bottom: 10px; | ||
+ | } | ||
+ | .parparpic5 { | ||
+ | height: 300px; | ||
+ | width: 850px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .part_content2 .parparpic5 .promd { | ||
+ | float: left; | ||
+ | height: 300px; | ||
+ | width: 300px; | ||
+ | } | ||
+ | .part_content .parparpic5 .promd { | ||
+ | float: left; | ||
+ | height: 300px; | ||
+ | width: 300px; | ||
+ | } | ||
+ | .part_content2 .parparpic5 p{ | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | width: 300px; | ||
+ | margin-top: 30px; | ||
+ | height: 200px; | ||
+ | margin-right: 100px; | ||
+ | } | ||
+ | .part_content2 .parparpic5 img{ | ||
+ | margin-top: 30px; | ||
+ | margin-left: 30px | ||
+ | height: 200px; | ||
+ | margin-right: 30px; | ||
+ | } | ||
+ | .part_content .parparpic5 img{ | ||
+ | margin-top: 30px; | ||
+ | margin-left: 30px | ||
+ | height: 200px; | ||
+ | margin-right: 30px; | ||
+ | } | ||
+ | .part_content .parparpic5 p { | ||
+ | font-size: 16px; | ||
+ | color: #090; | ||
+ | clear: right; | ||
+ | float: right; | ||
+ | width: 350px; | ||
+ | height: 200px; | ||
+ | margin-right: 100px; | ||
+ | } | ||
+ | |||
+ | .part_content2 .part_content p b { | ||
+ | font-size: 20px; | ||
+ | color: #900; | ||
+ | } | ||
+ | .part_content2 .part_content h2 { | ||
+ | color: #7B0939; | ||
+ | } | ||
+ | .part_content .mid-pic { | ||
+ | width: 600px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | height: 400px; | ||
+ | } | ||
+ | .part_content2 .mid-pic { | ||
+ | width: 600px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .part_content h2 { | ||
+ | color: #7B0939; | ||
+ | } | ||
+ | .part_content p b { | ||
+ | font-size: 18px; | ||
+ | color: #900; | ||
+ | } | ||
+ | .part_content2 table { | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | border-top-width: 3px; | ||
+ | border-left-width: 3px; | ||
+ | border-top-style: solid; | ||
+ | border-left-style: solid; | ||
+ | border-top-color: #641427; | ||
+ | border-left-color: #641427; | ||
+ | } | ||
+ | .part_content2 table tr td { | ||
+ | border-right-width: 3px; | ||
+ | border-bottom-width: 3px; | ||
+ | border-right-style: solid; | ||
+ | border-bottom-style: solid; | ||
+ | border-right-color: #641427; | ||
+ | border-bottom-color: #641427; | ||
+ | padding-top: 3px; | ||
+ | padding-bottom: 3px; | ||
+ | padding-right: 5px; | ||
+ | padding-left: 5px; | ||
+ | } | ||
+ | .part_content2 table tr th { | ||
+ | border-bottom-width: 3px; | ||
+ | border-bottom-style: solid; | ||
+ | border-bottom-color: #641427; | ||
+ | border-right-width: 3px; | ||
+ | border-right-style: solid; | ||
+ | border-right-color: #641427; | ||
+ | } | ||
+ | .team-title { | ||
+ | padding-left: 30px; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | text-align: center; | ||
+ | height: 70px; | ||
+ | } | ||
+ | .team_content { | ||
+ | height: 360px; | ||
+ | width: 1300px; | ||
+ | margin-bottom: 30px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .team_content2 { | ||
+ | height: 720px; | ||
+ | width: 1300px; | ||
+ | margin-bottom: 30px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .team_content2 .twrapper { | ||
+ | width: 1000px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .team_content2 .twrapper2 { | ||
+ | width: 650px; | ||
+ | margin-right: auto; | ||
+ | margin-left: auto; | ||
+ | } | ||
+ | .team_content3 { | ||
+ | height: 275px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .team_content3 .tc-img { | ||
+ | float: left; | ||
+ | margin-right: 20px; | ||
+ | margin-left: 20px; | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | .team_content3 p { | ||
+ | font-size: 14px; | ||
+ | height: 300px; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | .team_content3 h1 { | ||
+ | margin-bottom: -10px; | ||
+ | padding-top: 15px; | ||
+ | } | ||
+ | |||
+ | .person p { | ||
+ | font-family: Verdana, Geneva, sans-serif; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .person { | ||
+ | float: left; | ||
+ | height: 350px; | ||
+ | width: 300px; | ||
+ | margin-left: 20px; | ||
+ | text-align: center; | ||
+ | margin-bottom: 20px; | ||
+ | } | ||
+ | /*LAYOUT */ | ||
+ | .column { | ||
+ | padding: 10px 0px; | ||
+ | float:left; | ||
+ | background-color:white; | ||
+ | } | ||
+ | |||
+ | .full_size { | ||
+ | width:100%; | ||
+ | } | ||
+ | |||
+ | .full_size img { | ||
+ | padding: 10px 15px; | ||
+ | width:96.5%; | ||
+ | } | ||
+ | |||
+ | .half_size { | ||
+ | width: 50%; | ||
+ | } | ||
+ | .half_size img { | ||
+ | padding: 10px 15px; | ||
+ | width: 93%; | ||
+ | } | ||
+ | |||
+ | |||
+ | .clear { | ||
+ | clear:both; | ||
+ | } | ||
+ | |||
+ | .highlight { | ||
+ | width: 90%; | ||
+ | margin: auto; | ||
+ | padding: 15px 5px; | ||
+ | background-color: #f2f2f2; | ||
+ | } | ||
+ | |||
+ | .judges-will-not-evaluate { | ||
+ | border: 4px solid #72c9b6; | ||
+ | display: block; | ||
+ | margin: 5px 15px; | ||
+ | width: 95%; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*STYLING */ | ||
+ | |||
+ | /* styling for the titles */ | ||
+ | .content_wrapper h1, .content_wrapper h2 { | ||
+ | padding:5px 15px; | ||
+ | border-bottom:0px; | ||
+ | color:#72c9b6; | ||
+ | |||
+ | } | ||
+ | .content_wrapper h3, .content_wrapper h4, .content_wrapper h5, .content_wrapper h6 { | ||
+ | padding:5px 15px; | ||
+ | border-bottom:0px; | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* font and text */ | ||
+ | .content_wrapper p { | ||
+ | padding:0px 15px; | ||
+ | font-size: 13px; | ||
+ | font-family:Tahoma, Geneva, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Links */ | ||
+ | .content_wrapper a { | ||
+ | font-weight: bold; | ||
+ | text-decoration: underline; | ||
+ | text-decoration-color:#72c9b6; | ||
+ | color: #72c9b6; | ||
+ | -webkit-transition: all 0.4s ease; | ||
+ | -moz-transition: all 0.4s ease; | ||
+ | -ms-transition: all 0.4s ease; | ||
+ | -o-transition: all 0.4s ease; | ||
+ | transition: all 0.4s ease; | ||
+ | } | ||
+ | |||
+ | /* hover for the links */ | ||
+ | .content_wrapper a:hover { | ||
+ | text-decoration:none; | ||
+ | color:#000000; | ||
+ | } | ||
+ | |||
+ | /* non numbered lists */ | ||
+ | .content_wrapper ul { | ||
+ | padding:0px 20px; | ||
+ | font-size: 13px; | ||
+ | font-family:Tahoma, Geneva, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* numbered lists */ | ||
+ | .content_wrapper ol { | ||
+ | padding:0px; | ||
+ | font-size: 13px; | ||
+ | font-family:Tahoma, Geneva, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Table */ | ||
+ | .content_wrapper table { | ||
+ | width: 97%; | ||
+ | margin:15px 10px; | ||
+ | border: 1px solid #d3d3d3; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | /* table cells */ | ||
+ | .content_wrapper td { | ||
+ | padding: 10px; | ||
+ | vertical-align: text-top; | ||
+ | border: 1px solid #d3d3d3; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | /* table headers */ | ||
+ | .content_wrapper th { | ||
+ | padding: 10px; | ||
+ | vertical-align: text-top; | ||
+ | border: 1px solid #d3d3d3; | ||
+ | border-collapse: collapse; | ||
+ | background-color:#f2f2f2; | ||
+ | } | ||
+ | |||
+ | /* Button class */ | ||
+ | .button_click { | ||
+ | margin: 10px auto; | ||
+ | padding: 15px; width:12%; | ||
+ | text-align:center; | ||
+ | font-weight:bold; | ||
+ | background-color: #72c9b6; | ||
+ | cursor:pointer; | ||
+ | -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; | ||
+ | } | ||
+ | |||
+ | /* button class on hover */ | ||
+ | .button_click:hover { | ||
+ | background-color:#000000; | ||
+ | color:#72c9b6; | ||
+ | } | ||
+ | |||
+ | /********************************* RESPONSIVE STYLING ********************************/ | ||
+ | |||
+ | /* IF THE SCREEN IS LESS THAN 1000PX */ | ||
+ | |||
+ | @media only screen and (max-width: 1000px) { | ||
+ | |||
+ | #content {width:100%; } | ||
+ | .menu_wrapper {width:15%;} | ||
+ | .content_wrapper {margin-left: 15%;} | ||
+ | .menu_item {display:block;} | ||
+ | .icon {display:none;} | ||
+ | .highlight {padding:10px 0px;} | ||
+ | } | ||
+ | |||
+ | |||
+ | /* IF THE SCREEN IS LESS THAN 680PX */ | ||
+ | |||
+ | @media only screen and (max-width: 680px) { | ||
+ | .collapsable_menu_control { display:block;} | ||
+ | .menu_item {display:none;} | ||
+ | .menu_wrapper { width:100%; height: 15%; position:relative;} | ||
+ | .content_wrapper {width:100%; margin-left:0px;} | ||
+ | .column.half_size {width:100%; } | ||
+ | .column img { width: 100%; padding: 5px 0px;} | ||
+ | .icon {display:block;} | ||
+ | .highlight {padding:15px 5px;} | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <!--- THIS IS WHERE THE HTML BEGINS ---> | ||
+ | |||
+ | |||
+ | <!-- This tells the browser that your page is responsive --> | ||
+ | |||
+ | <head> | ||
+ | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
+ | </head> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <div class="content_wrapper"> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <script> | ||
+ | |||
+ | // This is the jquery part of your template. Try not modify any of this code since it makes your menu work. | ||
+ | |||
+ | $(document).ready(function() { | ||
+ | |||
+ | $("#HQ_page").attr('id',''); | ||
+ | |||
+ | |||
+ | if ( wgPageName.substring( 0, 8) == "Template") { // if the page is a template it displays the full name in a single line | ||
+ | $("#team_name").html( wgPageName ); | ||
+ | } | ||
+ | |||
+ | else if ( ( (wgPageName.match(/\//g) || []).length ) == 0 ) { // if it is the home page , just print the team's name | ||
+ | $("#team_name").html( wgPageName.substring( 5, wgPageName.length ) ); | ||
+ | } | ||
+ | |||
+ | else { | ||
+ | // this adds the team's name as an h1 | ||
+ | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); | ||
+ | |||
+ | // this adds the page's title as an h4 | ||
+ | $("#page_name").html ( ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ") ); | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | $('#accordion').find('.menu_item').click(function(){ | ||
+ | |||
+ | //Expand or collapse this panel | ||
+ | submenu = $(this).find('.submenu'); | ||
+ | submenu.toggle(); | ||
+ | |||
+ | icon = $(this).find('.icon'); | ||
+ | |||
+ | if ( !$( submenu ).is(':visible') ) { | ||
+ | icon.removeClass("less").addClass("plus"); | ||
+ | } | ||
+ | else { | ||
+ | icon.removeClass("plus").addClass("less"); | ||
+ | } | ||
+ | |||
+ | //Hide the other panels | ||
+ | $(".submenu").not(submenu).hide(); | ||
+ | $(".icon").not(icon).removeClass("less").addClass("plus"); | ||
+ | }); | ||
+ | |||
+ | |||
+ | $(".collapsable_menu_control").click(function() { | ||
+ | $(".menu_item").toggle(); | ||
+ | }); | ||
+ | |||
+ | $( window ).resize(function() { | ||
+ | $(".menu_item").show(); | ||
+ | }); | ||
+ | |||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | /*subpage script for menu*/ | ||
+ | $(function(){ | ||
+ | // 先取得相關選單元素及高度 | ||
+ | var $menuWrapper = $('#sp-banner'), | ||
+ | $subMenuWwrapper = $menuWrapper.find('.sp-sub-menu-wrapper').add($menuWrapper.find('.sp-sub-menu')), | ||
+ | _height = $subMenuWwrapper.height(), | ||
+ | _animateSpeed = 200; | ||
+ | |||
+ | // 先把 $subMenuWwrapper 的高度歸 0 | ||
+ | // 並把 .sub-menu ul 先往上移動隱藏 | ||
+ | var $subMenu = $subMenuWwrapper.height(0).find('.sp-sub-menu ul').css({ | ||
+ | top: _height * -1 | ||
+ | }); | ||
+ | |||
+ | // 當滑鼠移入到 .main-menu ul li a 上時 | ||
+ | $('.sp-main-menu ul li a').mouseover(function(){ | ||
+ | // 先取出被滑鼠移入的選單 | ||
+ | // 並取得該選單中第一個 span 的文字顏色 | ||
+ | var $this = $(this), | ||
+ | $color = $this.find('span').css('color'), | ||
+ | _no = $this.parent().index(); | ||
+ | |||
+ | // 改變 $subMenuWwrapper 的顏色為 $color 並展開高度 | ||
+ | $subMenuWwrapper.css({ | ||
+ | backgroundColor: $color, | ||
+ | borderTopColor: $color | ||
+ | }).stop().animate({ | ||
+ | height: _height | ||
+ | }, _animateSpeed); | ||
+ | |||
+ | // 移動相對應的子選單 | ||
+ | $subMenu.eq(_no).stop().animate({ | ||
+ | top: 0 | ||
+ | }, _animateSpeed).siblings().stop().animate({ | ||
+ | top: _height * -1 | ||
+ | }, _animateSpeed); | ||
+ | |||
+ | // 讓被滑鼠移入的選單加上指定的效果 | ||
+ | $this.addClass('selected').parent().siblings().find('a.selected').removeClass('selected'); | ||
+ | |||
+ | return false; | ||
+ | }); | ||
+ | |||
+ | // 當滑鼠移出 $menuWrapper 後把 $subMenuWwrapper 的高度歸 0 | ||
+ | $menuWrapper.mouseleave(function(){ | ||
+ | $subMenuWwrapper.stop().animate({ | ||
+ | height: 0 | ||
+ | }, _animateSpeed); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | |||
+ | </script> | ||
+ | |||
+ | |||
+ | </html> | ||
<html> | <html> | ||
Line 105: | Line 1,883: | ||
</head> | </head> | ||
<body> | <body> | ||
− | + | ||
<div class="slideshow-container"> | <div class="slideshow-container"> | ||
Revision as of 05:17, 15 October 2018