Team:Kyoto/Style
From 2010.igem.org
(Difference between revisions)
(modify css.) |
(Modify css.) |
||
Line 8: | Line 8: | ||
margin: 0em; | margin: 0em; | ||
padding: 0em; | padding: 0em; | ||
- | |||
- | |||
- | |||
} | } | ||
/* Header *************************************************/ | /* Header *************************************************/ | ||
Line 16: | Line 13: | ||
{ | { | ||
text-align: center; | text-align: center; | ||
- | |||
} | } | ||
#lastmodified /* Last Modified Date */ | #lastmodified /* Last Modified Date */ | ||
Line 26: | Line 22: | ||
#menu | #menu | ||
{ | { | ||
- | padding: | + | padding: 1em 0em 5em; |
position: relative; | position: relative; | ||
width: 100%; | width: 100%; | ||
Line 34: | Line 30: | ||
color: white; | color: white; | ||
text-decoration: none; | text-decoration: none; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#menu div | #menu div | ||
{ | { | ||
float: left; | float: left; | ||
- | width: | + | width: 4em; |
padding: 0.5em 0em; | padding: 0.5em 0em; | ||
- | |||
text-align: center; | text-align: center; | ||
background: #aaaaaa; | background: #aaaaaa; | ||
Line 51: | Line 42: | ||
{ | { | ||
position: absolute; | position: absolute; | ||
- | top: | + | top: 2em; |
left: 0em; | left: 0em; | ||
background: #84a2d4; | background: #84a2d4; | ||
Line 62: | Line 53: | ||
padding: 0.5em 1em; | padding: 0.5em 1em; | ||
background: transparent; | background: transparent; | ||
- | |||
} | } | ||
#menu li .new | #menu li .new | ||
Line 71: | Line 61: | ||
#body | #body | ||
{ | { | ||
- | padding: 0em | + | padding: 0em 1.2em 120px; |
- | + | ||
line-height: 1.5em; | line-height: 1.5em; | ||
height: 100%; | height: 100%; | ||
Line 79: | Line 68: | ||
#body h2 | #body h2 | ||
{ | { | ||
- | margin: 1em - | + | margin: 1em -0.8em 0.2em; |
- | + | ||
- | + | ||
position: relative; | position: relative; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#body h3 | #body h3 | ||
{ | { | ||
margin: 0.5em -0.5em 0.2em; | margin: 0.5em -0.5em 0.2em; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#body p | #body p | ||
{ | { | ||
padding: 0em 0em 0.5em; | padding: 0em 0em 0.5em; | ||
- | |||
} | } | ||
#body th, #body td | #body th, #body td | ||
{ | { | ||
padding: 0.5em; | padding: 0.5em; | ||
- | |||
} | } | ||
#body ul, #body ol | #body ul, #body ol | ||
{ | { | ||
- | padding: 0em 0.5em | + | padding: 0em 0.5em 0.5em; |
list-style: none; | list-style: none; | ||
} | } | ||
#body li | #body li | ||
{ | { | ||
- | padding: 0. | + | padding: 0.2em; |
} | } | ||
/* Foot ***************************************************/ | /* Foot ***************************************************/ | ||
Line 119: | Line 96: | ||
{ | { | ||
position: absolute; | position: absolute; | ||
- | bottom: | + | bottom: 7px; |
width: 100%; | width: 100%; | ||
text-align: center; | text-align: center; | ||
Line 132: | Line 109: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
+ | // Menu | ||
$(document).ready(function() | $(document).ready(function() | ||
{ | { | ||
Line 154: | Line 132: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
+ | // Foot | ||
$("#foot img").error(function() | $("#foot img").error(function() | ||
{ | { |
Revision as of 06:25, 25 March 2010