Difference between revisions of "Template:CCU Taiwan/header footer"

m
m
Line 4: Line 4:
 
html, body{
 
html, body{
 
     height: 100%;
 
     height: 100%;
    width: 100%
 
 
}
 
}
  
Line 10: Line 9:
 
     color: #ffffff;
 
     color: #ffffff;
 
     font-size: 1.25rem;
 
     font-size: 1.25rem;
}
 
.fixed_bg {
 
    height: 100%;
 
    position: relative;
 
}
 
 
.fixed_bg{
 
    background-attachment: fixed;
 
    background-position: center;
 
    background-repeat: no-repeat;
 
    background-size: cover;
 
 
}
 
}
  
Line 28: Line 16:
 
     background-color: #e9ecef;
 
     background-color: #e9ecef;
 
     border-radius: .3rem;
 
     border-radius: .3rem;
}
 
 
.wordcenter{
 
    position: absolute;
 
    left: 50%;
 
    top: 50%;
 
    bottom: auto;
 
    right: auto;
 
    -webkit-transform: translateX(-50%) translateY(-50%);
 
    transform: translateX(-50%) translateY(-50%);
 
    text-align: center;
 
}
 
 
.shadow{
 
    box-shadow: 0 0 0 rgba(0,0,0,0)!important;
 
 
}
 
}
  
Line 130: Line 103:
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
 
#gotop a{
 
    display: block;
 
    position: fixed;
 
    height: 45px;
 
    width: 50px;
 
    right: 20px;
 
    bottom: 30px;
 
    font-size: 0;
 
    cursor: pointer;
 
    z-index: 1000;
 
    background: url(https://static.igem.org/mediawiki/2020/7/72/T--CCU_Taiwan--mosquito_1.png);
 
}
 
 
#gotop a:hover {
 
    background: url(https://static.igem.org/mediawiki/2020/9/9e/T--CCU_Taiwan--mosquito_2.png);
 
}
 
 
#gotop a:active {
 
    background: url(https://static.igem.org/mediawiki/2020/d/d5/T--CCU_Taiwan--mosquito_3.png);
 
}
 
 
/*home page*/
 
 
.color_1{
 
    background-color: rgb(242, 242, 242);
 
}
 
 
.color_2{
 
    background-color: rgba(227, 227, 227, 1);
 
}
 
 
.color_3{
 
    background-color: rgb(230, 230, 230, 0.8);
 
}
 
 
.color_4{
 
    background-color: rgb(230, 230, 230, 0.8);
 
}
 
 
.color_5{
 
    background-color: rgb(230, 230, 230, 0.8);
 
}
 
 
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 15:19, 28 August 2020