Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<html> | <html> | ||
<head> | <head> | ||
Line 78: | Line 73: | ||
float: left; | float: left; | ||
} | } | ||
+ | |||
+ | |||
/****************************** About Menu ************************************/ | /****************************** About Menu ************************************/ | ||
#menu_list_division{ | #menu_list_division{ | ||
Line 86: | Line 83: | ||
margin-bottom: 40px; | margin-bottom: 40px; | ||
} | } | ||
− | + | #menu_list_divison ul.menu_list_class{ | |
*zoom: 1; | *zoom: 1; | ||
list-style: none; | list-style: none; | ||
Line 135: | Line 132: | ||
} | } | ||
.menu_list_class li:hover ul li{ | .menu_list_class li:hover ul li{ | ||
+ | overflow: visible; | ||
height: 48px; | height: 48px; | ||
+ | // background: #583612; | ||
} | } | ||
#menu_list_division ul.drop_menu{ | #menu_list_division ul.drop_menu{ | ||
− | |||
position: absolute; | position: absolute; | ||
+ | list-style: none; | ||
+ | width: 200%; | ||
+ | // left: -100%; | ||
+ | left: -50%; | ||
+ | z-index: 9999; | ||
+ | // top: 95%; | ||
top: 100%; | top: 100%; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
− | + | .drop_menu li{ | |
− | + | display: block; | |
− | + | width: 100%; | |
− | + | overflow: hidden; | |
− | + | height: 0px; | |
− | + | transition: .5s; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
− | + | .drop_menu li a{ | |
− | + | display: block; | |
− | + | box-sizing: border-box; | |
− | + | ||
− | + | ||
− | + | ||
margin: 0; | margin: 0; | ||
− | padding: 0; | + | width: 100%; |
+ | padding: 5px 15px; | ||
+ | // padding: 0 15px; | ||
+ | height: 48px; | ||
+ | border-top: 1px solid #583612; | ||
+ | text-align: left; | ||
} | } | ||
− | + | .drop_menu li:hover > a{ | |
− | + | // background: #0d4f78; | |
− | + | ||
} | } | ||
− | # | + | .drop_menu li a:hover{ |
− | + | background: #583612; | |
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | .drop_menu li:hover ul li{ | ||
+ | overflow: visible; | ||
+ | height: 48px; | ||
+ | // background: #186b91; | ||
+ | } | ||
+ | #menu_list_division ul.second_level_menu{ | ||
+ | list-style: none; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | /* top: -8%; // for igem page */ | ||
+ | left: 100%; | ||
+ | /* left: 90%; // for igem page */ | ||
+ | right: 80%; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
+ | // background: #0d4f78; | ||
+ | -webkit-transition: all .5s ease; | ||
+ | transition: all .5s ease; | ||
} | } | ||
− | + | .second_level_menu li{ | |
− | + | display: inline-block; | |
− | + | position: relative; | |
− | + | transition: .2s; | |
− | + | ||
− | + | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
+ | .second_level_menu li a{ | ||
+ | display: inline-block; | ||
+ | box-sizing: border-box; | ||
+ | // width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 5px 15px; | ||
+ | height: 48px; | ||
+ | border-top: 1px solid #583612; | ||
+ | // background: #0d4f78; | ||
+ | text-align: left; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | .menu_list_class li:hover ul li ul{ | ||
+ | overflow: hidden; | ||
+ | width: 0%; | ||
+ | } | ||
+ | .menu_list_class li ul li:hover ul{ | ||
+ | overflow: visible; | ||
+ | width: 100%; | ||
+ | } | ||
+ | .menu_list_class li ul li:hover ul li{ | ||
+ | overflow: visible; | ||
+ | width: 100%; | ||
+ | height: 48px; | ||
+ | // background: #186b91; | ||
+ | } | ||
+ | ul#experiment_list{ | ||
+ | width: 200%; | ||
+ | left: -100%; | ||
+ | } | ||
+ | #menu_list_division ul#promoter_list{ | ||
+ | position: absolute; | ||
+ | top: -100%; | ||
+ | } | ||
+ | |||
+ | /********************************* For smart phone ***********************************/ | ||
+ | /* | ||
+ | @media screen and (max-width: 360px){ | ||
+ | #menu_list_division{ | ||
+ | //overflow: hidden; | ||
+ | width: 300px; | ||
+ | height: 350px; | ||
+ | margin: 0 auto; | ||
+ | } | ||
+ | .menu_list_class{ | ||
+ | list-style: none; | ||
+ | width: 108px; | ||
+ | } | ||
+ | .menu_list_class li{ | ||
+ | display: inline; | ||
+ | position: relative; | ||
+ | width: 108px; | ||
+ | height: 40px; | ||
+ | both: clear; | ||
+ | } | ||
+ | .menu_list_class > li{ | ||
+ | border-bottom: 1px solid #052d5d; | ||
+ | } | ||
+ | .menu li:last-child{ | ||
+ | border-bottom: none; | ||
+ | } | ||
+ | .drop_menu > li{ | ||
+ | border-bottom: 1px solid #052d5d; | ||
+ | } | ||
+ | .drop_menu > li:last-child{ | ||
+ | border-bottom: none; | ||
+ | } | ||
+ | menu_list_class li a{ | ||
+ | display: block; | ||
+ | width: 100px; | ||
+ | height: 40px; | ||
+ | color: #ffffff; | ||
+ | font-size: 12px; | ||
+ | padding-left: 5px; | ||
+ | background: #0d4f78; | ||
+ | } | ||
+ | menu_list li a:hover{ | ||
+ | background: #186b91; | ||
+ | } | ||
+ | menu_list_class > li:hover > a{ | ||
+ | background: #186b91; | ||
+ | } | ||
+ | meun_list_class > li:hover li:hover> a{ | ||
+ | background: #186b91; | ||
+ | } | ||
+ | .drop_menu > li{ | ||
+ | overflow: visible; | ||
+ | top: -40px; | ||
+ | left: 108px; | ||
+ | height: 40px; | ||
+ | } | ||
+ | .drop_menu li{ | ||
+ | overflow: hidden; | ||
+ | height: 0; | ||
+ | left: 108px; | ||
+ | } | ||
+ | .drop_menu li a{ | ||
+ | background: #0d4f78; | ||
+ | } | ||
+ | } | ||
+ | */ | ||
+ | |||
+ | body { | ||
+ | /* 画像ファイルの指定 */ | ||
+ | background-image: url(https://static.igem.org/mediawiki/2016/8/83/Tokyo_Tech_Background.png); | ||
+ | |||
+ | /* 画像を常に天地左右の中央に配置 */ | ||
+ | background-position: center center; | ||
+ | |||
+ | /* 画像をタイル状に繰り返し表示しない */ | ||
+ | background-repeat: no-repeat; | ||
+ | |||
+ | /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */ | ||
+ | background-attachment: fixed; | ||
+ | |||
+ | /* 表示するコンテナの大きさに基づいて、背景画像を調整 */ | ||
+ | background-size: cover; | ||
+ | |||
+ | /* 背景画像が読み込まれる前に表示される背景のカラー */ | ||
+ | background-color: #464646; | ||
+ | } | ||
+ | |||
--></style> | --></style> | ||
</head> | </head> | ||
Line 199: | Line 339: | ||
<div class="clear"></div><!-- /clear --> | <div class="clear"></div><!-- /clear --> | ||
<div id="menu_list_division"> | <div id="menu_list_division"> | ||
− | <ul id=" | + | <ul id="menu_list1" class="menu_list_class"> |
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Project">Project</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Project">Project</a></li> | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Medal">Achievements</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Medal">Achievements</a></li> | ||
− | <li><a href="javascript:void(0); | + | <li><a href="javascript:void(0);">Experiment</a> |
<ul id="experiment_list" class="drop_menu"> | <ul id="experiment_list" class="drop_menu"> | ||
<li><a>1. Toxin Assay</a> | <li><a>1. Toxin Assay</a> | ||
Line 221: | Line 361: | ||
</li> | </li> | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/AmiE_Assay">3. AmiE Assay</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/AmiE_Assay">3. AmiE Assay</a></li> | ||
− | <li><a style="font-size: 14px;">4. Temperature Dependent Promoter Assay</a> | + | <li><a style="font-size: 14px; height: 60px;">4. Temperature Dependent Promoter Assay</a> |
− | <ul id="promoter_list" class="second_level_menu | + | <ul id="promoter_list" class="second_level_menu assay_men"> |
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Promoter_Assay/Pcold">4.1. Pcold</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Promoter_Assay/Pcold">4.1. Pcold</a></li> | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Promoter_Assay/Pheat">4.2. Pheat</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Promoter_Assay/Pheat">4.2. Pheat</a></li> | ||
Line 230: | Line 370: | ||
</li> | </li> | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Model">Model</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Model">Model</a></li> | ||
− | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Human_Practices | + | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Human_Practices">Human Practices</a> |
<ul id="human_practices_list" class="drop_menu"> | <ul id="human_practices_list" class="drop_menu"> | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Human_Practices#overview">Human Practices Overview</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Human_Practices#overview">Human Practices Overview</a></li> | ||
Line 238: | Line 378: | ||
</ul><!-- /human_practices_list --> | </ul><!-- /human_practices_list --> | ||
</li> | </li> | ||
− | <li><a href=" | + | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Parts">Parts</a> |
<ul id="parts_list" class="drop_menu"> | <ul id="parts_list" class="drop_menu"> | ||
− | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/ | + | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Parts_Overview">Overview</a></li> |
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Basic_Part">Basic Parts</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Basic_Part">Basic Parts</a></li> | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Composite_Part">Composite Parts</a></li> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Composite_Part">Composite Parts</a></li> | ||
Line 247: | Line 387: | ||
<li><a href="https://2016.igem.org/Team:Tokyo_Tech/Collaborations">Collaborations</a> | <li><a href="https://2016.igem.org/Team:Tokyo_Tech/Collaborations">Collaborations</a> | ||
</li> | </li> | ||
− | <li><a href="javascript:void(0); | + | <li><a href="javascript:void(0);">About us</a> |
− | <ul id=" | + | <ul id="about_ts_list" class="drop_menu"> |
<li class="drop_list"><a href="https://2016.igem.org/Team:Tokyo_Tech/Description">Description</a></li> | <li class="drop_list"><a href="https://2016.igem.org/Team:Tokyo_Tech/Description">Description</a></li> | ||
<li class="drop_list"><a href="https://2016.igem.org/Team:Tokyo_Tech/Team">Team</a></li> | <li class="drop_list"><a href="https://2016.igem.org/Team:Tokyo_Tech/Team">Team</a></li> | ||
Line 259: | Line 399: | ||
</ul><!-- /menu_list --> | </ul><!-- /menu_list --> | ||
</div><!-- /menu_list_division --> | </div><!-- /menu_list_division --> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</body> | </body> | ||
</html> | </html> | ||
{{Team:Tokyo_Tech/template2016}} | {{Team:Tokyo_Tech/template2016}} |
Revision as of 02:31, 19 October 2016