Difference between revisions of "Template:CCU Taiwan"

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

Revision as of 03:00, 27 July 2018