Team:HUST-China/Templates/css/style
From 2012.igem.org
(Difference between revisions)
HUST XueYu (Talk | contribs) |
HUST XueYu (Talk | contribs) |
||
Line 3: | Line 3: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
html, body, div, span, applet, object, iframe, | html, body, div, span, applet, object, iframe, | ||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
Line 24: | Line 23: | ||
body { | body { | ||
/*background: #fff;*/ | /*background: #fff;*/ | ||
+ | line-height: 1; | ||
background-color: #fff; | background-color: #fff; | ||
- | background: url( | + | font-family: Calibri, Arial; |
- | + | overflow-x: hidden; | |
+ | background: url(../imgs/bg.png); | ||
} | } | ||
/*hd--------------------------------------*/ | /*hd--------------------------------------*/ | ||
#hd{ | #hd{ | ||
- | |||
width:780px; | width:780px; | ||
- | margin: | + | margin:20px auto; |
text-align:center; | text-align:center; | ||
- | |||
} | } | ||
h1{ | h1{ | ||
font-size: 5em; | font-size: 5em; | ||
color:#2e423e; | color:#2e423e; | ||
- | margin: | + | margin:25px 0 0 -30px; |
float:left; | float:left; | ||
width: 600px; | width: 600px; | ||
Line 50: | Line 49: | ||
width:100%; | width:100%; | ||
height:30px; | height:30px; | ||
- | background:url( | + | background:url(../imgs/under.png); |
background-repeat: repeat-x; | background-repeat: repeat-x; | ||
float:left; | float:left; | ||
Line 56: | Line 55: | ||
position:relative; | position:relative; | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</style> | </style> | ||
<body> | <body> |
Revision as of 13:05, 24 September 2012