Difference between revisions of "Team:XMU-China/css/home"

Line 24: Line 24:
 
}
 
}
 
.main .main_top p {
 
.main .main_top p {
     font-size: 1.5vw;
+
     font-size: 1.5vw!important;
 
     line-height: 2vw;
 
     line-height: 2vw;
 
     font-weight: lighter;
 
     font-weight: lighter;
Line 53: Line 53:
 
@media screen and (min-width: 45.0625rem) and (max-width: 768px) {
 
@media screen and (min-width: 45.0625rem) and (max-width: 768px) {
 
.main .main_top p {
 
.main .main_top p {
         font-size: 1rem;
+
         font-size: 1rem!important;
 
     }
 
     }
  
Line 77: Line 77:
 
     text-indent: 2rem;
 
     text-indent: 2rem;
 
     line-height: 2rem;
 
     line-height: 2rem;
     font-size: 1.56rem;
+
     font-size: 1.56rem!important;
 
     font-family: sans-serif;
 
     font-family: sans-serif;
 
     font-weight: lighter;
 
     font-weight: lighter;
Line 87: Line 87:
 
     }
 
     }
 
     .main .main_middle p{
 
     .main .main_middle p{
         font-size: 0.8rem;
+
         font-size: 0.8rem!important;
 
         line-height: 1.3rem;
 
         line-height: 1.3rem;
 
     }
 
     }
Line 96: Line 96:
 
     }
 
     }
 
     .main .main_middle p{
 
     .main .main_middle p{
         font-size: 1rem;
+
         font-size: 1rem!important;
 
         line-height: 1.3rem;
 
         line-height: 1.3rem;
 
     }
 
     }
Line 178: Line 178:
 
}
 
}
 
@media screen and (max-width: 45rem){
 
@media screen and (max-width: 45rem){
     #footer_bottom_word,.footer_bottom_1_pic1{
+
     .footer_position,.footer_bottom_1_pic1{
 
         display: none;
 
         display: none;
 
     }
 
     }

Revision as of 07:37, 20 September 2018

.main {

   position: relative;
   background: -webkit-gradient(linear,0% 0%, 0% 100%, from(#6181B4), to(#9BC9F1));
   top: 5rem;
   bottom: 0;

} .bg_white {

   height: 12vw;
   width: 0px;
   border-right: 100vw solid white;
   border-bottom: 10vw solid transparent;
   position: absolute;
   z-index: 0;

} .bg_bottom{

   width: 100vw;
   margin-bottom: 8vw;

} .main .main_top {

   position: relative;
   padding-top: 1vw;
   padding-left: 20vw;
   font-family: sans-serif;

} .main .main_top p {

   font-size: 1.5vw!important;
   line-height: 2vw;
   font-weight: lighter;
   text-align: left!important;
   padding-bottom: 1.5vw;
   color: #2500b3;

} .main .main_top div {

   text-align: left;
   font-size: 4.5vw;
   font-weight: bolder;
   color: #2500b3;
   padding-bottom: 1.5vw;

} @media screen and (max-width: 45rem) {

   .bg_white {
       height: 15vw;
       border-bottom: 10vw solid transparent;
   }
   .bg_bottom{
       width: 100vw;
       margin-bottom: 15vw;
   }
   .main .main_top p {
       font-size: 0.9rem;
   }

} @media screen and (min-width: 45.0625rem) and (max-width: 768px) { .main .main_top p {

       font-size: 1rem!important;
   }

} .main .main_middle {

   position: relative;
   width: 80vw;
   margin: 0 10vw;
   z-index: 1;
   color: #fff;
   padding-top: 3vw;

} .main .main_middle>div>div {

   font-size: 2.6rem;
   font-weight: bold;
   font-family: sans-serif;
   padding-bottom: 1rem;
   text-align: center;
   font-weight: unset;

} .main .main_middle p {

   text-align: left;
   text-indent: 2rem;
   line-height: 2rem;
   font-size: 1.56rem!important;
   font-family: sans-serif;
   font-weight: lighter;
   text-align: left;

} @media screen and (max-width: 45rem) {

   .main .main_middle>div>div{
       font-size: 1.5rem;
   }
   .main .main_middle p{
       font-size: 0.8rem!important;
       line-height: 1.3rem;
   }

} @media screen and (max-width: 768px) and (min-width: 45rem){

   .main .main_middle>div>div{
       font-size: 1.5rem;
   }
   .main .main_middle p{
       font-size: 1rem!important;
       line-height: 1.3rem;
   }

} @media screen and (max-width: 90rem) and (min-width: 768px){

   .main .main_middle>div>div{
       font-size: 2.3rem;
   }
   .main .main_middle p{
       font-size: 1.3rem;
       line-height: 1.6rem;
   }

} .footer{

   position: relative;

} .footer .footer_line {

   position: relative;
   background-color: #2500b3;
   width: 80vw;
   height: 0.1rem;
   left: 10vw;
   right: 10vw;
   margin-top: 2vw;

} .footer .footer_bottom .footer_bottom_1 {

   padding-top: 2vw;
   padding-bottom: 5vw;
   width: 100%;

} .footer_bottom_1_pic1 {

   height: 4vw;
   float: left;
   position: relative;
   left: 30vw;

} .footer_bottom_1_pic2 {

   height: 4vw;
   float: left;
   position: relative;
   left: 33vw;

}

  1. Contact_us {
   font-size: 1.5vw;
   padding: 0.25vw 0;
   float: left;
   position: relative;
   font-family: sans-serif !important;
   left: 25vw;
   color: #2500b3;

} .footer .footer_bottom .footer_bottom_2 {

   width: 100%;
   height: 5vw;

} .footer .footer_bottom .footer_bottom_2 ul li {

   list-style: none;
   font-family: sans-serif;
   cursor: pointer;

} .footer .footer_bottom .footer_bottom_2 ul li img {

   height: 2.5vw;
   float: left;
   padding: 0 1vw;
   position: relative;
   left: 26vw;

} .footer_position {

   padding-left: 50vw;

}

  1. logo_position {
   height: 2.5vw;
   float: left;

}

  1. footer_bottom_word {
   text-align: left !important;
   font-size: 0.8vw;
   line-height: 1.25vw;
   color: #2500b3;
   float: left;

} @media screen and (max-width: 45rem){

   .footer_position,.footer_bottom_1_pic1{
       display: none;
   }
   .footer_bottom_1>img{
       height: 6vw;
   }
   .footer_bottom_1_pic2{
       position: relative;
       left: 22vw;
   }
   .footer_bottom_2{
       position: relative;
       left: 22vw;
       top: -5vw;
   }
   .footer_bottom_2 ul li img {
       height: 5vw!important;
       padding: 0 1vw;
       position: relative;
       left: 26vw;
   }
   #Contact_us{
       font-size: 3vw;
   }

} @media screen and (min-width: 45.0625rem) and (max-width: 89.9375rem){

} @media screen and (min-width: 90rem) {

}