Team:DTU-Denmark/labresultsCSS.css
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
|||
(79 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
+ | :target { | ||
+ | padding-top: 40px; | ||
+ | } | ||
+ | |||
ul#labline { | ul#labline { | ||
width:1000px; | width:1000px; | ||
- | height: | + | height:250px; |
- | top: | + | top:35px; |
list-style: none; | list-style: none; | ||
position: relative; | position: relative; | ||
z-index:0; | z-index:0; | ||
text-align: center; | text-align: center; | ||
- | background: url('https://static.igem.org/mediawiki/2014/3/3d/DTU-Denmark-labresultsbar.png'); | + | <!==background: url('https://static.igem.org/mediawiki/2014/3/3d/DTU-Denmark-labresultsbar.png');--> |
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: 100%; | background-size: 100%; | ||
- | display: | + | display: block; |
} | } | ||
#labline li { | #labline li { | ||
height: 81px; | height: 81px; | ||
+ | width: 308px; | ||
margin: 0 0 0 0; | margin: 0 0 0 0; | ||
- | + | border: 3px solid #353535; | |
float: left; | float: left; | ||
list-style: none; | list-style: none; | ||
Line 28: | Line 33: | ||
font-size:14pt; | font-size:14pt; | ||
font-weight:400; | font-weight:400; | ||
- | line-height: | + | line-height:150%; |
color: #f5f5f5; | color: #f5f5f5; | ||
text-decoration: none; | text-decoration: none; | ||
position: relative; | position: relative; | ||
+ | top: 18px; | ||
display: block; | display: block; | ||
- | |||
padding: 5px 5px 5px 5px; | padding: 5px 5px 5px 5px; | ||
margin: 0px 0px 0px 0px; | margin: 0px 0px 0px 0px; | ||
Line 39: | Line 44: | ||
} | } | ||
- | #labline .current a, # | + | #labline .current a, #labline li:hover { |
- | + | ||
- | + | ||
/*background-color: #f8353e;*/ | /*background-color: #f8353e;*/ | ||
background-image:url(https://static.igem.org/mediawiki/2014/5/5a/DTU-Denmark-hoverlight.png); | background-image:url(https://static.igem.org/mediawiki/2014/5/5a/DTU-Denmark-hoverlight.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: 50% 60%; | background-position: 50% 60%; | ||
+ | background-size: 306px 81px; | ||
} | } | ||
#LAB-COMPARISON{ background-color: #668b32; } | #LAB-COMPARISON{ background-color: #668b32; } | ||
Line 53: | Line 57: | ||
#LAB-MEASUREMENT { background-color: #B48662; } | #LAB-MEASUREMENT { background-color: #B48662; } | ||
#LAB-CALCULATING { background-color: #CB7135; } | #LAB-CALCULATING { background-color: #CB7135; } | ||
+ | |||
+ | :target { | ||
+ | padding-top: 40px; | ||
+ | } |
Latest revision as of 01:13, 18 October 2014
- target {
padding-top: 40px;
}
ul#labline {
width:1000px; height:250px;
top:35px; list-style: none; position: relative; z-index:0; text-align: center;
<!==background: url('https://static.igem.org/mediawiki/2014/3/3d/DTU-Denmark-labresultsbar.png');--> background-repeat: no-repeat; background-size: 100%;
display: block; }
- labline li {
height: 81px; width: 308px;
margin: 0 0 0 0; border: 3px solid #353535; float: left; list-style: none; position: absolute; }
- labline li:last-child { margin:0; }
/* main level link */
- labline a {
font-family:bree-web, Bree, sans-serif; font-size:14pt; font-weight:400; line-height:150%; color: #f5f5f5; text-decoration: none;
position: relative;
top: 18px; display: block; padding: 5px 5px 5px 5px; margin: 0px 0px 0px 0px; background-color: transparent; /*#d80d0d;*/ }
- labline .current a, #labline li:hover {
/*background-color: #f8353e;*/ background-image:url(); background-repeat: no-repeat; background-position: 50% 60%; background-size: 306px 81px; }
- LAB-COMPARISON{ background-color: #668b32; }
- LAB-CONSTRUCT { background-color: #aeaf55; }
- LAB-STANDARDSERIES { background-color: #B65836; }
- LAB-DEGRADATION { background-color: #4AA984; }
- LAB-MEASUREMENT { background-color: #B48662; }
- LAB-CALCULATING { background-color: #CB7135; }
- target {
padding-top: 40px;
}