Team:NCTU Formosa/source/header-team

From 2013.igem.org

(Difference between revisions)
 
(35 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
 +
<META NAME="ROBOTS" CONTENT="noarchive">
<style>
<style>
.effect {
.effect {
-
left: 81.25%;
+
  left: 72.22%;
}
}
#cover{
#cover{
-
background:url(http://www.blirk.net/wallpapers/1280x1024/rain-wallpaper-2.jpg);
+
background:url(https://static.igem.org/mediawiki/2013/a/a9/Nctu-cover-team.jpg);
 +
}
 +
div.cont .li {
 +
padding:0;
 +
}
 +
#realcontent {
 +
margin-bottom:10px;
}
}
div.personc {
div.personc {
float:left;
float:left;
-
width: 300px!important;
+
width: 330px!important;
-
margin-right:20px;
+
margin-right: 10px;
-
}
+
margin-bottom: 10px;
-
div.personc div.card{
+
-
width: 100%!important;
+
}
}
div.personc div.card h4 {
div.personc div.card h4 {
Line 24: Line 29:
margin-bottom:20px;
margin-bottom:20px;
}
}
-
td ul li a {
+
.card p {
-
height: 30px;
+
text-indent:0!important;
-
line-height: 30px;
+
}
}
-
/* Effect 6: flip (based on http://lab.hakim.se/scroll-effects/ by @hakimel) */
+
td ul li a {
-
.js-masonry {
+
height: 25px;
-
-webkit-perspective: 1300px;
+
line-height: 25px;
-
-moz-perspective: 1300px;
+
font-size:12px;
-
perspective: 1300px;
+
}
}
-
 
+
.advisers .card h4 .mw-headline:after {
-
.js-masonry .li.animate {
+
    content: "ADVISER";
-
-webkit-transform-style: preserve-3d;
+
    background:#800000;
-
-moz-transform-style: preserve-3d;
+
    color:white;
-
transform-style: preserve-3d;
+
    float:right;
-
-webkit-transform-origin: 0% 0%;
+
    font-size:11px;
-
-moz-transform-origin: 0% 0%;
+
    -webkit-border-radius: 2px;
-
transform-origin: 0% 0%;
+
    -moz-border-radius: 2px;
-
-webkit-transform: rotateX(-80deg);
+
    border-radius: 2px;
-
-moz-transform: rotateX(-80deg);
+
    border: 2px #800000 solid;
-
transform: rotateX(-80deg);
+
-
-webkit-animation: flip .8s ease-in-out forwards;
+
-
-moz-animation: flip .8s ease-in-out forwards;
+
-
animation: flip .8s ease-in-out forwards;
+
}
}
-
 
+
.advisers-i .card h4 .mw-headline:after {
-
@-webkit-keyframes flip {
+
    content: "INSTRUCTOR";
-
100% { -webkit-transform: rotateX(0deg); opacity: 1; }
+
    background:#228B22;
 +
    color:white;
 +
    float:right;
 +
    font-size:11px;
 +
    -webkit-border-radius: 2px;
 +
    -moz-border-radius: 2px;
 +
    border-radius: 2px;
 +
    border: 2px #228B22 solid;
}
}
-
 
+
.toclevel-3 {
-
@-moz-keyframes flip {
+
display:none;
-
100% { -moz-transform: rotateX(0deg); opacity: 1; }
+
}
}
-
 
+
.attribution p {
-
@keyframes flip {
+
text-indent: 30px!important;
-
100% { transform: rotateX(0deg); opacity: 1; }
+
}
}
</style>
</style>
-
<script src="http://masonry.desandro.com/masonry.pkgd.min.js"></script>
+
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/masonry.pkgd?action=raw&ctype=text/javascript"></script>
 +
<script src="https://2013.igem.org/Team:Team:NCTU_Formosa/js/imagesloaded?action=raw&ctype=text/javascript"></script>
 +
<script>
 +
window.onload = function()
 +
                {
 +
var $container = $('#membersnadvisers');
 +
$container.imagesLoaded( function() {
 +
  $container.masonry();
 +
});
 +
};
 +
  $(document).ready(function(){
 +
$('a.image').click(function() { return false; });
 +
$('.floatnone img').each(function(){ $(this).removeAttr('height');$(this).removeAttr('width'); });
 +
  });
 +
</script>

Latest revision as of 10:57, 16 September 2014