Difference between revisions of "Template:WHU-China"

 
(35 intermediate revisions by the same user not shown)
Line 17: Line 17:
  
 
     <style>
 
     <style>
 +
@import url("https://fonts.googleapis.com/css?family=Roboto|Open+Sans|Raleway|Montserrat");
 +
 
@media screen and (max-width: 1600px) {
 
@media screen and (max-width: 1600px) {
 
     body {
 
     body {
Line 28: Line 30:
 
     }
 
     }
 
}  
 
}  
 
 
/**************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************/
 
/*MENU STYLE */
 
/*MENU STYLE */
Line 75: Line 76:
 
#sideMenu, #top_title, .patrollink  {display:none;}
 
#sideMenu, #top_title, .patrollink  {display:none;}
 
#content { margin-left:0px; margin-top:0px; padding:0px; width:100%;height:100%;}
 
#content { margin-left:0px; margin-top:0px; padding:0px; width:100%;height:100%;}
body {background-color:#C1F2FF; }
+
body {background-color:#C1F2FF;font-family:"Raleway","Microsoft YaHei","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif!important; }
+
        h1,h2,h3,h4{
 +
font-family:font-family:"Montserrat","Lato","Microsoft YaHei","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif!important;
 +
}
 +
p{
 +
font-family:"Raleway","Microsoft YaHei","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif!important;
 +
}
 +
 
 +
#toTop {
 +
    background-position: center center;
 +
    text-decoration: none;
 +
    position: fixed;
 +
    bottom: 30px;
 +
    right: 2%;
 +
    overflow: hidden;
 +
    z-index: 999;
 +
    width: 32px;
 +
    height: 32px;
 +
    border: none;
 +
    text-indent: 100%;
 +
    background: #fff url(https://static.igem.org/mediawiki/2018/f/f0/T--WHU-China--wiki-arr.png)  no-repeat 0.06em 0.06em ;
 +
    box-shadow: 0 0 0 20px rgba(123,191,234, 0.32), 0 0 0 10px rgba(255, 255, 255, 0.5);
 +
    border-radius: 50%;
 +
}
 +
#toTop:hover {
 +
    background-color:rgba(0, 0, 0, 0.6)
 +
}
 +
 
 +
p{
 +
color:#434343!important;
 +
}
 
</style>
 
</style>
  
Line 98: Line 128:
 
<!-----------------------------------------导航条------------------------------------------------------->
 
<!-----------------------------------------导航条------------------------------------------------------->
  
 +
 +
 +
<a href="#" id="toTop"></a>
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
 
<!--- Content of the page  --->
 
<!--- Content of the page  --->

Latest revision as of 02:48, 16 October 2018