Template:SUSTC/3
From 2012.igem.org
(Difference between revisions)
(Created page with "{{Template:SUSTC/1}} {{Template:SUSTC/2}} {|align="justify" <html> <head> <style> body { background-image:url(https://static.igem.org/mediawiki/2012/6/69/SUSTC_SHENZHEN_A_Backgroun...") |
|||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
<html> | <html> | ||
<head> | <head> | ||
- | <style> | + | <style type="text/css"> |
- | + | <!--我们需要先把igem原网站的一些东西删掉--> | |
+ | |||
+ | <!--删除完毕--> | ||
+ | |||
+ | #sustc_wrapper | ||
{ | { | ||
- | + | width:100%; | |
- | + | margin:0 auto; | |
} | } | ||
+ | |||
+ | #sustc_header | ||
+ | { | ||
+ | height:440px; | ||
+ | |||
+ | border-width:2px; | ||
+ | border-color: #F6C739 ; | ||
+ | border-style:solid none solid none; | ||
+ | <!-- background-color:red;--> | ||
+ | } | ||
+ | #sustc_menu | ||
+ | { | ||
+ | height:35px; | ||
+ | width:920px; | ||
+ | margin-left:20px; | ||
+ | color:blue; | ||
+ | display:block; | ||
+ | <!-- background-color:yellow;--> | ||
+ | border-radius: 7px; | ||
+ | } | ||
+ | |||
+ | #sustc_menu li | ||
+ | { | ||
+ | list-style:none; | ||
+ | float:left; | ||
+ | display:block; | ||
+ | margin-left:10px; | ||
+ | <!-- background-color:green;--> | ||
+ | height:35px; | ||
+ | width:130px; | ||
+ | border-radius:7px; | ||
+ | text-align:center; | ||
+ | |||
+ | } | ||
+ | .mainMenuBtn | ||
+ | { | ||
+ | padding-left:10px; | ||
+ | |||
+ | } | ||
+ | #sustc_menu a | ||
+ | { | ||
+ | padding-top:10px; | ||
+ | padding-left:10px; | ||
+ | } | ||
+ | #sustc_menu li:hover | ||
+ | { | ||
+ | <!-- background-color:red--> | ||
+ | border-radius: 7px; | ||
+ | text-decoration; | ||
+ | background-color:#F6C739; | ||
+ | } | ||
+ | |||
+ | |||
+ | #sustc_menu a | ||
+ | { | ||
+ | margin:0; | ||
+ | padding-bottom:10px; | ||
+ | display:block; | ||
+ | } | ||
+ | #sust_menu a:hover | ||
+ | { | ||
+ | background-color:#F6C739 | ||
+ | } | ||
+ | |||
+ | #sustc_menu li li | ||
+ | { | ||
+ | margin-left:0px; | ||
+ | float:none; | ||
+ | text-align:left; | ||
+ | padding-left:10px; | ||
+ | padding-top:5px; | ||
+ | width:130px; | ||
+ | <!-- background-color:black;--> | ||
+ | } | ||
+ | #sustc_menu li ul { /* second-level lists */ | ||
+ | position: absolute; | ||
+ | width: 140px; | ||
+ | margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */ | ||
+ | margin-top:2.2em; | ||
+ | border-width:1px; | ||
+ | border-color: #C3D46A ; | ||
+ | border-style:solid; | ||
+ | border-radius: 7px; | ||
+ | } | ||
+ | #sustc_menu li:hover ul | ||
+ | { | ||
+ | margin-left: 0px; | ||
+ | margin-top:0; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* --------------------------[ The below is just for non-javscript users ]--------------------------*/ | ||
+ | #nav li li{ float:none; } | ||
+ | |||
+ | #nav li li a{ /* Just submenu links*/ | ||
+ | position:relative; | ||
+ | float:none; | ||
+ | } | ||
+ | |||
+ | #nav li ul { /* second-level lists */ | ||
+ | position: absolute; | ||
+ | width: 10em; | ||
+ | margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */ | ||
+ | margin-top:2.2em; | ||
+ | } | ||
+ | |||
+ | /* third-and-above-level lists */ | ||
+ | #nav li ul ul { margin: -1em 0 0 -1000em; } | ||
+ | #nav li:hover ul ul { margin-left: -1000em; } | ||
+ | |||
+ | /* lists nested under hovered list items */ | ||
+ | #nav li:hover ul{ margin-left: 0; } | ||
+ | #nav li li:hover ul { margin-left: 10em; margin-top:-2.5em;} | ||
+ | |||
+ | /* extra positioning rules for limited noscript keyboard accessibility */ | ||
+ | #nav li a:focus + ul { margin-left: 0; margin-top:2.2em; } | ||
+ | #nav li li a:focus + ul { left:0; margin-left: 1010em; margin-top:-2.2em;} | ||
+ | #nav li li a:focus {left:0; margin-left:1000em; width:10em; margin-top:0;} | ||
+ | #nav li li li a:focus {left:0; margin-left: 2010em; width: 10em; margin-top:-1em;} | ||
+ | #nav li:hover a:focus{ margin-left: 0; } | ||
+ | #nav li li:hover a:focus + ul { margin-left: 10em; } | ||
+ | |||
+ | |||
+ | /* --------------------------[ The above is just for non-javscript users ]--------------------------*/ | ||
+ | |||
+ | |||
</style> | </style> | ||
+ | <script type="text/javascript"> | ||
+ | function mainMenuBtnMouseOver() | ||
+ | { | ||
+ | document.image1.src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"; | ||
+ | } | ||
+ | function mainMenuBtnMouseOut() | ||
+ | { | ||
+ | document.image1.src="https://static.igem.org/mediawiki/2012/0/02/Arrow_down_over.gif"; | ||
+ | } | ||
+ | </script> | ||
</head> | </head> | ||
<body> | <body> | ||
+ | <div id="sustc_wrapper"> | ||
+ | <div id="sustc_header"> | ||
+ | <div id="sustc_menu"> | ||
+ | |||
+ | <ul> | ||
+ | <li><a href="https://2012.igem.org/Team:SUSTC-Shenzhen-A">Home<img class="mainMenuBtn" src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"></img> | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> sdfaf</li> | ||
+ | <li> sdfaf</li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <ul> | ||
+ | <li><a href="https://2012.igem.org/Team:SUSTC-Shenzhen-A/Team">Team<img class="mainMenuBtn" src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"> | ||
+ | </img></a> | ||
+ | <ul> <li> sdfaf</li> </ul> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
+ | <ul> | ||
+ | <li><a href="https://2012.igem.org/Team:SUSTC-Shenzhen-A/Project">Project<img class="mainMenuBtn" src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"> | ||
+ | </img></a> | ||
+ | <ul> <li> sdfaf</li> </ul> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
+ | <ul> | ||
+ | <li><a href="https://2012.igem.org/Team:SUSTC-Shenzhen-A/Notebook">Notebook<img class="mainMenuBtn" | ||
+ | src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"></img></a> | ||
+ | <ul> <li> sdfaf</li> </ul> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
+ | <ul> | ||
+ | <li><a href="https://2012.igem.org/Team:SUSTC-Shenzhen-A/Safety">Safety<img class="mainMenuBtn" src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"> | ||
+ | </img></a> | ||
+ | <ul> <li> sdfaf</li> </ul> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
+ | <ul> | ||
+ | <li><a href="https://2012.igem.org/Team:SUSTC-Shenzhen-A/Contribution">Contribution<img class="mainMenuBtn" | ||
+ | src="https://static.igem.org/mediawiki/2012/0/0f/Arrow_down.gif"></img></a> | ||
+ | <ul> <li> sdfaf</li> </ul> | ||
+ | |||
+ | </li> | ||
+ | </ul> | ||
- | |||
- | |||
- | + | ||
- | + | </div> | |
- | |||
- | |||
+ | </div> <!--end of header--> | ||
+ | </div> <!--end of wrapper--> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | < | + | </body> |
+ | </html> |
Revision as of 07:59, 1 August 2012