Template:Kyoto/css/top

From 2014.igem.org

(Difference between revisions)
 
(110 intermediate revisions not shown)
Line 1: Line 1:
 +
{{Kyoto/css/disable_official}}
<html>
<html>
<style type="text/css">
<style type="text/css">
/********* igem official style ********/
/********* igem official style ********/
-
#content { overflow: hidden; }
+
#content {
-
#menubar { top: 10px; }
+
    overflow: hidden;  
 +
    margin-top: 0px;
 +
    margin-bottom: -15px;
 +
}
-
/********* for top page ***********/
+
/******** useful style ********/
.kyoto-centering-wrapper{
.kyoto-centering-wrapper{
     width: 0px;
     width: 0px;
Line 12: Line 16:
     position: absolute;
     position: absolute;
     left: 50%;
     left: 50%;
-
     top: 50%
+
     top: 395px;
-
}
+
-
 
+
-
.kyoto-fade{
+
-
    background-color: #ffffff;
+
-
    width: 100%;
+
-
    height: 100%;
+
-
    opacity: 0;
+
-
    transition: opacity 0.5s;
+
-
    -webkit-transition: opacity 0.5s;
+
-
    -moz-transition: opacity 0.5s;
+
-
    -o-transition: opacity 0.5s;
+
-
}
+
-
 
+
-
@media (max-width) {
+
-
    .kyoto-fade{
+
-
        opacity: 0.4;
+
-
    }
+
-
}
+
-
@media (orientation: portrait) {
+
-
    .kyoto-fade{
+
-
        opacity: 0.4;
+
-
    }
+
-
}
+
-
 
+
-
.kyoto-fade:hover{
+
-
    opacity: 0.7;
+
}
}
 +
/********* for top page ***********/
#kyoto-top-background{
#kyoto-top-background{
     position: absolute;
     position: absolute;
Line 46: Line 25:
     width: 1366px;
     width: 1366px;
     height: 780px;
     height: 780px;
-
     margin-top: -390px;
+
     margin-top: -395px;
-
     margin-left: -681px;
+
     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;
-
    background-size: 100%;
 
}
}
#kyoto-top{
#kyoto-top{
     width: 100%;
     width: 100%;
-
     height: 765px;
+
     height: 780px;
-
     overflow: hidden;
+
     margin-top: -20px;
}
}
Line 63: Line 41:
}
}
-
#kyoto-top-dms{
+
#kyoto-top-magnet{
     float: left;
     float: left;
}
}
-
#kyoto-top-magnet{
+
#kyoto-top-magnet img {
 +
    top: 30px;
     float: right;
     float: right;
 +
    margin-right: 350px;
}
}
-
.kyoto-top-abst{
+
#kyoto-top-dms {
-
     width: 50%;
+
     float: right;
-
     border: solid 1px;
+
}
-
     padding: 5px;
+
 
-
     position: relative;
+
#kyoto-top-dms img {
 +
     top: 10px;
 +
     float: left;
 +
     margin-left: 345px;
 +
}
 +
 
 +
.kyoto-fade{
 +
    background-color: transparent;
 +
    width: 100%;
 +
    height: 100%;
 +
}
 +
 
 +
.kyoto-fade > div{
 +
    width: 440px;
     margin: auto;
     margin: auto;
 +
    padding: 10px;
 +
    position: relative;
 +
    top: 100px;
 +
    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 > div {
 +
    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 {
 +
    opacity: 1;
 +
}
 +
 +
.kyoto-fade h2 {
 +
    padding-top: 0px;
 +
    color: #ffffff;
 +
}
 +
 +
.kyoto-top-abst-blank {
 +
    height: 270px;
 +
    width: 105px;
 +
}
 +
 +
#kyoto-top-abst-magnet {
 +
    background-color: #88722c;
 +
    margin-right: 30px;
 +
}
 +
 +
#kyoto-top-abst-magnet > .kyoto-top-abst-blank {
 +
    float: right;
}
}
-
#kyoto-top-abst-dms{
+
#kyoto-top-abst-dms {
-
     background-color: #ffff00;
+
     background-color: #8888cc;
-
    top: 35%;
+
     margin-left: 30px;
-
     margin-right: 180px;
+
}
}
-
#kyoto-top-abst-magnet{
+
#kyoto-top-abst-dms > .kyoto-top-abst-blank {
-
     background-color: #00ffff;
+
     float: left;  
-
    top: 10%;
+
-
    margin-left: 180px;
+
}
}
Line 98: Line 138:
     position: absolute;
     position: absolute;
     z-index: 20;
     z-index: 20;
 +
    outline: none;
     background-color: transparent;
     background-color: transparent;
     background-image: url('https://static.igem.org/mediawiki/2014/e/e5/Kyoto_top_logo.png');
     background-image: url('https://static.igem.org/mediawiki/2014/e/e5/Kyoto_top_logo.png');
Line 122: Line 163:
.kyoto-top-menu ul{
.kyoto-top-menu ul{
-
    list-style-image: none;
 
-
    list-style-type: none;
 
     margin: 0px;
     margin: 0px;
}
}
Line 158: Line 197:
}
}
 +
#kyoto-top-sponsor ul {
 +
    margin: 15px auto;
 +
    width: 1000px;
 +
    height: 300px;
 +
    background-image: url('https://static.igem.org/mediawiki/2014/3/3f/Kyoto-block-background.png');
 +
    background-repeat: no-repeat;
 +
}
 +
 +
#kyoto-top-sponsor li {
 +
    float: left;
 +
    width: 150px;
 +
    height: 150px;
 +
    margin: 0px;
 +
    padding: 75px 35px 75px 35px;
 +
}
 +
 +
#kyoto-top-sponsor-ku {
 +
    padding-left: 95px !important;
 +
}
 +
 +
#kyoto-top-sponsor-im {
 +
    padding-right: 95px !important;
 +
}
 +
 +
#kyoto-top-sponsor-promega img {
 +
    padding-top: 38px;
 +
}
 +
 +
#kyoto-top-sponsor-cosmo img {
 +
    padding-top: 18px;
 +
}
 +
 +
.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
 +
and (min-width: 768px)
 +
and (max-width: 1024px) {
 +
    .kyoto-fade > 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