Team:NYMU-Taipei/HeaderCSS
From 2014.igem.org
(Difference between revisions)
m |
m |
||
(9 intermediate revisions not shown) | |||
Line 26: | Line 26: | ||
.main-content{ | .main-content{ | ||
width:70%; | width:70%; | ||
- | |||
margin: 0 auto; | margin: 0 auto; | ||
background-color:#FFFFFF; | background-color:#FFFFFF; | ||
Line 36: | Line 35: | ||
.left-bar{ | .left-bar{ | ||
+ | margin-top:40px; | ||
width:180px; | width:180px; | ||
margin-left:10px; | margin-left:10px; | ||
- | height: | + | height:250px; |
background-image:url(https://static.igem.org/mediawiki/2014/b/b4/NYMU2014_left_sidebar.png); | background-image:url(https://static.igem.org/mediawiki/2014/b/b4/NYMU2014_left_sidebar.png); | ||
+ | background-size: 180px 250px; | ||
+ | position:fixed; | ||
} | } | ||
+ | |||
+ | .left-bar a{ | ||
+ | font: 15px comic sans ms; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | .left-bar p{ | ||
+ | margin-left:25px; | ||
+ | } | ||
+ | |||
+ | .main-content p{ | ||
+ | margin-left: 20px; | ||
+ | line-height: 1.5em; | ||
+ | font-size: 127%; | ||
+ | } | ||
+ | |||
+ | .main-content span{ | ||
+ | font-size:2em; | ||
+ | color:orange; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
<div class="header"> | <div class="header"> |
Latest revision as of 12:06, 5 May 2014