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

 
(9 intermediate revisions by the same user not shown)
Line 398: Line 398:
 
     padding: 1em 0;
 
     padding: 1em 0;
 
     background-color: #2e323e !important;
 
     background-color: #2e323e !important;
 +
    z-index: 202;
 +
}
 +
.page-light{
 +
    border-radius: 20px;
 +
    padding: 1em 0;
 +
    background-color: rgba(250,250,250,0.9) !important;
 
     z-index: 2;
 
     z-index: 2;
 
}
 
}
Line 451: Line 457:
 
     font-weight: 400;
 
     font-weight: 400;
 
}
 
}
.xjtuText h4{
+
.xjtuText h4,
 +
.xjtuText h5{
 
     color: white;
 
     color: white;
 
}
 
}
Line 471: Line 478:
 
     text-decoration-line: underline;
 
     text-decoration-line: underline;
 
     text-transform: capitalize;
 
     text-transform: capitalize;
 +
}
 +
 +
.xjtuText p.nav{
 +
    font-size: 1.2em!important;
 +
    font-weight: bold;
 
}
 
}
  
Line 478: Line 490:
 
}
 
}
  
 +
.xjtuText a.nav{
 +
    text-decoration: none;
 +
    font-size: 1.2em;
 +
}
  
 
.xjtuText .imgWrapper {
 
.xjtuText .imgWrapper {
Line 543: Line 559:
 
     color: white;
 
     color: white;
 
     font-size: 18px;
 
     font-size: 18px;
 +
}
 +
 +
img.hoverLarger {
 +
    cursor: zoom-in;
 +
    transition: 1s;
 +
}
 +
 +
img.hoverLarger:hover{
 +
    transition: 1s;
 +
    transform: scale(1.3);
 
}
 
}
  
Line 550: Line 576:
 
     padding: 1em;
 
     padding: 1em;
 
     border-radius: 15px;
 
     border-radius: 15px;
 +
}
 +
 +
.highlightBox-light {
 +
    width: 95%;
 +
    background-color: rgba(250,250,250,0.8);
 +
    padding: 1em;
 +
    border-radius: 15px;
 +
}
 +
 +
.card.card-dark {
 +
    background-color: #3a3f4f;
 
}
 
}
  
 
@media (max-width:768px) {
 
@media (max-width:768px) {
     .page{
+
     .page,.page-light{
 
         padding: 20px 30px;
 
         padding: 20px 30px;
 
     }
 
     }

Latest revision as of 08:59, 21 October 2021