Difference between revisions of "Template:CCU Taiwan"

Line 53: Line 53:
 
}
 
}
  
p {
+
/*!
      font-family:'CCUfontsBold', Arial, sans-serif!important;
+
* fullPage 3.0.1
}
+
* https://github.com/alvarotrigo/fullPage.js
 +
*
 +
* @license GPLv3 for open source use only
 +
* or Fullpage Commercial License for commercial use
 +
* http://alvarotrigo.com/fullPage/pricing/
 +
*
 +
* Copyright (C) 2018 http://alvarotrigo.com/fullPage - A project by Alvaro Trigo
 +
*/
 +
html.fp-enabled,
 +
.fp-enabled body {
 +
    margin: 0;
 +
    padding: 0;
 +
    overflow:hidden;
  
body{
+
    /*Avoid flicker on slides transitions for mobile phones #336 */
padding:0;
+
    -webkit-tap-highlight-color: rgba(0,0,0,0);
margin:0;
+
        background:#000000;
+
 
}
 
}
 
+
.fp-section {
#top {
+
    position: relative;
      position: fixed;
+
    -webkit-box-sizing: border-box; /* Safari<=5 Android<=3 */
        top: 100px;
+
    -moz-box-sizing: border-box; /* <=28 */
        z-index: 6;
+
    box-sizing: border-box;
 
}
 
}
 
+
.fp-slide {
header{
+
    float: left;
margin:0 auto;
+
 
}
 
}
.container {
+
.fp-slide, .fp-slidesContainer {
position: fixed;
+
    height: 100%;
width: 100%;
+
    display: block;
margin-top: 0;
+
background: #000000;
+
height: 55px;
+
z-index:3;
+
 
}
 
}
nav {
+
.fp-slides {
        margin:0;
+
    z-index:1;
padding:0;
+
    height: 100%;
height: 55px;
+
    overflow: hidden;
 +
    position: relative;
 +
    -webkit-transition: all 0.3s ease-out; /* Safari<=6 Android<=4.3 */
 +
    transition: all 0.3s ease-out;
 
}
 
}
nav ul {
+
.fp-section.fp-table, .fp-slide.fp-table {
  margin: 0;
+
    display: table;
  list-style: none;
+
    table-layout:fixed;
  background:white;
+
    width: 100%;
 
}
 
}
nav ul li {
+
.fp-tableCell {
  float:left;
+
    display: table-cell;
  display: inline-block;
+
    vertical-align: middle;
  position: relative;
+
    width: 100%;
  padding-top:10px;
+
    height: 100%;
  width: 190px;
+
  height: 42px;
+
  text-align:center;
+
  line-height:42px
+
  margin-left:0vw;
+
  margin-right:0vw;
+
 
}
 
}
nav ul li ul{
+
.fp-slidesContainer {
position:absolute;
+
    float: left;
        top:46px;
+
    position: relative;
        left:-29.5px;
+
        margin-left:0px;
+
background:black;
+
        width:190px;
+
 
}
 
}
nav ul li ul li{
+
.fp-controlArrow {
margin-left: 0;
+
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
position: relative;
+
    -moz-user-select: none; /* mozilla browsers */
text-align: center;
+
    -khtml-user-select: none; /* webkit (konqueror) browsers */
        line-height:42px
+
    -ms-user-select: none; /* IE10+ */
float:none;
+
    position: absolute;
display: none;
+
    z-index: 4;
border-radius:1px;
+
    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);
 
}
 
}
nav a {
+
.fp-controlArrow.fp-prev {
  color:#F5F5F5!important;
+
    left: 15px;
  font-family: monospace;
+
    width: 0;
  font-size: 23px;
+
    border-width: 38.5px 34px 38.5px 0;
  text-decoration:none;
+
    border-color: transparent #fff transparent transparent;
 
}
 
}
/*nav a::before {
+
.fp-controlArrow.fp-next {
  content: '';
+
    right: 15px;
  display: block;
+
    border-width: 38.5px 0 38.5px 34px;
  height: 3px;
+
    border-color: transparent transparent transparent #fff;
  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{
+
.fp-scrollable {
color:black!important;
+
    overflow: hidden;
        text-decoration:none;
+
    position: relative;
 
}
 
}
/*nav a:hover::before {
+
.fp-scroller{
  width: 100%;
+
    overflow: hidden;
}*/
+
nav ul li:hover ul li{
+
display: block;
+
transition: 300ms;
+
 
}
 
}
.parallax {
+
.iScrollIndicator{
     background-image: url("https://static.igem.org/mediawiki/2018/1/11/T--CCU_Taiwan--LGOG_3.gif");
+
     border: 0 !important;
    height: 100vh;
+
    background-attachment: fixed;
+
    background-position: center;
+
    background-repeat: no-repeat;
+
    background-size: cover;
+
    z-index: 2;
+
 
}
 
}
 
