Template:Kyoto/css/top

From 2014.igem.org

(Difference between revisions)
 
(44 intermediate revisions not shown)
Line 26: Line 26:
     height: 780px;
     height: 780px;
     margin-top: -395px;
     margin-top: -395px;
-
     margin-left: -692px;
+
     margin-left: -688px;
     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;
Line 41: Line 41:
}
}
-
#kyoto-top-dms{
+
#kyoto-top-magnet{
     float: left;
     float: left;
}
}
-
#kyoto-top-dms img{
+
#kyoto-top-magnet img {
-
    position: relative;
+
     top: 30px;
-
     top: 170px;
+
     float: right;
     float: right;
     margin-right: 350px;
     margin-right: 350px;
-
    opacity: 0;
 
-
    transition: opacity 0.5s;
 
-
    -webkit-transition: opacity 0.5s;
 
-
    -moz-transitiopn: opacity 0.5s;
 
-
    -o-transition: opacity 0.5s;
 
-
    -ms-transition: opacity 0.5s;
 
}
}
-
#kyoto-top-magnet{
+
#kyoto-top-dms {
     float: right;
     float: right;
}
}
-
#kyoto-top-magnet img{
+
#kyoto-top-dms img {
-
    position: relative;
+
     top: 10px;
-
     top: 150px;
+
     float: left;
     float: left;
-
     margin-left: 385px;
+
     margin-left: 345px;
-
    opacity: 0;
+
-
    transition: opacity 0.5s;
+
-
    -webkit-transition: opacity 0.5s;
+
-
    -moz-transitiopn: opacity 0.5s;
+
-
    -o-transition: opacity 0.5s;
+
-
    -ms-transition: opacity 0.5s;
+
}
}
Line 86: Line 72:
     padding: 10px;
     padding: 10px;
     position: relative;
     position: relative;
-
     top: 240px;
+
     top: 100px;
     opacity: 0;
     opacity: 0;
     transition: opacity 0.5s;
     transition: opacity 0.5s;
Line 97: Line 83:
.kyoto-fade:hover > div {
.kyoto-fade:hover > div {
     opacity: 0.9;
     opacity: 0.9;
 +
}
 +
 +
.kyoto-fade p {
 +
    color: #ffffff;
 +
}
 +
 +
.kyoto-fade > img{
 +
    position: relative;
 +
    opacity: 0;
 +
    transition: opacity 0.5s;
 +
    -webkit-transition: opacity 0.5s;
 +
    -moz-transitiopn: opacity 0.5s;
 +
    -o-transition: opacity 0.5s;
 +
    -ms-transition: opacity 0.5s;
}
}
.kyoto-fade:hover > img {
.kyoto-fade:hover > img {
     opacity: 1;
     opacity: 1;
 +
}
 +
 +
.kyoto-fade h2 {
 +
    padding-top: 0px;
 +
    color: #ffffff;
}
}
.kyoto-top-abst-blank {
.kyoto-top-abst-blank {
-
     height: 290px;
+
     height: 270px;
-
     width: 110px;
+
     width: 105px;
}
}
-
#kyoto-top-abst-dms{
+
#kyoto-top-abst-magnet {
-
     background-color: #00ffff;
+
     background-color: #88722c;
     margin-right: 30px;
     margin-right: 30px;
}
}
-
#kyoto-top-abst-dms > .kyoto-top-abst-blank {
+
#kyoto-top-abst-magnet > .kyoto-top-abst-blank {
     float: right;
     float: right;
}
}
-
#kyoto-top-abst-magnet{
+
#kyoto-top-abst-dms {
-
     background-color: #ffff00;
+
     background-color: #8888cc;
     margin-left: 30px;
     margin-left: 30px;
}
}
-
#kyoto-top-abst-magnet > .kyoto-top-abst-blank {
+
#kyoto-top-abst-dms > .kyoto-top-abst-blank {
     float: left;     
     float: left;     
}
}
Line 224: Line 229:
}
}
 +
.kyoto-fade > h1 {
 +
    height: 120px;
 +
    margin: 0 auto;
 +
    padding: 0px;
 +
    position: relative;
 +
    top: 100px;
 +
    border: 0;
 +
}
 +
 +
.kyoto-fade > h1 > a {
 +
    display: block;
 +
    height: 100%;
 +
    width: 100%;
 +
    background-repeat: no-repeat;
 +
}
 +
 +
#kyoto-title-magnet {
 +
    width: 439px;
 +
    margin-right: 30px;
 +
}
 +
 +
#kyoto-title-magnet a{
 +
    background-image: url('https://static.igem.org/mediawiki/2014/0/08/Kyoto-title-Magneto.png');
 +
}
 +
 +
#kyoto-title-dms {
 +
    width: 335px;
 +
    margin-left: 95px;
 +
}
 +
 +
#kyoto-title-dms a {
 +
    background-image: url('https://static.igem.org/mediawiki/2014/5/56/Kyoto-Dmstitle.png');
 +
}
@media only screen
@media only screen
  and (min-width: 768px)
  and (min-width: 768px)
Line 229: Line 267:
     .kyoto-fade > div { opacity: 0.8; }
     .kyoto-fade > div { opacity: 0.8; }
     .kyoto-fade:hover > div { opacity: 0.8; }
     .kyoto-fade:hover > div { opacity: 0.8; }
 +
    .kyoto-fade > img { opacity: 1; }
 +
    .kyoto-fade:hover > img { opacity: 1; }
}
}
</style>
</style>
</html>
</html>

Latest revision as of 11:28, 17 October 2014