Template:Tsinghua:Common-Style
From 2013.igem.org
(Difference between revisions)
Line 45: | Line 45: | ||
div#bodyContent > p:first-child { | div#bodyContent > p:first-child { | ||
- | + | display:none; | |
} | } | ||
/* Styles for contents */ | /* Styles for contents */ | ||
body { | body { | ||
- | + | margin: 0px; | |
+ | font-family: "Arial", sans-serif; | ||
+ | background-image: url(https://static.igem.org/mediawiki/2013/5/57/Tsinghua-background-image.jpg); | ||
+ | background-color: white; | ||
+ | background-repeat: no-repeat; | ||
+ | background-attachment: fixed; | ||
+ | background-size: cover; | ||
} | } | ||
.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 { | ||
- | |||
- | |||
} | } | ||
.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 { | ||
- | + | width: 100%; | |
} | } | ||
Line 99: | Line 103: | ||
padding-bottom: 0px; | padding-bottom: 0px; | ||
padding-top: 0px; | padding-top: 0px; | ||
- | + | background: none; | |
+ | color: #7A0B0D; | ||
} | } | ||
Line 115: | Line 120: | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
+ | border-bottom: solid 1px #444444; | ||
} | } | ||
Line 129: | Line 135: | ||
} | } | ||
- | table { | + | .normal table { |
- | + | border-collapse: collapse; | |
+ | } | ||
+ | |||
+ | .normal div { | ||
+ | padding: 0.1em 0.5em 0.1em 0.5em; | ||
+ | } | ||
+ | |||
+ | /* brief description */ | ||
+ | #brief { | ||
+ | |||
+ | } | ||
+ | |||
+ | #section-nav { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #section-nav ul { | ||
+ | padding: 0px; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | #section-nav li { | ||
+ | display: inline; | ||
+ | background-color: #A40004; | ||
+ | padding: 0.2em; | ||
+ | margin-right: 0.5em; | ||
+ | } | ||
+ | #section-nav li:hover { | ||
+ | cursor: pointer; | ||
+ | background-color: #CA7071; | ||
+ | } | ||
+ | |||
+ | div.section { | ||
+ | } | ||
+ | |||
+ | #references { | ||
+ | margin-top: 1em; | ||
} | } | ||
</style> | </style> | ||
</html> | </html> |
Revision as of 14:32, 26 September 2013