Template:Team:Marburg/Template:HeaderMenu
From 2014.igem.org
(Difference between revisions)
(16 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 123: | 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 142: | 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 162: | 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 252: | Line 280: | ||
} | } | ||
- | . | + | #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; | 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