Team:NYU Gallatin/Templates/Styles
From 2012.igem.org
(Difference between revisions)
(Updates to styling) |
|||
(12 intermediate revisions not shown) | |||
Line 225: | Line 225: | ||
a:focus { | a:focus { | ||
text-decoration: underline; | text-decoration: underline; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
tr.odd { | tr.odd { | ||
- | background-color: # | + | background-color: #e8e9dc; |
} | } | ||
img { | img { | ||
outline: 0; | outline: 0; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
/* ------------------ Fonts ------------------ */ | /* ------------------ Fonts ------------------ */ | ||
Line 264: | Line 237: | ||
#header, | #header, | ||
#footer-wrapper, | #footer-wrapper, | ||
- | |||
ul.contextual-links, | ul.contextual-links, | ||
ul.links, | ul.links, | ||
Line 290: | Line 262: | ||
border: 0; | border: 0; | ||
border-spacing: 0; | border-spacing: 0; | ||
- | font-size: 0. | + | font-size: 0.7em; |
margin: 10px 0; | margin: 10px 0; | ||
width: 100%; | width: 100%; | ||
+ | border: solid #909268 1px; | ||
+ | border-right: none; | ||
+ | border-top: none; | ||
} | } | ||
table table { | table table { | ||
Line 301: | Line 276: | ||
} | } | ||
table tr th { | table tr th { | ||
- | background: # | + | background: #53561d; |
- | + | color: #fff; | |
border-bottom-style: none; | border-bottom-style: none; | ||
} | } | ||
Line 310: | Line 285: | ||
color: #FFF; | color: #FFF; | ||
font-weight: bold; | font-weight: bold; | ||
+ | font-size: 0.9em; | ||
} | } | ||
table tbody tr th { | table tbody tr th { | ||
Line 317: | Line 293: | ||
tr th { | tr th { | ||
padding: 4px 9px; | padding: 4px 9px; | ||
- | border: | + | border: solid #909268 1px; |
+ | border-left: none; | ||
+ | border-bottom: none; | ||
text-align: left; /* LTR */ | text-align: left; /* LTR */ | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | |||
+ | tr td.last, | ||
+ | tr th { | ||
+ | |||
} | } | ||
#footer-wrapper tr td, | #footer-wrapper tr td, | ||
Line 821: | Line 805: | ||
#main-menu { | #main-menu { | ||
- | + | height: 80px; | |
- | + | overflow: hidden; | |
- | + | padding: 0; | |
- | + | text-align: center; | |
- | + | width: 970px; | |
- | + | z-index: 9999; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
#main-menu-links { | #main-menu-links { | ||
Line 836: | Line 816: | ||
} | } | ||
#main-menu-links li { | #main-menu-links li { | ||
- | display: block | + | display: inline-block; |
- | + | ||
list-style: none; | list-style: none; | ||
padding: 0; | padding: 0; | ||
Line 874: | Line 853: | ||
} | } | ||
#main-menu-links a:hover, | #main-menu-links a:hover, | ||
- | #main-menu-links a:focus { | + | #main-menu-links a:focus, |
+ | #main-menu-links a.active { | ||
opacity:1.0; | opacity:1.0; | ||
filter:alpha(opacity=100); /* For IE8 and earlier */ | filter:alpha(opacity=100); /* For IE8 and earlier */ | ||
Line 897: | Line 877: | ||
/* Team */ | /* Team */ | ||
#main-menu-links li.menu-388 a { | #main-menu-links li.menu-388 a { | ||
- | background: url('https://static.igem.org/mediawiki/2012/ | + | background: url('https://static.igem.org/mediawiki/2012/7/73/Aseatobacter-NAV-Team.png') left center no-repeat; |
} | } | ||
/* Project */ | /* Project */ | ||
#main-menu-links li.menu-307 a { | #main-menu-links li.menu-307 a { | ||
- | background: url('https://static.igem.org/mediawiki/2012/ | + | background: url('https://static.igem.org/mediawiki/2012/d/d2/Aseatobacter-NAV-Project.png') left center no-repeat; |
} | } | ||
/* Parts */ | /* Parts */ | ||
Line 912: | Line 892: | ||
} | } | ||
/* Notebook */ | /* Notebook */ | ||
- | #main-menu-links li.menu- | + | #main-menu-links li.menu-584 a { |
background: url('https://static.igem.org/mediawiki/2012/e/e8/Aseatobacter-NAV-Notebook.png') left center no-repeat; | background: url('https://static.igem.org/mediawiki/2012/e/e8/Aseatobacter-NAV-Notebook.png') left center no-repeat; | ||
} | } | ||
Line 921: | Line 901: | ||
/* Attributions */ | /* Attributions */ | ||
#main-menu-links li.menu-313 a { | #main-menu-links li.menu-313 a { | ||
- | background: url('https://static.igem.org/mediawiki/2012/ | + | background: url('https://static.igem.org/mediawiki/2012/c/c9/Aseatobacter-NAV-Attributions.png') left center no-repeat; |
} | } | ||
/* Profile */ | /* Profile */ | ||
Line 1,038: | Line 1,018: | ||
border-bottom: 1px solid #ffffff; | border-bottom: 1px solid #ffffff; | ||
} | } | ||
- | a { | + | a, a:visited, a:active { |
color: #C4C487; | color: #C4C487; | ||
} | } | ||
Line 1,200: | Line 1,180: | ||
#flickr-images li img { | #flickr-images li img { | ||
border: solid black 1px; | border: solid black 1px; | ||
+ | } | ||
+ | |||
+ | table a:link, table a:visited, table a:active { | ||
+ | color: black; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | table a:hover { | ||
+ | color: black; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | ul li { | ||
+ | list-style-image: none; | ||
+ | list-style-type: square; | ||
+ | } | ||
+ | |||
+ | ul li ul li { | ||
+ | list-style-image: none; | ||
+ | list-style-type: circle; | ||
+ | } | ||
+ | |||
+ | img.border { | ||
+ | border: solid black 1px; | ||
+ | } | ||
+ | |||
+ | #blog { | ||
+ | font-size: 0.9em; | ||
} | } | ||
</style></nowiki> | </style></nowiki> | ||
</head> | </head> | ||
</html> | </html> |
Latest revision as of 02:48, 4 October 2012