Team:NCTU Formosa/css/index

From 2013.igem.org

(Difference between revisions)
Line 26: Line 26:
position:absolute;
position:absolute;
right:0;
right:0;
-
top:110px;
+
top:160px;
width:310px;
width:310px;
background:#222;
background:#222;
Line 38: Line 38:
position:absolute;
position:absolute;
right:0;
right:0;
-
top:210px;
+
top:260px;
padding:10px;
padding:10px;
color:#222;
color:#222;
Line 48: Line 48:
position:absolute;
position:absolute;
right:0;
right:0;
-
top:250px;
+
top:300px;
padding:10px;
padding:10px;
width:700px;
width:700px;

Revision as of 17:15, 26 August 2013

.page { background-attachment: fixed; background-position: 0 50%; background-size: cover; background-repeat: no-repeat; height: 900px; 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:160px; 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:260px; padding:10px; color:#222; font-family: Lobster Two; font-size: 20px; font-weight: bold; }

  1. description .wordbox {

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