+
.fp-notransition {
#homelogo {
+
    -webkit-transition: none !important;
width: 100%;
+
    transition: none !important;
position: relative;
+
z-index: -2;
+
margin:0;
+
height:100vh;
+
 
}
 
}
 
+
#fp-nav {
.scroll-down {
+
    position: fixed;
  background: none;
+
    z-index: 100;
  position:absolute;
+
    margin-top: -32px;
  transition: all .5s ease-in 3s;
+
    top: 50%;
  top:70vh;
+
    opacity: 1;
  left: 50%;
+
    -webkit-transform: translate3d(0,0,0);
  margin-left: -24px;
+
  z-index: 3;
+
  -webkit-transition: all .5s ease-in 3s;
+
  -webkit-animation: bounce 2s infinite 2s;
+
  animation: bounce 2s infinite 2s;
+
  -webkit-transition: all .2s ease-in;
+
  transition: all .2s ease-in;
+
 
}
 
}
 
+
#fp-nav.fp-right {
.scroll-down img:hover {
+
    right: 17px;
  opacity: .5;
+
 
}
 
}
 
+
#fp-nav.fp-left {
/*.a {
+
    left: 17px;
  background: transparent;
+
}
}*/
+
.fp-slidesNav{
 
+
     position: absolute;
.scroll-down: before {
+
     z-index: 4;
      
+
     opacity: 1;
position: absolute;
+
    -webkit-transform: translate3d(0,0,0);
      
+
     -ms-transform: translate3d(0,0,0);
top: calc(50% - 8px);
+
     transform: translate3d(0,0,0);
      
+
     left: 0 !important;
left: calc(50% - 6px);
+
     right: 0;
      
+
     margin: 0 auto !important;
transform: rotate(-45deg);
+
}
      
+
.fp-slidesNav.fp-bottom {
display: block;
+
    bottom: 17px;
      
+
}
width: 12px;
+
.fp-slidesNav.fp-top {
      
+
    top: 17px;
height: 12px;
+
}
      
+
#fp-nav ul,
content: "";
+
.fp-slidesNav ul {
   
+
   margin: 0;
border: 2px solid white;
+
   padding: 0;
   
+
}
border-width: 0px 0 2px 2px;
+
#fp-nav ul li,
 
+
.fp-slidesNav ul li {
}
+
     display: block;
 
+
    width: 14px;
@keyframes bounce {
+
     height: 13px;
    
+
     margin: 7px;
0%,
+
    position:relative;
    
+
}
100%,
+
.fp-slidesNav ul li {
 
+
     display: inline-block;
20%,
+
}
 
+
#fp-nav ul li a,
50%,
+
.fp-slidesNav ul li a {
 
+
    display: block;
80% {
+
     position: relative;
      
+
    z-index: 1;
  -webkit-transform: translateY(0);
+
     width: 100%;
      
+
    height: 100%;
  -ms-transform: translateY(0);
+
     cursor: pointer;
      
+
    text-decoration: none;
  transform: translateY(0);
+
}
+
#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{
40% {
+
    height: 12px;
      
+
     width: 12px;
-webkit-transform: translateY(-10px);
+
    margin: -6px 0 0 -6px;
      
+
    border-radius: 100%;
-ms-transform: translateY(-10px);
+
      
+
transform: translateY(-10px);
+
 
+
}
+
 
+
60% {
+
      
+
-webkit-transform: translateY(-5px);
+
   
+
-ms-transform: translateY(-5px);
+
      
+
transform: translateY(-5px);
+
 
+
 
  }
 
  }
 +
#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;
 +
}
  
 +
