Line 222: | Line 222: | ||
.igem_2017_content_wrapper { | .igem_2017_content_wrapper { | ||
width: 81%; | width: 81%; | ||
− | margin: | + | margin: 2%; |
display:block; | display:block; | ||
float:left; | float:left; | ||
Line 454: | Line 454: | ||
<head> | <head> | ||
+ | <style> | ||
+ | #home_logo, #sideMenu { display:none; } | ||
+ | #sideMenu, #top_title, .patrollink {display:none;} | ||
+ | #content { width:100%; padding:0px; margin-top:-7px; margin-left:0px;} | ||
+ | body {background-color:white; } | ||
+ | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }} | ||
+ | body{ | ||
+ | margin:0; | ||
+ | } | ||
+ | .TCFSH_Taiwan{ | ||
+ | left:15px; | ||
+ | position:relative; | ||
+ | top:3px; | ||
+ | bottom:3px; | ||
+ | } | ||
+ | .main-container{ | ||
+ | background:rgb(230, 236, 255); | ||
+ | position:fixed; | ||
+ | width:100vw; | ||
+ | height:auto; | ||
+ | z-index:999; | ||
+ | } | ||
− | |||
− | |||
+ | .dropbtn{ | ||
+ | margin-top:5px; | ||
+ | } | ||
+ | .dropdown:hover .dropdown-content{ | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .dropbtn span:after{ | ||
+ | width: 0; | ||
+ | height: 0; | ||
+ | border: 0.313em solid transparent; | ||
+ | border-bottom: none; | ||
+ | border-top-color:black; | ||
+ | content: ''; | ||
+ | vertical-align: middle; | ||
+ | display: inline-block; | ||
+ | position: relative; | ||
+ | right: -0.313em; /* 5 */ | ||
+ | text-decoration:none !important; | ||
+ | list-style-type:none !important; | ||
+ | } | ||
+ | |||
+ | .dropdown{ | ||
+ | float:left; | ||
+ | text-decoration:none !important; | ||
+ | list-style-type:none !important; | ||
+ | } | ||
+ | ul>.dropdown>a{ | ||
+ | color:black !important; | ||
+ | list-style-type:none !important; | ||
+ | text-decoration:none !important; | ||
+ | text-align:left; | ||
+ | } | ||
+ | li .dropdown{ | ||
+ | display: inline-block; | ||
+ | } | ||
+ | |||
+ | .dropdown a, .dropbtn { | ||
+ | display: inline-block; | ||
+ | text-align: center; | ||
+ | text-color: black; | ||
+ | padding-right: 10px; | ||
+ | margin-right: 10px; | ||
+ | text-decoration: none !important; | ||
+ | } | ||
+ | .main-menu{ | ||
+ | position:relative; | ||
+ | list-style-type: none !important; | ||
+ | margin-right:1px; | ||
+ | display:block; | ||
+ | float:right !important; | ||
+ | font-weight:400 !important; | ||
+ | font-size:20px; | ||
+ | font-family:"Open Sans",serif,sans-serif; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*下拉式menu*/ | ||
+ | |||
+ | .dropdown a:hover, .dropdown:hover .dropbtn{ | ||
+ | color:red !important; | ||
+ | } | ||
+ | |||
+ | |||
+ | .dropdown-content{ | ||
+ | display:none; | ||
+ | background: rgb(157, 136, 210); | ||
+ | position:absolute; | ||
+ | width:auto !important; | ||
+ | |||
+ | } | ||
+ | .dropdown-content a{ | ||
+ | color: black; | ||
+ | padding:15px; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | text-align:left !important; | ||
+ | size:1em; | ||
+ | } | ||
+ | |||
+ | |||
+ | .dropdown-content a:hover{ | ||
+ | color: red; | ||
+ | } | ||
+ | |||
+ | </style> | ||
</head> | </head> | ||
+ | |||
+ | |||
Line 743: | Line 853: | ||
</div> | </div> | ||
+ | |||
Revision as of 12:24, 20 July 2017