Template:Team:Marburg/Template:HeaderMenu
From 2014.igem.org
(Difference between revisions)
(22 intermediate revisions not shown) | |||
Line 22: | Line 22: | ||
</script> | </script> | ||
<style> | <style> | ||
+ | .tts { | ||
+ | float: right; | ||
+ | position: relative; | ||
+ | bottom: 25px; | ||
+ | } | ||
+ | |||
+ | #toc, .toc { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | #container2 { margin: auto; width: 100%; } | ||
+ | #left2 { | ||
+ | background: url('https://static.igem.org/mediawiki/2014/4/45/Mr_team_rolle_1.png') repeat-y left top; | ||
+ | } | ||
+ | #left_inner2 { float: left; width: 10%; } | ||
+ | #right2 { float: right; width: 80%; | ||
+ | background: url('https://static.igem.org/mediawiki/2014/7/71/Mr_team_rolle_2.png') repeat-y right top; | ||
+ | } | ||
+ | #right_inner2 { float: right; width: 10%; } | ||
+ | #content2 { float: left; width: 75%;} | ||
+ | .clr { clear: both; } | ||
+ | |||
#slider2_container { | #slider2_container { | ||
position: relative; | position: relative; | ||
Line 34: | Line 56: | ||
#submenu { | #submenu { | ||
background: #d2d9df; | background: #d2d9df; | ||
- | width: | + | width: 260px; |
padding-left: 20px; | padding-left: 20px; | ||
margin: 0; | margin: 0; | ||
Line 40: | Line 62: | ||
margin-bottom: 30px; | margin-bottom: 30px; | ||
line-height: 13pt; | line-height: 13pt; | ||
- | list-style-type: | + | list-style-type: circle; |
list-style-image: none; | list-style-image: none; | ||
border: 1px solid #999; | border: 1px solid #999; | ||
float: left; | float: left; | ||
+ | margin-top: 17px; | ||
box-shadow: 2px 2px 5px #aaa; | box-shadow: 2px 2px 5px #aaa; | ||
background: rgb(255,255,255); /* Old browsers */ | background: rgb(255,255,255); /* Old browsers */ | ||
Line 76: | Line 99: | ||
#submenu li ul { | #submenu li ul { | ||
margin-left:15px; | margin-left:15px; | ||
- | list-style-type: | + | list-style-type: none; |
list-style-image: none; | list-style-image: none; | ||
} | } | ||
Line 104: | Line 127: | ||
.menu ul li.current a {color:#c00; z-index:120;} | .menu ul li.current a {color:#c00; z-index:120;} | ||
- | @media only screen and (max-width: | + | @media only screen and (max-width:1198px) { |
.menu ul li.igem { display:none; } | .menu ul li.igem { display:none; } | ||
.menu {width:235px;} | .menu {width:235px;} | ||
Line 122: | Line 145: | ||
.submenu_clr { clear: both; } | .submenu_clr { clear: both; } | ||
#submenu { margin: 0 auto; float: none;} | #submenu { margin: 0 auto; float: none;} | ||
+ | #left2, #right2 { background: transparent; } | ||
+ | .tts { display: none; } | ||
} | } | ||
@media only screen and (max-device-width:1024px) and (orientation:portrait) { | @media only screen and (max-device-width:1024px) and (orientation:portrait) { | ||
Line 141: | Line 166: | ||
.submenu_clr { clear: both; } | .submenu_clr { clear: both; } | ||
#submenu { margin: 0 auto; float: none; } | #submenu { margin: 0 auto; float: none; } | ||
+ | #left2, #right2 { background: transparent; } | ||
+ | .tts { display: none; } | ||
} | } | ||
@media only screen and (max-device-width:480px) { | @media only screen and (max-device-width:480px) { | ||
Line 161: | Line 188: | ||
.submenu_clr { clear: both; } | .submenu_clr { clear: both; } | ||
#submenu { margin: 0 auto; float: none; } | #submenu { margin: 0 auto; float: none; } | ||
+ | #left2, #right2 { background: transparent; } | ||
+ | .tts { display: none; } | ||
} | } | ||
Line 250: | Line 279: | ||
display: block; | display: block; | ||
} | } | ||
+ | |||
+ | #bodyContent a[href^="https://"], .link-https { | ||
+ | padding: 0; | ||
+ | background: transparent; | ||
+ | } | ||
+ | |||
+ | /* ================================================================ | ||
+ | This copyright notice must be untouched at all times. | ||
+ | Copyright (c) stu nicholls - cssplay.co.uk | ||
+ | All rights reserved. | ||
+ | =================================================================== */ | ||
+ | .wrap a {display:block; width:220px; height:330px; text-decoration:none; color:#000;} | ||
+ | .wrap {width:220px; height:330px; position:relative; overflow:hidden; font-family:arial, sans-serif; border:0; margin:0 10px; float:left; display:inline; box-shadow: 2px 7px 5px #888; margin-bottom: 10px; | ||
+ | border: 0; | ||
+ | padding: 0; | ||
+ | margin: 0; | ||
+ | outline:#fff solid 3px; | ||
+ | } | ||
+ | .wrap img {border:0;} | ||
+ | .wrap i {display:block; width:220px; height:330px; position:absolute; left:0; top:300px; z-index:1; background:#fff; filter: alpha(opacity=40); | ||
+ | filter: progid:DXImageTransform.Microsoft.Alpha(opacity=75); opacity:0.75; | ||
+ | -webkit-transition: all 0.6s ease-in-out; | ||
+ | -moz-transition: all 0.6s ease-in-out; | ||
+ | -o-transition: all 0.6s ease-in-out; | ||
+ | transition: all 0.6s ease-in-out; | ||
+ | } | ||
+ | .wrap p {display:block; width:220px; height:330px; position:absolute; left:0; top:300px; z-index:1; background:transparent; font-size:13pt; color:#000; padding:0; margin:0; line-height:16px; | ||
+ | -webkit-transition: all 0.6s ease-in-out; | ||
+ | -moz-transition: all 0.6s ease-in-out; | ||
+ | -o-transition: all 0.6s ease-in-out; | ||
+ | transition: all 0.6s ease-in-out; | ||
+ | } | ||
+ | .wrap p b {display:block; font-size:22px; color:#333; text-align:center; margin:0; padding:0; line-height:30px;} | ||
+ | .wrap p span {display:block; padding:10px; line-height:20px;} | ||
+ | .wrap a:hover {direction:ltr;} | ||
+ | .wrap a:hover i {top:0;} | ||
+ | .wrap a:hover p {top:0;} | ||
+ | .wrap b { font-family: "Muli"; font-size: 11pt; } | ||
+ | .clear {clear:left;} | ||
</style></html> | </style></html> |
Latest revision as of 22:19, 17 October 2014