MediaWiki:Common.css: mudanças entre as edições

sem sumário de edição
Sem resumo de edição
Sem resumo de edição
Linha 579: Linha 579:
/* Tests */
/* Tests */


#slide{
*{box-sizing: border-box; -webkit-box-sizing: border-box; }
width:96%;
html, body { height: 100%; }
}
body { margin: 0; font: 16px/1.3 sans-serif; }
 
* {
 
box-sizing: border-box
.CSSgal {
  position: relative;
  overflow: hidden;
  height: 100%; /* Or set a fixed height */
}
 
/* SLIDER */
 
.CSSgal .slider {
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  transition: 0.8s;
}
}


.mySlides {
/* SLIDES */
display: none
 
.CSSgal .slider > * {
  font-size: 1rem;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  height: 100%;
  width: 100%;
  background: none 50% no-repeat;
  background-size: cover;
}
}


.slideshow-container {
/* PREV/NEXT, CONTAINERS & ANCHORS */
width: auto;
position: relative;
margin: -10px;


.CSSgal .prevNext {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 100%;
  height: 0;
}
}
/* Next & previous buttons */
 
.prev, .next {
.CSSgal .prevNext > div+div {
cursor: pointer;
  visibility: hidden; /* Hide all but first P/N container */
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: #494B55;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}
}
/* Position the "next button" to the right */
 
.next {
.CSSgal .prevNext a {
right: 0;
  background: #fff;
border-radius: 3px 0 0 3px;
  position: absolute;
  width:      60px;
  height:      60px;
  line-height: 60px; /* If you want to place numbers */
  text-align: center;
  opacity: 0.7;
  -webkit-transition: 0.3s;
          transition: 0.3s;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0;
}
}
/* On hover, add a black background color with a little bit see-through */
.CSSgal .prevNext a:hover {
.prev:hover, .next:hover {
  opacity: 1;
background-color: rgba(0,0,0,0.8);
}
}
/* Caption text */
.CSSgal .prevNext a+a {
.text {
  left: auto;
color: #f2f2f2;
  right: 0;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
}


/* The dots/bullets/indicators */
/* NAVIGATION */
.dot {
 
cursor: pointer;
.CSSgal .bullets {
height: 13px;
  position: absolute;
width: 13px;
  z-index: 2;
margin: 0 2px;
  bottom: 0;
background-color: #bbb;
  padding: 10px 0;
border-radius: 50%;
  width: 100%;
display: inline-block;
  text-align: center;
transition: background-color 0.6s ease;
}
}
.active, .dot:hover {
.CSSgal .bullets > a {
background-color: #494B55;
  display: inline-block;
  width:      30px;
  height:      30px;
  line-height: 30px;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 1);
  -webkit-transition: 0.3s;
          transition: 0.3s;
}
}
/* Fading animation */
.CSSgal .bullets > a+a {
.fade {
  background: rgba(255, 255, 255, 0.5); /* Dim all but first */
-webkit-animation-name: fade;
-webkit-animation-duration: 2s;
animation-name: fade;
animation-duration: 2s;
}
}
@-webkit-keyframes fade {
.CSSgal .bullets > a:hover {
   from {opacity: .4}
   background: rgba(255, 255, 255, 0.7) !important;
  to {opacity: 1}
}
}


@keyframes fade {
/* NAVIGATION BUTTONS */
   from {opacity: .4}  
/* ALL: */
   to {opacity: 1}
.CSSgal >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,  1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,   1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,  1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,  1);}
/* More slides? Add here more rules */
 
/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.CSSgal >s:target ~ .prevNext >* {      visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */
 
/* SLIDER ANIMATION POSITIONS */
 
#s1:target ~ .slider {transform: translateX(  0%); -webkit-transform: translateX(   0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
 
 
.CSSgal{
  color: #fff; 
  text-align: center;
}
}
 
.CSSgal .slider h2 {
/* On smaller screens, decrease text size */
  margin-top: 40vh;
@media only screen and (max-width: 300px) {
  font-weight: 200;
   .text {font-size: 11px}
  letter-spacing: -0.06em;
   word-spacing: 0.2em;
  font-size: 3em;
}
}
 
.CSSgal a {
.pics
  border-radius: 50%;
{
  margin: 0 3px;
    border:3px solid #494B55;
  color: rgba(0,0,0,0.8);
    width:200px;
  text-decoration: none;
}
}