Difference between revisions of "Template:CCU Taiwan/css"

Line 1,751: Line 1,751:
 
.mySlides {display: none}
 
.mySlides {display: none}
 
img {vertical-align: middle;}
 
img {vertical-align: middle;}
/* Slideshow container */
 
.survey1 .slideshow-container {
 
  max-width: 1000px;
 
  position: relative;
 
  margin: auto;
 
  border:1px solid ;
 
 
 
}
 
 
/* Next & previous buttons */
 
.survey1 .prev, .next {
 
  cursor: pointer;
 
  position: absolute;
 
  top: 50%;
 
  width: auto;
 
  padding: 16px!important;;
 
  margin-top: -22px!important;;
 
  color: #d1c17e;
 
  font-weight: bold;
 
  font-size: 60px;
 
  transition: 0.6s ease;
 
  border-radius: 0 3px 3px 0;
 
  padding-right: 0!important;
 
  margin-left: 0!important;
 
      text-decoration: none!important;
 
}
 
 
/* Position the "next button" to the right */
 
.survey1 .next {
 
  right: 0;
 
  border-radius: 3px 0 0 3px;
 
}
 
 
 
/* Caption text */
 
.survey1 .text {
 
  color: #f2f2f2;
 
  font-size: 15px;
 
  padding: 8px 12px;
 
  position: absolute;
 
  bottom: 8px;
 
  width: 100%;
 
  text-align: center;
 
}
 
 
/* Number text (1/3 etc) */
 
.survey1 .numbertext {
 
  color: #f2f2f2;
 
  font-size: 12px;
 
  padding: 8px 12px;
 
  position: absolute;
 
  top: 0;
 
}
 
 
/* The dots/bullets/indicators */
 
.survey1 .dot {
 
  cursor: pointer;
 
  height: 15px;
 
  width: 15px;
 
  margin: 0 2px;
 
  background-color: #bbb;
 
  border-radius: 50%;
 
  display: inline-block;
 
  transition: background-color 0.6s ease;
 
}
 
 
.survey1 .active, .dot:hover {
 
  background-color: #717171;
 
}
 
 
/* Fading animation */
 
.survey1 .fade {
 
  -webkit-animation-name: fade;
 
  -webkit-animation-duration: 1.5s;
 
  animation-name: fade;
 
  animation-duration: 1.5s;
 
}
 
 
@-webkit-keyframes fade {
 
  from {opacity: .4}
 
  to {opacity: 1}
 
}
 
 
@keyframes fade {
 
  from {opacity: .4}
 
  to {opacity: 1}
 
}
 
 
/* On smaller screens, decrease text size */
 
@media only screen and (max-width: 300px) {
 
.survey1  .prev, .next,.text {font-size: 11px}
 
}
 
  
 
/* Slideshow container */
 
/* Slideshow container */
.survey .slideshow-container {
+
.slideshow-container {
 
   max-width: 1000px;
 
   max-width: 1000px;
 
   position: relative;
 
   position: relative;
Line 1,854: Line 1,762:
  
 
/* Next & previous buttons */
 
/* Next & previous buttons */
.survey .prev, .next {
+
.prev, .next {
 
   cursor: pointer;
 
   cursor: pointer;
 
   position: absolute;
 
   position: absolute;
Line 1,872: Line 1,780:
  
 
/* Position the "next button" to the right */
 
/* Position the "next button" to the right */
.survey .next {
+
.next {
 
   right: 0;
 
   right: 0;
 
   border-radius: 3px 0 0 3px;
 
   border-radius: 3px 0 0 3px;
Line 1,879: Line 1,787:
  
 
/* Caption text */
 
/* Caption text */
.survey .text {
+
.text {
 
   color: #f2f2f2;
 
   color: #f2f2f2;
 
   font-size: 15px;
 
   font-size: 15px;
Line 1,890: Line 1,798:
  
 
/* Number text (1/3 etc) */
 
/* Number text (1/3 etc) */
.survey .numbertext {
+
.numbertext {
 
   color: #f2f2f2;
 
   color: #f2f2f2;
 
   font-size: 12px;
 
   font-size: 12px;
Line 1,899: Line 1,807:
  
 
/* The dots/bullets/indicators */
 
/* The dots/bullets/indicators */
.survey .dot {
+
.dot {
 
   cursor: pointer;
 
   cursor: pointer;
 
   height: 15px;
 
   height: 15px;
Line 1,910: Line 1,818:
 
}
 
}
  
.survey .active, .dot:hover {
+
.active, .dot:hover {
 
   background-color: #717171;
 
   background-color: #717171;
 
}
 
}
  
 
/* Fading animation */
 
/* Fading animation */
.survey .fade {
+
.fade {
 
   -webkit-animation-name: fade;
 
   -webkit-animation-name: fade;
 
   -webkit-animation-duration: 1.5s;
 
   -webkit-animation-duration: 1.5s;
Line 1,934: Line 1,842:
 
/* On smaller screens, decrease text size */
 
/* On smaller screens, decrease text size */
 
@media only screen and (max-width: 300px) {
 
@media only screen and (max-width: 300px) {
.survey  .prev, .next,.text {font-size: 11px}
+
  .prev, .next,.text {font-size: 11px}
 
}
 
}
  
 
.survey {
 
.survey {
  width:50%!important;
 
  margin-left: 28vw;
 
}
 
 
.survey1 {
 
 
   width:50%!important;
 
   width:50%!important;
 
   margin-left: 28vw;
 
   margin-left: 28vw;
Line 2,217: Line 2,120:
 
   width: 45%;
 
   width: 45%;
 
   margin-left: 30vw;
 
   margin-left: 30vw;
}
 
 
#Poy3 {
 
  margin-left: 35vw;
 
 
}
 
}
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 01:03, 18 October 2018