Difference between revisions of "Template:CCU Taiwan"

Line 53: Line 53:
 
}
 
}
  
p {
+
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
      font-family:'CCUfontsBold', Arial, sans-serif!important;
+
form,fieldset,input,textarea,p,blockquote,th,td {
 +
    padding: 0;
 +
    margin: 0;
 
}
 
}
 
+
a{
body{
+
text-decoration:none;
padding:0;
+
margin:0;
+
        background:#000000;
+
 
}
 
}
 +
table {
 +
    border-spacing: 0;
 +
}
 +
fieldset,img {
 +
    border: 0;
 +
}
 +
address,caption,cite,code,dfn,em,strong,th,var {
 +
    font-weight: normal;
 +
    font-style: normal;
 +
}
 +
strong{
 +
font-weight: bold;
 +
}
 +
ol,ul {
 +
    list-style: none;
 +
    margin:0;
 +
    padding:0;
 +
}
 +
caption,th {
 +
    text-align: left;
  
#top {
+
}
      position: fixed;
+
h1,h2,h3,h4,h5,h6 {
        top: 100px;
+
    font-weight: normal;
        z-index: 6;
+
    font-size: 100%;
 +
    margin:0;
 +
    padding:0;
 +
    color:#444;
 +
}
 +
q:before,q:after {
 +
    content:'';
 +
}
 +
abbr,acronym { border: 0;
 
}
 
}
  
header{
+
 
margin:0 auto;
+
/* Custom CSS
 +
* --------------------------------------- */
 +
body{
 +
font-family: arial,helvetica;
 +
color: #333;
 +
color: rgba(0,0,0,0.5);
 
}
 
}
.container {
+
.wrap{
position: fixed;
+
margin-left: auto;
width: 100%;
+
margin-right: auto;
margin-top: 0;
+
width: 960px;
background: #000000;
+
position: relative;
height: 55px;
+
z-index:3;
+
 
}
 
}
nav {
+
h1{
        margin:0;
+
font-size: 6em;
padding:0;
+
height: 55px;
+
 
}
 
}
nav ul {
+
p{
  margin: 0;
+
font-size: 2em;
  list-style: none;
+
  background:white;
+
 
}
 
}
nav ul li {
+
.intro p{
  float:left;
+
width: 50%;
  display: inline-block;
+
margin: 0 auto;
  position: relative;
+
font-size: 1.5em;
  padding-top:10px;
+
  width: 190px;
+
  height: 42px;
+
  text-align:center;
+
  line-height:42px
+
  margin-left:0vw;
+
  margin-right:0vw;
+
 
}
 
}
nav ul li ul{
+
.section{
position:absolute;
+
text-align:center;
        top:46px;
+
        left:-29.5px;
+
        margin-left:0px;
+
background:black;
+
        width:190px;
+
 
}
 
}
nav ul li ul li{
+
#menu li {
margin-left: 0;
+
display:inline-block;
position: relative;
+
margin: 10px;
text-align: center;
+
color: #000;
        line-height:42px
+
background:#fff;
float:none;
+
background: rgba(255,255,255, 0.5);
display: none;
+
-webkit-border-radius: 10px;
border-radius:1px;
+
            border-radius: 10px;
 
}
 
}
nav a {
+
#menu li.active{
  color:#F5F5F5!important;
+
background:#666;
  font-family: monospace;
+
background: rgba(0,0,0, 0.5);
  font-size: 23px;
+
color: #fff;
  text-decoration:none;
+
 
}
 
}
/*nav a::before {
+
#menu li a{
  content: '';
+
text-decoration:none;
  display: block;
+
color: #000;
  height: 3px;
+
  background-color: blue;
+
  position: absolute;
+
  top: -7px;
+
  width: 0%;
+
  border-radius: 2px;
+
  transition: all ease-in-out 400ms;
+
}*/
+
nav ul li:hover {
+
background-color:#F5F5F5;
+
transition: 200ms;
+
 
}
 
}
nav a:hover{
+
#menu li.active a:hover{
color:black!important;
+
color: #000;
        text-decoration:none;
+
 
}
 
}
/*nav a:hover::before {
+
#menu li:hover{
  width: 100%;
+
background: rgba(255,255,255, 0.8);
}*/
+
nav ul li:hover ul li{
+
display: block;
+
transition: 300ms;
+
 
}
 
}
.parallax {
+
#menu li a,
    background-image: url("https://static.igem.org/mediawiki/2018/1/11/T--CCU_Taiwan--LGOG_3.gif");
+
#menu li.active a{
    height: 100vh;
+
padding: 9px 18px;
    background-attachment: fixed;
+
display:block;
    background-position: center;
+
    background-repeat: no-repeat;
+
    background-size: cover;
+
    z-index: 2;
+
 
}
 
}
 
