Difference between revisions of "Template:NUDT CHINA/myCSS"

 
Line 43: Line 43:
 
   padding-bottom: 30px!important;
 
   padding-bottom: 30px!important;
 
   color: #333!important;
 
   color: #333!important;
}
 
 
/* Back to top button */
 
.back-to-top {
 
  position: fixed!important;
 
  background: #18d26e!important;
 
  background-repeat: no-repeat!important;
 
  background-size: contain!important;
 
  color: #fff!important;
 
  display: inline-block!important;
 
  width: 60px!important;
 
  height: 60px!important;
 
  text-align: center!important;
 
  line-height: 1!important;
 
  font-size: 16px!important;
 
  border-radius: 50%!important;
 
  right: 30px!important;
 
  bottom: 30px!important;
 
  transition: background 0.5s!important;
 
  z-index: 500!important;
 
}
 
 
.back-to-top i {
 
  padding-top: 12px!important;
 
  color: #fff!important;
 
}
 
 
@media (max-width: 768px) {
 
  .back-to-top {
 
    bottom: 30px!important;
 
  }
 
 
}
 
}

Latest revision as of 16:07, 1 July 2018

  1. content {
   padding: 0px;
   margin: 0px;
   width: 100%;

}

/* Sections Header


*/

.section-header h3 {

 font-size: 32px!important;
 color: #111!important;
 text-transform: uppercase!important;
 text-align: center!important;
 font-weight: 700!important;
 position: relative!important;
 padding-bottom: 15px!important;

}

.section-header h3::before {

 content: !important;
 position: absolute!important;
 display: block!important;
 width: 120px!important;
 height: 1px!important;
 background: #ddd!important;
 bottom: 1px!important;
 left: calc(50% - 60px)!important;

}

.section-header h3::after {

 content: !important;
 position: absolute!important;
 display: block!important;
 width: 40px!important;
 height: 3px!important;
 background: #18d26e!important;
 bottom: 0!important;
 left: calc(50% - 20px)!important;

}

.section-header p {

 text-align: center!important;
 padding-bottom: 30px!important;
 color: #333!important;

}