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

Line 41: Line 41:
 
     text-align: left!important;
 
     text-align: left!important;
 
     padding-bottom: 1.5vw;
 
     padding-bottom: 1.5vw;
 +
    width: 60vw;
 
     color: #2500b3;
 
     color: #2500b3;
 
}
 
}
Line 54: Line 55:
 
@media screen and (max-width: 45rem) {
 
@media screen and (max-width: 45rem) {
 
     .bg_white {
 
     .bg_white {
         height: 15vw;
+
         height: 10rem;
 
         border-bottom: 10vw solid transparent;
 
         border-bottom: 10vw solid transparent;
 
     }
 
     }
Line 60: Line 61:
 
         width: 100vw;
 
         width: 100vw;
 
         margin-bottom: 15vw;
 
         margin-bottom: 15vw;
 +
    }
 +
    .main .main_top{
 +
        padding-top: 0;
 +
        margin: 1rem 0;
 +
        padding-left: 15vw;
 +
    }
 +
    .main .main_top div{
 +
        font-size: 1.3rem;
 
     }
 
     }
 
     .main .main_top p {
 
     .main .main_top p {
         font-size: 0.9rem!important;
+
         font-size: 0.6rem!important;
 +
        line-height: 0.7rem!important;
 +
        width: 72.5vw;
 +
    }
 +
    .main{
 +
        position: relative;
 +
        top: 3rem;
 
     }
 
     }
 
}
 
}
Line 85: Line 100:
 
     font-weight: bold;
 
     font-weight: bold;
 
     font-family: sans-serif!important;
 
     font-family: sans-serif!important;
     padding-bottom: 1rem;
+
     padding-bottom: 1vw;
 
     text-align: center;
 
     text-align: center;
 
     font-weight: unset;
 
     font-weight: unset;
Line 105: Line 120:
 
     .main .main_middle p {
 
     .main .main_middle p {
 
         font-size: 0.8rem!important;
 
         font-size: 0.8rem!important;
         line-height: 1.3rem;
+
         line-height: 1.1rem;
 
     }
 
     }
 
}
 
}
Line 164: Line 179:
  
 
#Contact_us {
 
#Contact_us {
     font-size: 1.5vw;
+
     font-size: 1.5vw!important;
 
     padding: 0.25vw 0;
 
     padding: 0.25vw 0;
 
     float: left;
 
     float: left;
 
     position: relative;
 
     position: relative;
 
     font-family: sans-serif !important;
 
     font-family: sans-serif !important;
     left: 25vw;
+
     margin-left: 25vw;
 
     color: #2500b3;
 
     color: #2500b3;
 
}
 
}
  
 
.footer .footer_bottom .footer_bottom_2 {
 
.footer .footer_bottom .footer_bottom_2 {
    width: 100%;
 
 
     height: 5vw;
 
     height: 5vw;
 
}
 
}
Line 189: Line 203:
 
     padding: 0 1vw;
 
     padding: 0 1vw;
 
     position: relative;
 
     position: relative;
    left: 26vw;
 
 
}
 
}
  
Line 209: Line 222:
 
}
 
}
  
@media screen and (max-width: 45rem) {
+
@media screen and (max-width: 768px) {
 
     .footer_position,
 
     .footer_position,
 
     .footer_bottom_1_pic1 {
 
     .footer_bottom_1_pic1 {
Line 215: Line 228:
 
     }
 
     }
 
     .footer_bottom_1>img {
 
     .footer_bottom_1>img {
         height: 6vw;
+
         height: 5vw;
 
     }
 
     }
 
     .footer_bottom_1_pic2 {
 
     .footer_bottom_1_pic2 {
Line 223: Line 236:
 
     .footer_bottom_2 {
 
     .footer_bottom_2 {
 
         position: relative;
 
         position: relative;
         left: 22vw;
+
         margin-left: 40vw;
 
         top: -5vw;
 
         top: -5vw;
 
     }
 
     }
Line 230: Line 243:
 
         padding: 0 1vw;
 
         padding: 0 1vw;
 
         position: relative;
 
         position: relative;
        left: 26vw;
 
 
     }
 
     }
 
     #Contact_us {
 
     #Contact_us {
         font-size: 3vw;
+
         font-size: 3vw!important;
 +
        line-height: 3vw;
 +
        margin: 1vw 3vw;
 
     }
 
     }
 
}
 
}

Revision as of 09:34, 20 September 2018

.main {

   position: relative;
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6181B4), to(#9BC9F1));
   filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#6181B4', endColorStr='#9BC9F1', gradientType='0');
   background: -moz-linear-gradient(top, #6181B4, #9BC9F1);
   background: -o-linear-gradient(top, #6181B4, #9BC9F1);
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6181B4), to(#9BC9F1));
   background: -webkit-linear-gradient(top, #6181B4, #9BC9F1);
   background: -ms-linear-gradient(top, #6181B4, #9BC9F1);
   background: linear-gradient(top, #6181B4, #9BC9F1);
   top: 5rem;
   bottom: 0;
   z-index: 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;
   width: 60vw;
   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: 10rem;
       border-bottom: 10vw solid transparent;
   }
   .bg_bottom {
       width: 100vw;
       margin-bottom: 15vw;
   }
   .main .main_top{
       padding-top: 0;
       margin: 1rem 0;
       padding-left: 15vw;
   }
   .main .main_top div{
       font-size: 1.3rem;
   }
   .main .main_top p {
       font-size: 0.6rem!important;
       line-height: 0.7rem!important;
       width: 72.5vw;
   }
   .main{
       position: relative;
       top: 3rem;
   }

}

@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!important;
   padding-bottom: 1vw;
   text-align: center;
   font-weight: unset;

}

.main .main_middle p {

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

}

@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.1rem;
   }

}

@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!important;
       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!important;
   padding: 0.25vw 0;
   float: left;
   position: relative;
   font-family: sans-serif !important;
   margin-left: 25vw;
   color: #2500b3;

}

.footer .footer_bottom .footer_bottom_2 {

   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;

}

.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: 768px) {

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

}

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

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