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

Line 314: Line 314:
 
.container.mainBox {
 
.container.mainBox {
 
     position: relative;
 
     position: relative;
     padding: 100px 1em 100px 1em;
+
     padding: 100px 10px;
 
     margin: 0;
 
     margin: 0;
 
     text-align: justify;
 
     text-align: justify;
Line 332: Line 332:
 
     box-shadow: 2px 2px 20px slategray;
 
     box-shadow: 2px 2px 20px slategray;
 
     background-color: snow !important;
 
     background-color: snow !important;
     padding: 4em 4rem;
+
     padding: 40px 60px;
 
     z-index: 2;
 
     z-index: 2;
 
}
 
}
Line 373: Line 373:
 
.xjtuText p.brown b{  
 
.xjtuText p.brown b{  
 
     color: var(--fdtbrown)!important;
 
     color: var(--fdtbrown)!important;
 +
}
 +
 +
@media (max-width:768px) {
 +
    .page{
 +
        padding: 20px 30px;
 +
    }
 +
   
 
}
 
}
  

Revision as of 06:36, 7 July 2021