Team:UT-Tokyo/Template/Style

From 2013.igem.org

(Difference between revisions)
 
(35 intermediate revisions not shown)
Line 5: Line 5:
*{margin:0; padding:0;}
*{margin:0; padding:0;}
 +
 +
#top-section{
 +
    width: 100%
 +
    }
 +
 +
#menubar {
 +
    top: 0;
 +
    font-size: 75%;
 +
    }
#content {
#content {
Line 48: Line 57:
     display: block;
     display: block;
     width: 100%;
     width: 100%;
-
    -webkit-margin-before: 1em;
 
-
    -webkit-margin-after: 1em;
 
-
    -webkit-margin-start: 0px;
 
-
    -webkit-margin-end: 0px;
 
     }
     }
-
a{
+
#header a, #main a{
     text-decoration: none;
     text-decoration: none;
     }
     }
-
 
+
#header a:link, #main a:link{
-
a:link{
+
     color: blue;
     color: blue;
     }
     }
-
a:visited{
+
#headera:hover, #main a:hover{
-
    color: purple;
+
-
    }
+
-
a:hover{
+
     color: red;
     color: red;
     }
     }
Line 78: Line 79:
     position: fixed;
     position: fixed;
     height: 100px;
     height: 100px;
-
    width: 100%;
 
     top: 0px;
     top: 0px;
     left: 0px;
     left: 0px;
Line 226: Line 226:
     position: absolute;
     position: absolute;
     width: 100%;
     width: 100%;
-
     background-color: rgba(255,255,255,0.8);
+
     background-color: rgb(255,255,255);
     z-index: 1;
     z-index: 1;
     }
     }
Line 254: Line 254:
     padding: 100px 0 70px 350px;
     padding: 100px 0 70px 350px;
     width: 600px;
     width: 600px;
-
     top: -100px;
+
     top: -200px;
     counter-reset: part;
     counter-reset: part;
     }
     }
Line 262: Line 262:
     margin: 0;
     margin: 0;
     text-align: justify;
     text-align: justify;
 +
    }
 +
 +
#contents li{
 +
    list-style-type: disc;
 +
    list-style-image: none;
     }
     }
Line 279: Line 284:
     padding: 0;
     padding: 0;
     border: none;
     border: none;
 +
    line-height: 60px;
 +
    text-indent: -0.5em;
 +
    padding-left: 0.5em;
     }
     }
#contents h1:before{
#contents h1:before{
Line 295: Line 303:
     padding: 0;
     padding: 0;
     border: none;
     border: none;
 +
    line-height: 35px;
     }
     }
#contents h2:before{
#contents h2:before{
Line 330: Line 339:
</style>
</style>
-
    <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
 
     <script>
     <script>
     $(function() {
     $(function() {

Latest revision as of 08:19, 13 October 2013