+
#menu li.active a{
#homelogo {
+
color: #fff;
 +
}
 +
#menu{
 +
position:fixed;
 +
top:0;
 +
left:0;
 +
height: 40px;
 +
z-index: 70;
 
width: 100%;
 
width: 100%;
position: relative;
+
padding: 0;
z-index: -2;
+
 
margin:0;
 
margin:0;
height:100vh;
 
 
}
 
}
  
.scroll-down {
+
    #actions{
  background: none;
+
        position:fixed;
  position:absolute;
+
        top: 73px;
  transition: all .5s ease-in 3s;
+
        left: 30px;
  top:70vh;
+
        z-index: 99999;
  left: 50%;
+
    }
  margin-left: -24px;
+
    #actions a{
  z-index: 3;
+
        background: rgba(0,0,0,0.8);
  -webkit-transition: all .5s ease-in 3s;
+
        padding: 7px;
  -webkit-animation: bounce 2s infinite 2s;
+
        margin: 2px;
  animation: bounce 2s infinite 2s;
+
        color: #ccc;
  -webkit-transition: all .2s ease-in;
+
        display: inline-block;
  transition: all .2s ease-in;
+
    }
}
+
    #actions a:hover{
 +
        color: #fff;
 +
        background: #81A140;
 +
    }
  
.scroll-down img:hover {
+
.fp-enabled body {
  opacity: .5;
+
     margin: 0;
}
+
     padding: 0;
 
+
     overflow:hidden;
/*.a {
+
  background: transparent;
+
}*/
+
 
+
.scroll-down: before {
+
      
+
position: absolute;
+
   
+
top: calc(50% - 8px);
+
   
+
left: calc(50% - 6px);
+
   
+
transform: rotate(-45deg);
+
   
+
display: block;
+
   
+
width: 12px;
+
   
+
height: 12px;
+
   
+
content: "";
+
   
+
border: 2px solid white;
+
   
+
border-width: 0px 0 2px 2px;
+
 
+
}
+
 
+
@keyframes bounce {
+
 
+
0%,
+
 
+
100%,
+
 
+
20%,
+
 
+
50%,
+
 
+
80% {
+
      
+
  -webkit-transform: translateY(0);
+
      
+
  -ms-transform: translateY(0);
+
   
+
  transform: translateY(0);
+
+
}
+
+
+
40% {
+
   
+
-webkit-transform: translateY(-10px);
+
   
+
-ms-transform: translateY(-10px);
+
   
+
transform: translateY(-10px);
+
 
+
}
+
 
+
60% {
+
   
+
-webkit-transform: translateY(-5px);
+
   
+
-ms-transform: translateY(-5px);
+
   
+
transform: translateY(-5px);
+
 
+
}
+
  
 +
    /*Avoid flicker on slides transitions for mobile phones #336 */
 +
    -webkit-tap-highlight-color: rgba(0,0,0,0);
 
}
 
}
 
+
.fp-section {
 
+
    position: relative;
.content {
+
    -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
  margin-top: 50px;
+
    -moz-box-sizing: border-box; /* <=28 */
  width: 80%;
+
    box-sizing: border-box;
  margin-left: 200px;
+
  z-index: 4;
+
  padding-bottom: 50px;
+
  position: absolute;
+
 
}
 
}
 
