Team:NCTU Formosa/css/index

From 2013.igem.org

(Difference between revisions)
Line 25: Line 25:
background-color: black;
background-color: black;
background-image: url(https://static.igem.org/mediawiki/2013/6/6e/Nctu-bg3.jpg);
background-image: url(https://static.igem.org/mediawiki/2013/6/6e/Nctu-bg3.jpg);
 +
min-height: 1300px!important;
 +
height: auto!important;
}
}
.boxwrap {
.boxwrap {
Line 157: Line 159:
display:block;
display:block;
padding-top:30px;
padding-top:30px;
-
width:85%;
+
width:90%;
margin: 0 auto;
margin: 0 auto;
}
}
Line 169: Line 171:
}
}
#social .bigtitle .em {
#social .bigtitle .em {
-
text-decoration:underline;
+
color: red;
-
}
+
-
#social .bigtitle .em2 {
+
-
color:#99ccff;
+
}
}
#social>p {
#social>p {
Line 186: Line 185:
border-radius:5px;
border-radius:5px;
color: white;
color: white;
-
width:30%;
+
width:400px;
margin:10px;
margin:10px;
-
height:300px;
+
height:400px;
float:left;
float:left;
padding:10px;
padding:10px;
Line 195: Line 194:
font-size:20px;
font-size:20px;
border-bottom: solid 1px #eee;
border-bottom: solid 1px #eee;
 +
}
 +
#social .cphoto img {
 +
width:420px;
 +
border-top-left-radius:5px;
 +
border-top-right-radius:5px;
 +
position:relative;
 +
top:-10px;
 +
left:-10px;
}
}

Revision as of 16:16, 24 September 2013

  1. footer-box a{

color: white; } body { background:black; overflow-x: none; } .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); z-index:4; } /* 1373558_728025470546248_1280088855_n.jpg */ #sitemap { background-image: url(Nctu-bg2.jpg); } #social { background-color: black; background-image: url(Nctu-bg3.jpg); min-height: 1300px!important; height: auto!important; } .boxwrap { width:100%; max-width:1200px; margin: 0 auto; position:relative; height: 900px; } .box { position: absolute; width: 75%; max-width: 500px; top:100px; left: 0; color: white; background-image: url('https://static.igem.org/mediawiki/2013/6/6a/Nctu-grainb.png'); background-repeat: repeat; padding: 30px; text-align: right; -moz-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; transform:rotate(-1deg); -ms-transform:rotate(-1deg); -webkit-transform:rotate(-1deg); cursor:pointer; }

  1. description .title {

text-align: right; font-family: Lobster Two; font-size: 60px; font-weight: bold; margin-bottom:10px; color: #222; text-shadow: 0px 2px 3px #555; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; }

  1. description .team {

display:none; text-align: right; font-family: Lobster Two; font-size: 16px; font-weight: 700; color: #222; text-shadow: 0px 2px 3px #555; }

  1. description .wordbox {

border-top: 1px solid #222; box-shadow: 0 -1px 0 0px #444; color: #111; margin-top:10px; padding-top:20px; width:100%; font-family: Open Sans; font-size: 16px; text-align:justify; text-justify:inter-word; text-indent: 50px; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; }

  1. description .title:hover {

color: #fff; text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #7fff00, 0 0 70px #7FFF00, 0 0 80px #7FFF00, 0 0 100px #7FFF00, 0 0 150px #7FFF00; }

  1. description .wordbox:hover {

color: #fff; text-shadow: 0 0 10px #fff, 0 0 40px #7FFF00; }

  1. sitemap #quill {

z-index:3; position:absolute; top:-150px; left:0; margin-left:200px; background-image: url('https://static.igem.org/mediawiki/2013/e/e5/Nctu-quill.png'); background-repeat:no-repeat; width:1087px; height:1087px; }

  1. sitemap #parchment {

position:absolute; text-indent:-9999px; top:-50px; right:0; background-image: url('https://static.igem.org/mediawiki/2013/5/53/Nctu-parchment.png'); background-repeat: no-repeat; width:70%; height:200%; }

  1. sitemap #tphoto1 {

z-index:2; background-image: url('https://static.igem.org/mediawiki/2013/0/0c/Nctu-tphoto1.png'); background-repeat: no-repeat; background-size: contain; width:200px; height:200%; transform:rotate(-5deg); -ms-transform:rotate(-5deg); -webkit-transform:rotate(-5deg); position:absolute; top:100px; right:-80px; }

  1. sitemap #tphoto2 {

z-index:2; background-image: url('https://static.igem.org/mediawiki/2013/5/5c/Nctu-tphoto2.png'); background-repeat: no-repeat; background-size: contain; width:500px; height:200%; transform:rotate(5deg); -ms-transform:rotate(5deg); -webkit-transform:rotate(5deg); position:absolute; top:500px; right:-150px; }

  1. social .meritw {

display:block; padding-top:30px; width:90%; margin: 0 auto; }

  1. social .bigtitle {

text-indent:0; color: white; font-size: 35px; padding-left:50px; padding-top:30px; padding-bottom:15px; }

  1. social .bigtitle .em {

color: red; }

  1. social>p {

padding-top:5px; color: #eee; text-indent:30px; padding-left:50px; padding-right:70px; }

  1. social .merit {

display:inline-block; background: rgba(0,0,0,0.5); border-radius:5px; color: white; width:400px; margin:10px; height:400px; float:left; padding:10px; }

  1. social .merit .smalltitle {

font-size:20px; border-bottom: solid 1px #eee; }

  1. social .cphoto img {

width:420px; border-top-left-radius:5px; border-top-right-radius:5px; position:relative; top:-10px; left:-10px; }