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;
-
font-size: 1em;
 
-
font-family: sans-serif;
 
-
line-height: 1em;
 
}
}
/* Header *************************************************/
/* Header *************************************************/
Line 16: Line 13:
{
{
text-align: center;
text-align: center;
-
margin: 1em 0em;
 
}
}
#lastmodified /* Last Modified Date */
#lastmodified /* Last Modified Date */
Line 26: Line 22:
#menu
#menu
{
{
-
padding: 0.5em 0em 4em;
+
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 .selflink
 
-
{
 
-
font-weight: bold;
 
}
}
#menu div
#menu div
{
{
float: left;
float: left;
-
width: 6em;
+
width: 4em;
padding: 0.5em 0em;
padding: 0.5em 0em;
-
font-size: 1.4em;
 
text-align: center;
text-align: center;
background: #aaaaaa;
background: #aaaaaa;
Line 51: Line 42:
{
{
position: absolute;
position: absolute;
-
top: 3.2em;
+
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;
-
display: inline;
 
}
}
#menu li .new
#menu li .new
Line 71: Line 61:
#body
#body
{
{
-
padding: 0em 2em 120px;
+
padding: 0em 1.2em 120px;
-
font-size: 1.2em;
+
line-height: 1.5em;
line-height: 1.5em;
height: 100%;
height: 100%;
Line 79: Line 68:
#body h2
#body h2
{
{
-
margin: 1em -1em 0.2em;
+
margin: 1em -0.8em 0.2em;
-
padding: 0.1em;
+
-
border-bottom: 1px solid #aaaaaa;
+
position: relative;
position: relative;
-
}
 
-
#body h2 .mw-headline
 
-
{
 
-
font-size: 1.6em;
 
}
}
#body h3
#body h3
{
{
margin: 0.5em -0.5em 0.2em;
margin: 0.5em -0.5em 0.2em;
-
}
 
-
#body h3 .mw-headline
 
-
{
 
-
font-size: 1.2em;
 
}
}
#body p
#body p
{
{
padding: 0em 0em 0.5em;
padding: 0em 0em 0.5em;
-
line-height: 1.5em;
 
}
}
#body th, #body td
#body th, #body td
{
{
padding: 0.5em;
padding: 0.5em;
-
line-height: 1.5em;
 
}
}
#body ul, #body ol
#body ul, #body ol
{
{
-
padding: 0em 0.5em 1em;
+
padding: 0em 0.5em 0.5em;
list-style: none;
list-style: none;
}
}
#body li
#body li
{
{
-
padding: 0.5em;
+
padding: 0.2em;
}
}
/* Foot ***************************************************/
/* Foot ***************************************************/
Line 119: Line 96:
{
{
position: absolute;
position: absolute;
-
bottom: 0px;
+
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