Template:Team:Marburg/Template:HeaderMenu

From 2014.igem.org

(Difference between revisions)
 
(28 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 31: Line 53:
  top:-35px;
  top:-35px;
}
}
 +
 +
#submenu {
 +
background: #d2d9df;
 +
width: 260px;
 +
padding-left: 20px;
 +
margin: 0;
 +
margin-right: 50px;
 +
margin-bottom: 30px;
 +
line-height: 13pt;
 +
list-style-type: circle;
 +
list-style-image: none;
 +
border: 1px solid #999;
 +
float: left;
 +
margin-top: 17px;
 +
box-shadow: 2px 2px 5px #aaa;
 +
background: rgb(255,255,255); /* Old browsers */
 +
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
 +
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNWU1ZTUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
 +
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-8 */
 +
}
 +
#submenu li a {
 +
  color: #444;
 +
  font-size: 14pt;
 +
  font-family: Calibri, Verdana;
 +
}
 +
#submenu li a:hover {
 +
  color: #00;
 +
}
 +
#submenu li.current {
 +
  font-weight: bold;
 +
}
 +
#submenu li:hover {
 +
  background: #d8d8d8;
 +
}
 +
#submenu li ul li{
 +
  font-weight: normal;
 +
  line-height: 10pt;
 +
}
 +
#submenu li ul {
 +
  margin-left:15px;
 +
  list-style-type: none;
 +
list-style-image: none;
 +
}
 +
.submenu_clr { display: none; }
.menu {display:block; padding:0; margin:0; height:42px; position:relative;
.menu {display:block; padding:0; margin:0; height:42px; position:relative;
Line 55: 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:1260px) {
+
@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 71: Line 143:
.menu:hover ul li {margin-bottom:0;}
.menu:hover ul li {margin-bottom:0;}
#slider2_container { top:-0; border: none; }
#slider2_container { top:-0; border: none; }
 +
.submenu_clr { clear: both; }
 +
  #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 88: Line 164:
.menu:hover ul li {margin-bottom:0;}
.menu:hover ul li {margin-bottom:0;}
  #slider2_container { top:0; border: none; }
  #slider2_container { top:0; border: none; }
 +
.submenu_clr { clear: both; }
 +
  #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 106: Line 186:
.menu:hover ul li {margin-bottom:0;}
.menu:hover ul li {margin-bottom:0;}
  #slider2_container { top:0; border: none; }
  #slider2_container { top:0; border: none; }
 +
.submenu_clr { clear: both; }
 +
  #submenu { margin: 0 auto; float: none; }
 +
  #left2, #right2 { background: transparent; }
 +
.tts { display: none; }
}
}
Line 195: 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