+
.fp-slide {
#fullPage {
+
    float: left;
margin:0;
+
        background: white;
+
 
}
 
}
 
+
.fp-slide, .fp-slidesContainer {
 
+
    height: 100%;
.section{
+
    display: block;
margin:0;
+
padding:0;
+
 
}
 
}
 
+
.fp-slides {
 
+
    z-index:1;
.section2 {
+
    height: 100%;
        background: #EFB653;
+
    overflow: hidden;
        z-index: 3;
+
    position: relative;
        height: 100%;
+
    -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
 +
    transition: all 0.3s ease-out;
 
}
 
}
/*h3 {
+
.fp-section.fp-table, .fp-slide.fp-table {
  color:#e5e5e5;
+
    display: table;
}*/
+
    table-layout:fixed;
.first {
+
    width: 100%;
  font-size: 60px!important;
+
  color: #F8F8FF;
+
  margin-left: 30px;
+
  margin-bottom: -30px!important;
+
  margin-top: -40px!important;
+
 
}
 
}
.second {
+
.fp-tableCell {
  font-size: 35px!important;
+
    display: table-cell;
  color: #F8F8FF;
+
    vertical-align: middle;
  margin-left: 30px;
+
    width: 100%;
 +
    height: 100%;
 
}
 
}
.description {
+
.fp-slidesContainer {
  font-size: 18px!important;
+
    float: left;
  color: #F8F8FF;
+
    position: relative;
  margin-left: 30px;
+
 
}
 
}
#logo{
+
.fp-controlArrow {
width: 100%;
+
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
position: relative;
+
    -moz-user-select: none; /* mozilla browsers */
z-index: -2;
+
    -khtml-user-select: none; /* webkit (konqueror) browsers */
margin:0;
+
    -ms-user-select: none; /* IE10+ */
height:100vh;
+
    position: absolute;
 +
    z-index: 4;
 +
    top: 50%;
 +
    cursor: pointer;
 +
    width: 0;
 +
    height: 0;
 +
    border-style: solid;
 +
    margin-top: -38px;
 +
    -webkit-transform: translate3d(0,0,0);
 +
    -ms-transform: translate3d(0,0,0);
 +
    transform: translate3d(0,0,0);
 
}
 
}
.interlab {
+
.fp-controlArrow.fp-prev {
  background: black;
+
    left: 15px;
  margin: 0 auto;
+
    width: 0;
  padding-top:50px;
+
    border-width: 38.5px 34px 38.5px 0;
  padding-left:150px;
+
    border-color: transparent #fff transparent transparent;
  padding-right:150px;
+
  padding-bottom: 150px;
+
  position: relative;
+
  list-style-type:decimal;
+
  font-color:#F8F8FF;
+
 
}
 
}
.title{
+
.fp-controlArrow.fp-next {
  font-size: 18px!important;
+
    right: 15px;
  color: #F8F8FF;
+
    border-width: 38.5px 0 38.5px 34px;
  line-height:25px;
+
    border-color: transparent transparent transparent #fff;
 
}
 
}
 
+
.fp-scrollable {
 
+
    overflow: hidden;
.interlab li {
+
    position: relative;
   color:white!important;
+
}
 +
.fp-scroller{
 +
    overflow: hidden;
 +
}
 +
.iScrollIndicator{
 +
    border: 0 !important;
 +
}
 +
.fp-notransition {
 +
    -webkit-transition: none !important;
 +
    transition: none !important;
 +
}
 +
#fp-nav {
 +
    position: fixed;
 +
    z-index: 100;
 +
    margin-top: -32px;
 +
    top: 50%;
 +
    opacity: 1;
 +
    -webkit-transform: translate3d(0,0,0);
 +
}
 +
#fp-nav.fp-right {
 +
    right: 17px;
 +
}
 +
#fp-nav.fp-left {
 +
    left: 17px;
 +
}
 +