.fp-responsive .fp-auto-height-responsive.fp-section,
 +
.fp-responsive .fp-auto-height-responsive .fp-slide,
 +
.fp-responsive .fp-auto-height-responsive .fp-tableCell {
 +
    height: auto !important;
 
}
 
}
  
 
+
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
.content {
+
form,fieldset,input,textarea,p,blockquote,th,td {
  margin-top: 50px;
+
    padding: 0;
  width: 80%;
+
    margin: 0;
  margin-left: 200px;
+
  z-index: 4;
+
  padding-bottom: 50px;
+
  position: absolute;
+
 
}
 
}
 +
a{
 +
text-decoration:none;
 +
}
 +
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;
  
#fullPage {
+
}
margin:0;
+
h1,h2,h3,h4,h5,h6 {
        background: white;
+
    font-weight: normal;
 +
    font-size: 100%;
 +
    margin:0;
 +
    padding:0;
 +
    color:#444;
 +
}
 +
q:before,q:after {
 +
    content:'';
 +
}
 +
abbr,acronym { border: 0;
 
}
 
}
  
  
 +
/* Custom CSS
 +
* --------------------------------------- */
 +
body{
 +
font-family: arial,helvetica;
 +
color: #333;
 +
color: rgba(0,0,0,0.5);
 +
}
 +
.wrap{
 +
margin-left: auto;
 +
margin-right: auto;
 +
width: 960px;
 +
position: relative;
 +
}
 +
h1{
 +
font-size: 6em;
 +
}
 +
p{
 +
font-size: 2em;
 +
}
 +
.intro p{
 +
width: 50%;
 +
margin: 0 auto;
 +
font-size: 1.5em;
 +
}
 
.section{
 
.section{
margin:0;
+
text-align:center;
padding:0;
+
 
}
 
}
 
+
#menu li {
 
+
display:inline-block;
.section2 {
+
margin: 10px;
        background: #EFB653;
+
color: #000;
        z-index: 3;
+
background:#fff;
        height: 100%;
+
background: rgba(255,255,255, 0.5);
 +
-webkit-border-radius: 10px;
 +
            border-radius: 10px;
 +
}
 +
#menu li.active{
 +
background:#666;
 +
background: rgba(0,0,0, 0.5);
 +
color: #fff;
 +
}
 +
#menu li a{
 +
text-decoration:none;
 +
color: #000;
 +
}
 +
#menu li.active a:hover{
 +
color: #000;
 
}
 
}
/*h3 {
+
#menu li:hover{
  color:#e5e5e5;
+
background: rgba(255,255,255, 0.8);
}*/
+
.first {
+
  font-size: 60px!important;
+
  color: #F8F8FF;
+
  margin-left: 30px;
+
  margin-bottom: -30px!important;
+
  margin-top: -40px!important;
+
 
}
 
}
.second {
+
#menu li a,
  font-size: 35px!important;
+
#menu li.active a{
  color: #F8F8FF;
+
padding: 9px 18px;
  margin-left: 30px;
+
display:block;
 
}
 
}
.description {
+
#menu li.active a{
  font-size: 18px!important;
+
color: #fff;
  color: #F8F8FF;
+
  margin-left: 30px;
+
 
}
 
}
#logo{
+
#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;
 
 
}
 
}
.interlab {
+
.twitter-share-button{
  background: black;
+
position: fixed;
  margin: 0 auto;
+
z-index: 99;
  padding-top:50px;
+
right: 149px;
  padding-left:150px;
+
top: 9px;
  padding-right:150px;
+
  padding-bottom: 150px;
+
  position: relative;
+
  list-style-type:decimal;
+
  font-color:#F8F8FF;
+
}
+
.title{
+
  font-size: 18px!important;
+
  color: #F8F8FF;
+
  line-height:25px;
+
 
}
 
}
 +
