Difference between revisions of "Template:XJTU-China/style"

Line 67: Line 67:
 
}
 
}
  
.logoHolder .sticky{
+
.logoHolder{
 
     position: fixed;
 
     position: fixed;
 
     left: 0;
 
     left: 0;
     top: 0;
+
     top: 16px;
 +
    width: 150px;
 +
    height: 150px;
 
     padding: 10px;
 
     padding: 10px;
    background-color: snow;
+
     opacity: 0;
     opacity: 0.9;
+
 
     border-radius: 50%;
 
     border-radius: 50%;
    box-shadow: 2px 2px 5px slategray!important;
 
 
     z-index: 500;
 
     z-index: 500;
}
 
 
.logo{
 
    /* position: fixed; */
 
    /* top: 10px; */
 
    /* left: 10px; */
 
 
     cursor: pointer;
 
     cursor: pointer;
    width: 150px;
 
 
     transition: .2s;
 
     transition: .2s;
    /* z-index: 500; */
 
 
}
 
}
  
.logo.sticky{
+
.logoHolder.sticky{
     width: 90px;
+
     width: 100px;
 +
    height: 100px;
 +
    background-color: snow;
 +
    opacity: 0.9;
 +
    box-shadow: 2px 2px 5px slategray!important;
 
}
 
}
  

Revision as of 09:57, 29 July 2021