Team:DTU-Denmark/experimentaldesignCSS.css
From 2014.igem.org
Line 19: | Line 19: | ||
#experimentaldesign li { | #experimentaldesign li { | ||
margin: 0 0 0 0; | margin: 0 0 0 0; | ||
- | + | float: left; | |
- | + | ||
- | + | ||
list-style: none; | list-style: none; | ||
position: absolute; | position: absolute; |
Revision as of 15:28, 16 October 2014
- target {
padding-top: 40px;
}
ul#experimentaldesign {
width:1300px; height:640px;
top:45px; list-style: none; position: relative; z-index:0; text-align: center;
background: url('https://static.igem.org/mediawiki/2014/5/5d/DTU-Denmark-OverviewFigureLabDesignV2.png'); background-repeat: no-repeat; background-size: 100%;
display: inline-block; }
- experimentaldesign li {
margin: 0 0 0 0;
float: left;
list-style: none; position: absolute; }
- experimentaldesign li:last-child { margin:0; }
/* main level link */
- experimentaldesign a {
font-family:bree-web, Bree, sans-serif; font-size:10pt; font-weight:400; line-height:130%; color: #f5f5f5; text-decoration: none;
position: relative;
display: block;
top:4px;
padding: 5px 5px 5px 5px; margin: 0px 0px 0px 0px; background-color: transparent; /*#d80d0d;*/ }
- experimentaldesign .current a, #experimentaldesign li:hover > a {
/*color: #000; mouse over tekstfarve for menu. Før #F79042. Tyrkis 7edbf6. dd6421*/ border-color:#724f20; /*background-color: #f8353e;*/ background-image:url(); background-repeat: no-repeat; background-position: 50% 60%; }
.boxes {
/* height: 150px; widht: 300px*/ width: $($(this).attr('widht') + 'px'); height: $($(this).attr('height') + 'px');
}
.boxes:hover { background: #353535; opacity: 0; }