#download{
 +
margin: 10px 0 0 0;
 +
padding: 15px 10px;
 +
color: #fff;
 +
text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
 +
background-color: #49afcd;
 +
background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
 +
background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
 +
background-image: -webkit-gradient(linear,0 0,0 100%,from( #5bc0de),to( #2f96b4));
 +
background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
 +
background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
 +
background-image: linear-gradient(top, #5bc0de, #2f96b4);
 +
background-repeat: repeat-x;
 +
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
 +
border-color: #2f96b4 #2f96b4 #1f6377;
 +
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
 +
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  
 
+
-webkit-border-radius: 6px;
.interlab li {
+
-moz-border-radius: 6px;
  color:white!important;
+
border-radius: 6px;
 +
vertical-align: middle;
 +
cursor: pointer;
 +
display: inline-block;
 +
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
 +
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
 +
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
 
}
 
}
 
+
#download a{
#partvideo {
+
text-decoration:none;
  height: document.documentElement.scrollHeight - document.documentElement.clientHeight;
+
color:#fff;
 +
}
 +
#download:hover{
 +
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
 +
background-color: #2F96B4;
 +
background-position: 0 -15px;
 +
-webkit-transition: background-position .1s linear;
 +
-moz-transition: background-position .1s linear;
 +
-ms-transition: background-position .1s linear;
 +
-o-transition: background-position .1s linear;
 +
transition: background-position .1s linear;
 +
}
 +
#infoMenu{
 +
height: 20px;
 +
color: #f2f2f2;
 +
position:fixed;
 +
z-index:70;
 +
bottom:0;
 +
width:100%;
 +
text-align:right;
 +
font-size:0.9em;
 +
padding:8px 0 8px 0;
 +
}
 +
#infoMenu ul{
 +
padding: 0 40px;
 +
}
 +
#infoMenu li a{
 +
display: block;
 +
margin: 0 22px 0 0;
 +
color: #333;
 +
}
 +
#infoMenu li a:hover{
 +
text-decoration:underline;
 +
}
 +
#infoMenu li{
 +
display:inline-block;
 +
position:relative;
 +
}
 +
#examplesList{
 +
display:none;
 +
background: #282828;
 +
-webkit-border-radius: 6px;
 +
-moz-border-radius: 6px;
 +
border-radius: 6px;
 +
padding: 20px;
 +
float: left;
 +
position: absolute;
 +
bottom: 29px;
 +
right: 0;
 +
width:638px;
 +
text-align:left;
 +
}
 +
#examplesList ul{
 +
padding:0;
 +
}
 +
#examplesList ul li{
 +
display:block;
 +
margin: 5px 0;
 +
}
 +
#examplesList ul li a{
 +
color: #BDBDBD;
 +
margin:0;
 +
}
 +
#examplesList ul li a:hover{
 +
color: #f2f2f2;
 +
}
 +
#examplesList .column{
 +
float: left;
 +
margin: 0 20px 0 0;
 +
}
 +
#examplesList h3{
 +
color: #f2f2f2;
 +
font-size: 1.2em;
 +
margin: 0 0 15px 0;
 +
border-bottom: 1px solid rgba(0, 0, 0, 0.4);
 +
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
 +
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1);
 +
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
 +
padding: 0 0 5px 0;
 
}
 
}
  
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 08:01, 7 August 2018