Template:UIUC09Temp
From 2009.igem.org
(Difference between revisions)
(26 intermediate revisions not shown) | |||
Line 99: | Line 99: | ||
#menu ul { | #menu ul { | ||
- | |||
list-style:none; | list-style:none; | ||
margin:0; | margin:0; | ||
Line 115: | Line 114: | ||
#menu a.orange { | #menu a.orange { | ||
+ | width:100px; | ||
color:#003C7D; | color:#003C7D; | ||
font-weight:bold; | font-weight:bold; | ||
Line 123: | Line 123: | ||
#menu a.gray { | #menu a.gray { | ||
+ | width:125px; | ||
color:#000; | color:#000; | ||
font-weight:normal; | font-weight:normal; | ||
Line 133: | Line 134: | ||
} | } | ||
- | #menu a:hover { | + | #menu a.orange:hover { |
color:#fff; | color:#fff; | ||
background:url(https://static.igem.org/mediawiki/2009/0/07/UI09orangehover.png); | background:url(https://static.igem.org/mediawiki/2009/0/07/UI09orangehover.png); | ||
+ | } | ||
+ | |||
+ | #menu a.gray:hover { | ||
+ | color:#fff; | ||
+ | background: #003C7D; | ||
} | } | ||
Line 142: | Line 148: | ||
} | } | ||
- | + | /**************** vertical menu coding (from DynamicDrive) *****************/ | |
- | position: | + | .vmenu{ |
- | + | margin: 5px; | |
+ | padding: 0; | ||
+ | width: 135px; /*width of menu*/ | ||
+ | position: relative; | ||
+ | float: left; | ||
} | } | ||
- | + | .vmenu a.menuitem, .vmenu div.submenu ul li a { | |
- | + | height:25px; | |
- | + | display:block; | |
- | + | margin:1px; | |
+ | padding:0px 5px; | ||
} | } | ||
- | + | .vmenu a.menuitem{ | |
- | + | text-transform:uppercase; | |
+ | color:#fff; | ||
+ | font-weight:bold; | ||
+ | font-size:14px; | ||
+ | background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png); | ||
+ | text-decoration:none; | ||
+ | display: block; | ||
+ | position: relative; /*To help in the anchoring of the ".statusicon" icon image*/ | ||
} | } | ||
- | + | ||
- | + | .vmenu a.menuitem:visited, .vmenu .menuitem:active{ | |
+ | color: white; | ||
} | } | ||
- | /* | + | .vmenu a.menuitem .statusicon{ /*CSS for icon image that gets dynamically added to headers*/ |
- | + | position: absolute; | |
- | + | top: 5px; | |
- | + | right: 5px; | |
- | + | border: none; | |
- | + | ||
} | } | ||
- | + | .vmenu a.menuitem:hover{ | |
- | + | color:#fff; | |
- | + | background:url(https://static.igem.org/mediawiki/2009/c/cf/UI09Sidehoverm.png); | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .vmenu div.submenu ul{ /*UL of each sub menu*/ | |
- | + | list-style: none; | |
- | + | margin: 0; | |
- | margin:0; | + | padding: 0; |
- | padding:0; | + | |
} | } | ||
- | + | .vmenu div.submenu ul li a{ | |
- | + | display: block; | |
color:#fff; | color:#fff; | ||
font-weight:bold; | font-weight:bold; | ||
- | font-size: | + | font-size:12px; |
- | background:url(https://static.igem.org/mediawiki/2009/ | + | background:url(https://static.igem.org/mediawiki/2009/1/18/UI09Sidethird.png); |
text-decoration:none; | text-decoration:none; | ||
} | } | ||
- | + | .vmenu div.submenu ul li a:hover{ | |
- | + | ||
color:#fff; | color:#fff; | ||
- | + | background:#003C7D; | |
- | + | ||
- | background: | + | |
- | + | ||
} | } | ||
- | # | + | /**************** Navigation Buttons (for Project and Experiments pages) *****************/ |
- | + | #nav { | |
- | + | width: 770px; | |
- | + | height: 160px; | |
- | + | margin: 5px; | |
- | + | padding: 0px; | |
} | } | ||
- | # | + | #nav a { |
- | color:# | + | display: inline-block; |
- | + | list-style:none; | |
+ | width: 175px; | ||
+ | height: 150px; | ||
+ | margin: 5px 37px; | ||
+ | border: none; | ||
+ | color: #f00; | ||
+ | font-size: 16px; | ||
+ | font-weight: bold; | ||
+ | text-transform: uppercase; | ||
+ | text-align: center; | ||
} | } | ||
- | # | + | #nav a.intro { |
- | + | background: url(https://static.igem.org/mediawiki/2009/6/64/UI09Intropic.png); | |
- | background: | + | |
} | } | ||
- | # | + | #nav a.intro:hover { |
- | + | background: url(https://static.igem.org/mediawiki/2009/c/c5/UI09Introhover.png); | |
} | } | ||
- | + | #nav a.research { | |
- | + | background: url(https://static.igem.org/mediawiki/2009/c/cb/UI09Researchpic.png); | |
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
} | } | ||
- | # | + | #nav a.research:hover { |
- | + | background: url(https://static.igem.org/mediawiki/2009/a/a3/UI09Researchhover.png); | |
- | + | ||
} | } | ||
- | + | #nav a.modeling { | |
- | + | background: url(https://static.igem.org/mediawiki/2009/a/a7/UI09Modelingpic.png); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #nav a.modeling:hover { |
- | + | background: url(https://static.igem.org/mediawiki/2009/0/06/UI09Modelinghover.png); | |
} | } | ||
- | # | + | #nav a.protocols { |
- | + | background: url(https://static.igem.org/mediawiki/2009/f/f1/UI09Protocolsbutton.png); | |
} | } | ||
- | + | #nav a.protocols:hover { | |
- | + | background: url(https://static.igem.org/mediawiki/2009/f/f0/UI09Protocolshover.png); | |
} | } | ||
- | # | + | #nav a.vectors { |
- | + | background: url(https://static.igem.org/mediawiki/2009/7/7c/UI09Vectorsbutton.png); | |
- | + | ||
} | } | ||
- | # | + | #nav a.vectors:hover { |
- | + | background: url(https://static.igem.org/mediawiki/2009/f/f5/UI09Vectorshover.png); | |
} | } | ||
+ | |||
+ | #nav a.results { | ||
+ | width: 600px; | ||
+ | height: 35px; | ||
+ | background:#003C7D | ||
+ | } | ||
+ | |||
+ | #nav a.results:hover { | ||
+ | background:#6e8bbf; | ||
} | } | ||
</style> | </style> | ||
- | |||
</html> | </html> |
Latest revision as of 03:55, 22 October 2009