Template:Team:HokkaidoU Japan/css/layout.index.css

From 2011.igem.org

(Difference between revisions)
 
(10 intermediate revisions not shown)
Line 76: Line 76:
#hokkaidou-index-menu li#hokkaidou-index-team a:hover:before{ background-position: -30px -210px; }
#hokkaidou-index-menu li#hokkaidou-index-team a:hover:before{ background-position: -30px -210px; }
-
#hokkaidou-links ul{
+
#hokkaidou-official-team-logo{
-
    margin: 20px 0;
+
-
    padding: 0;
+
     text-align: center;
     text-align: center;
}
}
 +
#hokkaidou-official-team-logo img{
 +
    display: block;
 +
    width: 240px;
 +
    height: 240px;
 +
    border: 1px solid #e4e4e4;
 +
    margin: 0 auto;
 +
}
 +
#hokkaidou-official-team-logo .hokkaidou-description{
 +
    font-size: small;
 +
    color: #ababab;
 +
}
 +
#hokkaidou-links ul{
 +
    margin: 20px 0 !important;
 +
    padding: 0 !important;
 +
}
 +
#hokkaidou-links ul {zoom: 1;}
 +
#hokkaidou-links ul:after {content: ""; }
#hokkaidou-links ul li{
#hokkaidou-links ul li{
-
     display: inline-block;
+
    float: left;
-
     margin: 0 5px;
+
     display: block !important;
 +
     margin: 0 5px !important;
 +
    padding: 0 !important;
 +
}
 +
#hokkaidou-links ul li:first-child{
 +
    margin-left: 0 !important;
}
}
#hokkaidou-links ul li a{
#hokkaidou-links ul li a{
-
     display: inline-block;
+
     display: block;
     width: 32px;
     width: 32px;
     height: 32px;
     height: 32px;
Line 98: Line 118:
#hokkaidou-links ul li#hokkaidou-links-youtube a{ background-position: -128px 0; }
#hokkaidou-links ul li#hokkaidou-links-youtube a{ background-position: -128px 0; }
#hokkaidou-links ul li#hokkaidou-links-email{
#hokkaidou-links ul li#hokkaidou-links-email{
-
     /* stupid igem wiki overwrite css */
+
     display: block !important;
     width: 32px !important;
     width: 32px !important;
-
     overflow: hidden;
+
     height: 32px !important;
 +
    margin: 0 5px 0 0 !important;
 +
    padding: 0 !important;
}
}
#hokkaidou-links ul li#hokkaidou-links-email a{
#hokkaidou-links ul li#hokkaidou-links-email a{
-
    /* stupid igem wiki overwrite css */
+
     display: block !important;
-
     display: inline-block !important;
+
     width: 100% !important;
-
     width: 32px !important;
+
     height: 100% !important;
-
     height: 32px !important;
+
    margin: 0 !important;
 +
    padding: 0 !important;
     background: url(https://static.igem.org/mediawiki/2011/8/8b/IGEM_HokkaidoU_Index_Links.png) no-repeat !important;
     background: url(https://static.igem.org/mediawiki/2011/8/8b/IGEM_HokkaidoU_Index_Links.png) no-repeat !important;
     text-indent: -10000px !important;
     text-indent: -10000px !important;
}
}
</style></html>
</style></html>

Latest revision as of 18:48, 5 October 2011