Team:NCTU Formosa/css/index

From 2013.igem.org

(Difference between revisions)
(Created page with " .page { background-attachment: fixed; background-position: 0 50%; background-size: cover; background-repeat: no-repeat; height: 100%; position: relative; } ...")
 
(59 intermediate revisions not shown)
Line 1: Line 1:
 +
#footer-box a{
 +
color: white;
 +
}
 +
body {
 +
background:black;
 +
overflow-x: none;
 +
font-family: Open Sans;
 +
}
 +
#footer-box {
 +
width:100%;
 +
background-color:black;
 +
}
.page {
.page {
background-attachment: fixed;
background-attachment: fixed;
Line 4: Line 16:
background-size: cover;
background-size: cover;
background-repeat: no-repeat;
background-repeat: no-repeat;
-
height: 100%;
+
height: 900px;
position: relative;
position: relative;
 +
overflow: hidden;
}
}
#description {
#description {
background-image: url(https://static.igem.org/mediawiki/2013/d/de/Nctu-bg1.jpg);
background-image: url(https://static.igem.org/mediawiki/2013/d/de/Nctu-bg1.jpg);
-
background-position: 50% 50%;
+
z-index:4;
}
}
-
#sitemap {
+
/* https://static.igem.org/mediawiki/2013/7/73/1373558_728025470546248_1280088855_n.jpg */
 +
#decor {
background-image: url(https://static.igem.org/mediawiki/2013/1/14/Nctu-bg2.jpg);
background-image: url(https://static.igem.org/mediawiki/2013/1/14/Nctu-bg2.jpg);
}
}
#social {
#social {
 +
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);
-
background-position: 50% 50%;
+
min-height: 1300px!important;
 +
height: auto!important;
 +
z-index:4;
}
}
-
.box {
+
.boxwrap {
 +
width:100%;
max-width:1200px;
max-width:1200px;
margin: 0 auto;
margin: 0 auto;
-
position:relative;
+
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;
}
}
#description .title {
#description .title {
-
position:absolute;
+
text-align: right;
-
right:0;
+
-
top:110px;
+
-
width:310px;
+
-
background:#222;
+
-
color:white;
+
font-family: Lobster Two;
font-family: Lobster Two;
font-size: 60px;
font-size: 60px;
font-weight: bold;
font-weight: bold;
-
padding:10px;
+
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;
}
}
#description .team {
#description .team {
-
position:absolute;
+
display:none;
-
right:0;
+
text-align: right;
-
top:210px;
+
-
padding:10px;
+
-
color:#222;
+
font-family: Lobster Two;
font-family: Lobster Two;
-
font-size: 20px;
+
font-size: 16px;
-
font-weight: bold;
+
font-weight: 700;
 +
color: #222;
 +
text-shadow: 0px 2px 3px #555;
}
}
#description .wordbox {
#description .wordbox {
-
position:absolute;
+
border-top: 1px solid #222;
-
right:0;
+
box-shadow: 0 -1px 0 0px #444;
-
top:250px;
+
color: #111;
-
padding:10px;
+
margin-top:10px;
-
width:700px;
+
padding-top:20px;
-
color:#222;
+
width:100%;
font-family: Open Sans;
font-family: Open Sans;
font-size: 16px;
font-size: 16px;
Line 57: Line 99:
text-justify:inter-word;
text-justify:inter-word;
text-indent: 50px;
text-indent: 50px;
 +
-webkit-transition: .5s;
 +
-moz-transition: .5s;
 +
-o-transition: .5s;
 +
-ms-transition: .5s;
 +
transition: .5s;
 +
}
 +
 +
#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;
 +
}
 +
#description .wordbox:hover {
 +
color: #fff;
 +
text-shadow: 0 0 10px #fff, 0 0 40px #7FFF00;
 +
}
 +
#decor #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;
 +
}
 +
#decor #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%;
 +
}
 +
#decor #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;
 +
}
 +
#decor #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;
 +
}
 +
#social #meritw {
 +
display:block;
 +
padding-top:30px;
 +
width:90%;
 +
margin: 0 auto;
 +
vertical-align: text-top;
 +
}
 +
