Difference between revisions of "Template:ECUST/CSS"

Line 1: Line 1:
 
<html>
 
<html>
 
<style>
 
<style>
 +
 +
  
  
Line 907: Line 909:
 
}
 
}
  
@media screen and (min-width: 992px) and (max-width: 1199px){
+
@media screen and (min-width: 1000px) and (max-width: 1199px){
 
     main {
 
     main {
 
         margin-right: 30px;
 
         margin-right: 30px;
Line 940: Line 942:
 
}
 
}
  
@media only screen and (max-width: 991px) {
+
@media only screen and (max-width: 1000px) {
 
     .contentbox figure, .contentbox p, .contentbox .pdf-resources, .contentbox ul {
 
     .contentbox figure, .contentbox p, .contentbox .pdf-resources, .contentbox ul {
 
         padding: 10px !important;
 
         padding: 10px !important;
Line 972: Line 974:
 
         position: absolute;
 
         position: absolute;
 
         margin: 0;
 
         margin: 0;
         width: 80px;
+
         width: 150px;
 
         height: 80px;
 
         height: 80px;
 
         border-radius: 0px;
 
         border-radius: 0px;
Line 1,001: Line 1,003:
 
         font-weight: medium;
 
         font-weight: medium;
 
         text-align: center;
 
         text-align: center;
         height: 70px;
+
         height: 50px;
 
         min-width: 130px;
 
         min-width: 130px;
 
         line-height: 42px;
 
         line-height: 42px;
Line 1,034: Line 1,036:
  
 
     nav ul a:hover, nav ul li:hover .dropbtn, .show .dropbtn{
 
     nav ul a:hover, nav ul li:hover .dropbtn, .show .dropbtn{
         height: 70px;
+
         height: 50px;
 
     }
 
     }
  
Line 1,150: Line 1,152:
 
     55%, 75%, 87%, 97%, 100% { transform: translateY(0px);}
 
     55%, 75%, 87%, 97%, 100% { transform: translateY(0px);}
 
}
 
}
 +
 +
 +
  
  

Revision as of 10:37, 15 August 2018