Team:NCTU Formosa/css/index

From 2013.igem.org

Revision as of 17:09, 26 August 2013 by Calvinhue (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

.page { background-attachment: fixed; background-position: 0 50%; background-size: cover; background-repeat: no-repeat; height: 100%; position: relative; } #description { background-image: url(Nctu-bg1.jpg); background-position: 50% 50%; } #sitemap { background-image: url(Nctu-bg2.jpg); } #social { background-image: url(Nctu-bg3.jpg); background-position: 50% 50%; } .box { max-width:1200px; margin: 0 auto; position:relative; }

  1. description .title {

position:absolute; right:0; top:110px; width:310px; background:#222; color:white; font-family: Lobster Two; font-size: 60px; font-weight: bold; padding:10px; }

  1. description .team {

position:absolute; right:0; top:210px; padding:10px; color:#222; font-family: Lobster Two; font-size: 20px; font-weight: bold; }

  1. description .wordbox {

position:absolute; right:0; top:250px; padding:10px; width:700px; color:#222; font-family: Open Sans; font-size: 16px; text-align:justify; text-justify:inter-word; text-indent: 50px; }