Team:UT-Tokyo/Template/Style
From 2013.igem.org
(Difference between revisions)
(37 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%; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | a{ | + | #header a, #main a{ |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
- | + | #header a:link, #main a:link{ | |
- | a:link{ | + | |
color: blue; | color: blue; | ||
} | } | ||
- | + | #headera:hover, #main a:hover{ | |
- | + | ||
- | + | ||
- | a:hover{ | + | |
color: red; | color: red; | ||
} | } | ||
Line 78: | Line 79: | ||
position: fixed; | position: fixed; | ||
height: 100px; | height: 100px; | ||
- | |||
top: 0px; | top: 0px; | ||
left: 0px; | left: 0px; | ||
Line 226: | Line 226: | ||
position: absolute; | position: absolute; | ||
width: 100%; | width: 100%; | ||
- | background-color: | + | 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: -200px; | |
- | top: - | + | |
counter-reset: part; | counter-reset: part; | ||
} | } | ||
Line 263: | Line 262: | ||
margin: 0; | margin: 0; | ||
text-align: justify; | text-align: justify; | ||
+ | } | ||
+ | |||
+ | #contents li{ | ||
+ | list-style-type: disc; | ||
+ | list-style-image: none; | ||
} | } | ||
Line 278: | Line 282: | ||
color: #bd200d; | color: #bd200d; | ||
counter-reset: chapter; | counter-reset: chapter; | ||
+ | padding: 0; | ||
+ | border: none; | ||
+ | line-height: 60px; | ||
+ | text-indent: -0.5em; | ||
+ | padding-left: 0.5em; | ||
} | } | ||
#contents h1:before{ | #contents h1:before{ | ||
Line 292: | Line 301: | ||
color: #bd200d; | color: #bd200d; | ||
counter-reset: section; | counter-reset: section; | ||
+ | padding: 0; | ||
+ | border: none; | ||
+ | line-height: 35px; | ||
} | } | ||
#contents h2:before{ | #contents h2:before{ | ||
Line 308: | Line 320: | ||
letter-spacing: 2px; | letter-spacing: 2px; | ||
color: #bd200d; | color: #bd200d; | ||
+ | padding: 0; | ||
+ | border: none; | ||
} | } | ||
Line 325: | Line 339: | ||
</style> | </style> | ||
- | |||
<script> | <script> | ||
$(function() { | $(function() { |
Latest revision as of 08:19, 13 October 2013