.fp-slidesNav{
 +
    position: absolute;
 +
    z-index: 4;
 +
    opacity: 1;
 +
    -webkit-transform: translate3d(0,0,0);
 +
    -ms-transform: translate3d(0,0,0);
 +
    transform: translate3d(0,0,0);
 +
    left: 0 !important;
 +
    right: 0;
 +
    margin: 0 auto !important;
 +
}
 +
.fp-slidesNav.fp-bottom {
 +
    bottom: 17px;
 +
}
 +
.fp-slidesNav.fp-top {
 +
    top: 17px;
 +
}
 +
#fp-nav ul,
 +
.fp-slidesNav ul {
 +
   margin: 0;
 +
  padding: 0;
 +
}
 +
#fp-nav ul li,
 +
.fp-slidesNav ul li {
 +
    display: block;
 +
    width: 14px;
 +
    height: 13px;
 +
    margin: 7px;
 +
    position:relative;
 +
}
 +
.fp-slidesNav ul li {
 +
    display: inline-block;
 +
}
 +
#fp-nav ul li a,
 +
.fp-slidesNav ul li a {
 +
    display: block;
 +
    position: relative;
 +
    z-index: 1;
 +
    width: 100%;
 +
    height: 100%;
 +
    cursor: pointer;
 +
    text-decoration: none;
 +
}
 +
#fp-nav ul li a.active span,
 +
.fp-slidesNav ul li a.active span,
 +
#fp-nav ul li:hover a.active span,
 +
.fp-slidesNav ul li:hover a.active span{
 +
    height: 12px;
 +
    width: 12px;
 +
    margin: -6px 0 0 -6px;
 +
    border-radius: 100%;
 +
}
 +
#fp-nav ul li a span,
 +
.fp-slidesNav ul li a span {
 +
    border-radius: 50%;
 +
    position: absolute;
 +
    z-index: 1;
 +
    height: 4px;
 +
    width: 4px;
 +
    border: 0;
 +
    background: #333;
 +
    left: 50%;
 +
    top: 50%;
 +
    margin: -2px 0 0 -2px;
 +
    -webkit-transition: all 0.1s ease-in-out;
 +
    -moz-transition: all 0.1s ease-in-out;
 +
    -o-transition: all 0.1s ease-in-out;
 +
    transition: all 0.1s ease-in-out;
 +
}
 +
#fp-nav ul li:hover a span,
 +
.fp-slidesNav ul li:hover a span{
 +
    width: 10px;
 +
    height: 10px;
 +
    margin: -5px 0px 0px -5px;
 +
}
 +
#fp-nav ul li .fp-tooltip {
 +
    position: absolute;
 +
    top: -2px;
 +
    color: #fff;
 +
    font-size: 14px;
 +
    font-family: arial, helvetica, sans-serif;
 +
    white-space: nowrap;
 +
    max-width: 220px;
 +
    overflow: hidden;
 +
    display: block;
 +
    opacity: 0;
 +
    width: 0;
 +
    cursor: pointer;
 +
}
 +
#fp-nav ul li:hover .fp-tooltip,
 +
#fp-nav.fp-show-active a.active + .fp-tooltip {
 +
    -webkit-transition: opacity 0.2s ease-in;
 +
    transition: opacity 0.2s ease-in;
 +
    width: auto;
 +
    opacity: 1;
 +
}
 +
#fp-nav ul li .fp-tooltip.fp-right {
 +
    right: 20px;
 +
}
 +
#fp-nav ul li .fp-tooltip.fp-left {
 +
    left: 20px;
 +
}
 +
.fp-auto-height.fp-section,
 +
.fp-auto-height .fp-slide,
 +
.fp-auto-height .fp-tableCell{
 +
    height: auto !important;
 
}
 
}
  
#partvideo {
+
.fp-responsive .fp-auto-height-responsive.fp-section,
    height: 680px;
+
.fp-responsive .fp-auto-height-responsive .fp-slide,
 +
.fp-responsive .fp-auto-height-responsive .fp-tableCell {
 +
    height: auto !important;
 
}
 
}
 +
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 03:00, 27 July 2018