Template:Kyoto/css/top

From 2014.igem.org

(Difference between revisions)
Line 24: Line 24:
     -moz-transition: opacity 0.5s;
     -moz-transition: opacity 0.5s;
     -o-transition: opacity 0.5s;
     -o-transition: opacity 0.5s;
 +
}
 +
 +
.kyoto-fade:hover{
 +
    opacity: 0.7;
}
}
@media (max-width) {
@media (max-width) {
     .kyoto-fade{
     .kyoto-fade{
 +
        opacity: 0.4;
 +
    }
 +
    .kyoto-fade:hover{
         opacity: 0.4;
         opacity: 0.4;
     }
     }
Line 35: Line 42:
         opacity: 0.4;
         opacity: 0.4;
     }
     }
-
}
+
    .kyoto-fade:hover{
-
 
+
        opacity: 0.4;
-
.kyoto-fade:hover{
+
    }
-
    opacity: 0.7;
+
}
}
Line 50: Line 56:
     background-image: url('https://static.igem.org/mediawiki/2014/9/95/Kyoto_top_background.png');
     background-image: url('https://static.igem.org/mediawiki/2014/9/95/Kyoto_top_background.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
-
    background-size: 100%;
 
}
}
#kyoto-top{
#kyoto-top{
     width: 100%;
     width: 100%;
     height: 765px;
     height: 765px;
-
    overflow: hidden;
 
}
}

Revision as of 04:09, 13 September 2014