Meetups/August NCTUFormosa/css
From 2014.igem.org
(14 intermediate revisions not shown) | |||
Line 107: | Line 107: | ||
position: relative; | position: relative; | ||
width: 100% !important; | width: 100% !important; | ||
- | min-width: | + | //min-width: 800px; |
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
Line 114: | Line 114: | ||
#welcome { | #welcome { | ||
- | |||
height:800px; | height:800px; | ||
background: white; | background: white; | ||
Line 128: | Line 127: | ||
#welcome h1 { | #welcome h1 { | ||
margin: 0 auto; | margin: 0 auto; | ||
+ | margin-top: 100px; | ||
height: 287px; | height: 287px; | ||
- | width: 800px; | + | max-width: 800px; |
- | + | width:100%; | |
- | + | // background: url(https://static.igem.org/mediawiki/2014/3/35/Nctu-conference-title.png) 0 0 no-repeat transparent; | |
+ | background-image: url(https://static.igem.org/mediawiki/2014/3/35/Nctu-conference-title.png); | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: contain; | ||
+ | -moz-background-size: contain; | ||
+ | text-indent: -3000px; | ||
} | } | ||
#welcome p { | #welcome p { | ||
display: block; | display: block; | ||
padding-top: 50px; | padding-top: 50px; | ||
- | width:800px; | + | max-width:800px; |
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
Line 155: | Line 160: | ||
#introduction p { | #introduction p { | ||
display: block; | display: block; | ||
- | width:800px; | + | max-width:800px; |
margin: 0 auto; | margin: 0 auto; | ||
color: black; | color: black; | ||
Line 181: | Line 186: | ||
#participating-teams ul { | #participating-teams ul { | ||
display: block; | display: block; | ||
- | width:800px; | + | max-width:800px; |
margin: 0 auto; | margin: 0 auto; | ||
color: white; | color: white; | ||
- | list-style-type: none; | + | list-style-type:none; |
+ | list-style-image:none; | ||
} | } | ||
#participating-teams li { | #participating-teams li { | ||
Line 218: | Line 224: | ||
} | } | ||
#agenda { | #agenda { | ||
- | height: | + | height:1200px; |
+ | } | ||
+ | #agenda img { | ||
+ | width:45%!important; | ||
} | } | ||
#agenda>div:nth-of-type(1) { | #agenda>div:nth-of-type(1) { | ||
background: white; | background: white; | ||
margin: 0; | margin: 0; | ||
- | height: | + | height: 1200px; |
position:absolute; | position:absolute; | ||
width:100%; | width:100%; | ||
Line 234: | Line 243: | ||
#agenda p { | #agenda p { | ||
display: block; | display: block; | ||
- | width:800px; | + | max-width:800px; |
margin: 0 auto; | margin: 0 auto; | ||
color: black; | color: black; | ||
Line 255: | Line 264: | ||
#transportation p { | #transportation p { | ||
display: block; | display: block; | ||
- | width:800px; | + | max-width:800px; |
margin: 0 auto; | margin: 0 auto; | ||
color: black; | color: black; | ||
Line 269: | Line 278: | ||
} | } | ||
#registration { | #registration { | ||
- | height: | + | height:700px; |
} | } | ||
#registration>div:nth-of-type(1) { | #registration>div:nth-of-type(1) { | ||
background: white; | background: white; | ||
margin: 0; | margin: 0; | ||
- | height: | + | height: 700px; |
position:absolute; | position:absolute; | ||
width:100%; | width:100%; |
Latest revision as of 18:42, 28 May 2015
/* ---Calvin Hue
- /
- p-logo, #search-controls, #contentSub, .firstHeading, #catlinks {
display: none; }
- footer-box {
width: auto; background:transparent; border:0; font-size:10px; }
- footer-box a {
color:black; }
- f-copyrightico {
margin-left:50px; } body:before {
content: ""; position: fixed; top: -10px; left: 0; width: 100%; height: 10px; -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8); -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8); box-shadow: 0px 0px 10px rgba(0,0,0,.8); z-index: 100;
}
- selection {
background:#0BDA51; color:#fff; }
- -moz-selection {
background:#0BDA51; color:#fff; }
- -webkit-selection {
background:#0BDA51; color:#fff; }
- top-section {
width:100%!important; height:11px!important; overflow:hidden; border-top:none!important; position:fixed; z-index: 5!important; top:0; background-color: lightgrey !important; -moz-box-shadow:0px 0px 15px 4px rgba(20%,20%,40%,0.5); -webkit-box-shadow:0px 0px 15px 4px rgba(20%,20%,40%,0.5); box-shadow:0px 0px 15px 4px rgba(20%,20%,40%,0.5); opacity:0.7; }
- menubar li a, #menubar li {
backgound: none!important; color:black!important; font:10px Quicksand; font-weight:400; text-transform:uppercase; }
- menubar li a:hover {
text-decoration:none; } .right-menu li a, .left-menu:hover { background-color:transparent!important; } .left-menu { margin-top:4px; padding-left: 10px; }
- cou {
width:1px; height:1px; float:left; opacity:0.01; overflow:hidden; }
- pt-login {
top: 4px; }
- content {
background: transparent; padding: 0; width: 100%; border: 0px; line-height:normal!important; }
- globalWrapper {
font-size:100%!important; padding:0!important; } ul.side { display:none; } .part_link { color: #38c04b; } a, a:visited {color:white;} a:hover {text-decoration: underline;} p{line-height:1.6;font-size:18px;} strong{font-weight:bold;} section {
min-height: 400px; position: relative; width: 100% !important; //min-width: 800px; margin: 0; padding: 0; overflow: hidden;
}
- welcome {
height:800px; background: white;
}
- welcome>div:nth-of-type(1) {
background: url() 50% 0 no-repeat fixed; margin: 0; height: 800px; position:absolute; width:100%; top:0;left:0;
}
- welcome h1 {
margin: 0 auto; margin-top: 100px; height: 287px; max-width: 800px;
width:100%; // background: url() 0 0 no-repeat transparent; background-image: url(); background-repeat: no-repeat; background-size: contain; -moz-background-size: contain;
text-indent: -3000px;
}
- welcome p {
display: block; padding-top: 50px; max-width:800px; margin: 0 auto;
}
- introduction {
height:400px;
}
- introduction>div:nth-of-type(1) {
background: white; margin: 0; height: 400px; position:absolute; width:100%; top:0;left:0;
}
- introduction h1 {
margin-left: 150px;
}
- introduction p {
display: block; max-width:800px; margin: 0 auto; color: black;
}
- introduction em {
font-size: 700; color: #53bb2e;
}
- participating-teams {
height:800px;
}
- participating-teams>div:nth-of-type(1) {
background: url() 50% 0 no-repeat fixed; margin: 0; height: 800px; position:absolute; width:100%; top:0;left:0;
}
- participating-teams h1 {
margin-left: 150px; color:white; margin-top: 100px;
}
- participating-teams ul {
display: block; max-width:800px; margin: 0 auto; color: white; list-style-type:none;
list-style-image:none; }
- participating-teams li {
font-size: 18px;
}
- participating-teams li:before {
content: "• "; color: white;
}
- participating-teams>div:nth-of-type(2) {
background: url() 0 0 no-repeat transparent; margin: 0; height: 800px; position:absolute; top:0px;right:0px; width:391px;
}
- participating-teams>div:nth-of-type(3) {
background: url() 0 0 no-repeat transparent; margin: 0; height: 800px; position:absolute; top:0px;right:-30px; width:374px;
}
- participating-teams>div:nth-of-type(4) {
background: url() 0 0 no-repeat transparent; margin: 0; height: 800px; position:absolute; top:0px;right:80px; width:365px;
}
- agenda {
height:1200px;
}
- agenda img {
width:45%!important; }
- agenda>div:nth-of-type(1) {
background: white; margin: 0; height: 1200px; position:absolute; width:100%; top:0;left:0;
}
- agenda h1 {
margin-left: 150px; padding-top: 50px;
}
- agenda p {
display: block; max-width:800px; margin: 0 auto; color: black;
}
- agenda em {
font-size: 700; color: #53bb2e;
}
- transportation {
height:800px;
}
- transportation>div:nth-of-type(1) {
background: url() 50% 0 no-repeat fixed; margin: 0; height: 800px; position:absolute; width:100%; top:0;left:0;
}
- transportation p {
display: block; max-width:800px; margin: 0 auto; color: black;
}
- transportation em {
font-size: 700; color: red;
}
- transportation h1 {
margin-left: 150px; color:white; margin-top: 100px;
}
- registration {
height:700px;
}
- registration>div:nth-of-type(1) {
background: white; margin: 0; height: 700px; position:absolute; width:100%; top:0;left:0;
}
- registration h1 {
margin-left: 150px; padding-top: 50px;
}
- registration p {
display: block; width:800px; margin: 0 auto; color: black;
}
- registration em {
font-size: 700; color: #53bb2e;
}
section h1{color:#53bb2e;font-size:65px;margin-bottom:14px;border: 0!important;} section p{color:white;} section article{position:absolute;width:100%;z-index:4;}
.parallax-item{position:absolute;z-index:5;top:40px;left:400px;}