#social .bigtitle {
 +
text-indent:0;
 +
color: white;
 +
font-size: 35px;
 +
padding-left:50px;
 +
padding-top:30px;
 +
padding-bottom:15px;
 +
}
 +
#social .bigtitle .em1 {
 +
font-weight:700;
 +
text-decoration:underline;
 +
}
 +
#social .bigtitle .em2 {
 +
color: #99ccff;
 +
}
 +
#social>p {
 +
padding-top:5px;
 +
color: #eee;
 +
text-indent:30px;
 +
padding-left:50px;
 +
padding-right:70px;
 +
}
 +
#social .merit {
 +
display:inline-block;
 +
background: rgba(30,30,30,0.5);
 +
border-radius:5px;
 +
color: white;
 +
width:400px;
 +
margin:10px;
 +
padding:10px;
 +
vertical-align: text-top;
 +
-webkit-transition: .5s;
 +
-moz-transition: .5s;
 +
-o-transition: .5s;
 +
-ms-transition: .5s;
 +
transition: .5s;
 +
}
 +
#social .merit:hover {
 +
background: rgba(30,30,30,0.8);
 +
}
 +
#social .merit .smalltitle {
 +
font-size:20px;
 +
font-weight:700;
 +
padding-left:10px;
 +
padding-right:10px;
 +
padding-top:5px!important;
 +
padding-bottom:5px!important;
 +
text-indent:0!important;
 +
background-color: rgba(0,0,0,0.5);
 +
top:-10px;
 +
width:400px;
 +
position:relative;
 +
left:-10px;
 +
}
 +
#social .merit p {
 +
padding-top:10px;
 +
text-indent:30px;
 +
}
 +
#social .cphoto img {
 +
width:420px;
 +
border-top-left-radius:5px;
 +
border-top-right-radius:5px;
 +
position:relative;
 +
top:-10px;
 +
left:-10px;
 +
margin-bottom:0!important;
 +
}
 +
#social a {
 +
color:#99ccff;
 +
}
 +
#social b {
 +
background-color:#E86100;
 +
padding-left:5px;
 +
padding-right:5px;
 +
border-radius:3px;
}
}

Latest revision as of 05:04, 27 September 2013

  1. footer-box a{

color: white; } body { background:black; overflow-x: none; font-family: Open Sans; }

  1. footer-box {

width:100%; background-color:black; } .page { background-attachment: fixed; background-position: 0 50%; background-size: cover; background-repeat: no-repeat; height: 900px; position: relative; overflow: hidden; } #description { background-image: url(Nctu-bg1.jpg); z-index:4; } /* 1373558_728025470546248_1280088855_n.jpg */ #decor { background-image: url(Nctu-bg2.jpg); } #social { background-color: black; background-image: url(Nctu-bg3.jpg); min-height: 1300px!important; height: auto!important; z-index:4; } .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. decor #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. decor #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. decor #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. decor #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; vertical-align: text-top; }

  1. social .bigtitle {

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

  1. social .bigtitle .em1 {

font-weight:700; text-decoration:underline; }

  1. social .bigtitle .em2 {

color: #99ccff; }

  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(30,30,30,0.5); border-radius:5px; color: white; width:400px; margin:10px; padding:10px; vertical-align: text-top; -webkit-transition: .5s; -moz-transition: .5s; -o-transition: .5s; -ms-transition: .5s; transition: .5s; }

  1. social .merit:hover {

background: rgba(30,30,30,0.8); }

  1. social .merit .smalltitle {

font-size:20px; font-weight:700; padding-left:10px; padding-right:10px; padding-top:5px!important; padding-bottom:5px!important; text-indent:0!important; background-color: rgba(0,0,0,0.5); top:-10px; width:400px; position:relative; left:-10px; }

  1. social .merit p {

padding-top:10px; text-indent:30px; }

  1. social .cphoto img {

width:420px; border-top-left-radius:5px; border-top-right-radius:5px; position:relative; top:-10px; left:-10px; margin-bottom:0!important; }

  1. social a {

color:#99ccff; }

  1. social b {

background-color:#E86100; padding-left:5px; padding-right:5px; border-radius:3px; }