Template:Tsinghua:Common-Style
From 2013.igem.org
(Difference between revisions)
(Created page with "<html> <style type="text/css"> - →Styles for Wiki: #p-logo { height:0px; overflow:hidden; display: none; } #top-section { background-color: #444444; height: 20px; ...") |
|||
Line 45: | Line 45: | ||
div#bodyContent > p:first-child { | div#bodyContent > p:first-child { | ||
- | + | display:none; | |
} | } | ||
/* Styles for contents */ | /* Styles for contents */ | ||
body { | body { | ||
- | + | font-family: "Arial", sans-serif; | |
} | } | ||
/* Normal text style */ | /* Normal text style */ | ||
.normal { | .normal { | ||
- | + | margin-left: auto; | |
- | + | margin-right: auto; | |
- | + | font-size: 14px; | |
- | + | text-align: justify; | |
} | } | ||
.center { | .center { | ||
- | + | text-align: center; | |
} | } | ||
img.center { | img.center { | ||
- | + | display:block; | |
- | + | margin-left: auto; | |
- | + | margin-right: auto; | |
} | } | ||
table,td,th { | table,td,th { | ||
- | + | border-color: gray; | |
} | } | ||
table.center { | table.center { | ||
- | + | margin-left: auto; | |
- | + | margin-right: auto; | |
} | } | ||
.center td { | .center td { | ||
- | + | text-align: left; | |
} | } | ||
td,th { | td,th { | ||
- | + | padding-left: 1em; | |
- | + | padding-right: 1em; | |
} | } | ||
.math { | .math { | ||
- | + | font-style: italic; | |
} | } | ||
.legend { | .legend { | ||
- | + | font-size: 14px; | |
- | + | font-weight: bold; | |
- | + | text-align: center; | |
} | } | ||
.figure { | .figure { | ||
- | + | ||
} | } | ||
h1.normal { | h1.normal { | ||
- | + | font-size: 24px; | |
- | + | font-weight: bold; | |
- | + | text-align: center; | |
} | } | ||
h2.normal { | h2.normal { | ||
- | + | font-size: 20px; | |
- | + | font-weight: bold; | |
- | + | margin-bottom: 5px; | |
- | + | margin-top: 5px; | |
} | } | ||
h3.normal { | h3.normal { | ||
- | + | font-size: 16px; | |
- | + | font-weight: bold; | |
} | } | ||
table { | table { | ||
- | + | border-collapse: collapse; | |
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 04:11, 26 September 2013