Template:UIUC09Temp
From 2009.igem.org
(Difference between revisions)
(13 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 | + | #menu a.gray:hover { |
- | + | color:#fff; | |
+ | background: #003C7D; | ||
} | } | ||
- | #menu | + | #menu li { |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
position:relative; | position:relative; | ||
- | |||
} | } | ||
- | + | /**************** vertical menu coding (from DynamicDrive) *****************/ | |
- | + | .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; | height:25px; | ||
display:block; | display:block; | ||
- | margin: | + | margin:1px; |
- | padding: | + | padding:0px 5px; |
} | } | ||
- | + | .vmenu a.menuitem{ | |
text-transform:uppercase; | text-transform:uppercase; | ||
color:#fff; | color:#fff; | ||
Line 191: | Line 171: | ||
background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png); | background:url(https://static.igem.org/mediawiki/2009/b/b5/UI09Sidemain.png); | ||
text-decoration:none; | 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; | color:#fff; | ||
- | + | background:url(https://static.igem.org/mediawiki/2009/c/cf/UI09Sidehoverm.png); | |
- | + | ||
- | background:url(https://static.igem.org/mediawiki/2009/ | + | |
- | + | ||
} | } | ||
- | + | .vmenu div.submenu ul{ /*UL of each sub menu*/ | |
+ | list-style: none; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | .vmenu div.submenu ul li a{ | ||
+ | display: block; | ||
color:#fff; | color:#fff; | ||
font-weight:bold; | font-weight:bold; | ||
Line 210: | Line 207: | ||
} | } | ||
- | + | .vmenu div.submenu ul li a:hover{ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
color:#fff; | color:#fff; | ||
background:#003C7D; | background:#003C7D; | ||
} | } | ||
- | + | /**************** Navigation Buttons (for Project and Experiments pages) *****************/ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
#nav { | #nav { | ||
width: 770px; | width: 770px; | ||
Line 263: | Line 239: | ||
#nav a.intro:hover { | #nav a.intro:hover { | ||
- | |||
background: url(https://static.igem.org/mediawiki/2009/c/c5/UI09Introhover.png); | background: url(https://static.igem.org/mediawiki/2009/c/c5/UI09Introhover.png); | ||
} | } | ||
Line 272: | Line 247: | ||
#nav a.research:hover { | #nav a.research:hover { | ||
- | |||
background: url(https://static.igem.org/mediawiki/2009/a/a3/UI09Researchhover.png); | background: url(https://static.igem.org/mediawiki/2009/a/a3/UI09Researchhover.png); | ||
} | } | ||
Line 281: | Line 255: | ||
#nav a.modeling:hover { | #nav a.modeling:hover { | ||
- | |||
background: url(https://static.igem.org/mediawiki/2009/0/06/UI09Modelinghover.png); | 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