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

From 2012.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 10: Line 10:
     font-size: 76%;
     font-size: 76%;
     background-color: #ffffff;
     background-color: #ffffff;
 +
    overflow-y: scroll;
}
}
#hokkaidou-wrapper {
#hokkaidou-wrapper {
-
     width: 975px;
+
     width: 940px;
     margin: 0 auto;
     margin: 0 auto;
     padding: 0;
     padding: 0;
}
}
-
#hokkaidou-header {
 
-
    background-color: #d2b48c;
 
-
    height: 100px;
 
-
    padding-bottom: 10px;
 
-
}
 
#hokkaidou-content {
#hokkaidou-content {
 +
    padding-top: 42px;
}
}
#hokkaidou-column-nav {
#hokkaidou-column-nav {
     float: left;
     float: left;
-
     width: 255px;
+
     width: 230px;
     background-color: #f0e68c;
     background-color: #f0e68c;
 +
    padding-left: 10px;
}
}
#hokkaidou-column-main {
#hokkaidou-column-main {
     float: right;
     float: right;
-
     width: 710px;
+
     width: 690px;
     padding-left: 10px;
     padding-left: 10px;
     background-color: #f5deb3;
     background-color: #f5deb3;
}
}
-
#hokkaidou-content > p:last-child {
+
#hokkaidou-column-main + p {
     margin: 0;
     margin: 0;
     padding: 0;
     padding: 0;
Line 50: Line 48:
     padding-top: 15px; */
     padding-top: 15px; */
     padding-top: 30px;
     padding-top: 30px;
-
     border-top: 1px solid #e4e4e4;
+
     border: none;
     text-align: center;
     text-align: center;
 +
}
 +
 +
#footer-box {
 +
    background-color: #deb887;
 +
    width: 940px;
 +
    margin: 0 auto;
 +
    padding: 0;
 +
    border: none;
}
}
Line 58: Line 64:
}
}
-
</style>
+
</style></html>
-
<script type="text/javascript">
+
-
    $(document).ready(function(){
+
-
        if ($('#hokkaidou-column-nav').height() > $('#hokkaidou-column-main').height()) {
+
-
            $('#hokkaidou-column-main').height($('#hokkaidou-column-nav').height());
+
-
        }else{
+
-
            $('#hokkaidou-column-nav').height($('#hokkaidou-column-main').height());
+
-
        }
+
-
    });
+
-
</script>
+
-
</html>
+

Latest revision as of 03:48, 24 August 2012