Diferencia entre revisiones de «MediaWiki:Common.css Ver historial

Sin resumen de edición
Sin resumen de edición
Línea 3: Línea 3:
/* SLIDER */
/* SLIDER */


#slider{
#SliderView {
   width:600px;
  background: #ebebeb82;
   height:250px;
   width: 90%;
   position:relative;
  margin: 15px auto;
   overflow:hidden;
   height: auto;
   position: relative;
   overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  text-align: center;
}
}
@keyframes load{
   from{left:-100%;}
#SliderWrapper {
   to{left:0;}
   position: relative;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-transition-timing-function: cubic-bezier(.67,.01,.23,1);
  -o-transition-timing-function: cubic-bezier(.67,.01,.23,1);
   transition-timing-function: cubic-bezier(.67,.01,.23,1);
}
}
.slides{
   width:400%;
#SliderWrapper, #SliderWrapper ul, #SliderWrapper li, #NavBtns, #NavBtns ul {
  height:100%;
   margin: 0px;
  position:relative;
   padding: 0px;
  -webkit-animation:slide 30s infinite;
  -moz-animation:slide 30s infinite;
   animation:slide 30s infinite;
}
}
.slider{
  width:25%;
.Sld {
   height:100%;
   height: auto;
   float:left;
   list-style: none;
   position:relative;
   display: inline;
   z-index:1;
   float: left;
  overflow:hidden;
}
}
.slide img{
   width:100%;
.SlideIMG {
  height:100%;
   width: 100%;
}
}
.slide img{
   width:100%;
.SlideIMG img {
   height:100%;
   display: block;
  max-width: 100%;
   height: auto;
  min-width: 100%;
  min-height: 100%;
  position: relative;
}
}
.image{
   width:100%;
#NavBtns {
   height:100%;
  position: absolute;
  display: block;
   width: auto;
   height: 100%;
}
}
.image img{
   width:100%;
.NavBtn {
   height:100%;
  position: relative;
  display: block;
  top: 0px;
   width: auto;
   height: auto;
  list-style: none;
  margin: 0px;
  background: transparent;
  text-align: right;
  font-family: Clash;
}
}
 
/* Legend */
.nmRight {
.legend{
   height: 100%;
   border:500px solid transparent;
  right: 0px;
   border-left:600px solid rgba(52, 73, 94, .7);
   background: linear-gradient(to left, rgb(23, 23, 23), transparent);
  border-bottom:0;
  position:absolute;
  bottom:0;
}
}
 
.nmRight li {
/* Contents */
   list-style: none;   
.content{
   padding: 10px 10px 10px 100px;
   width:100%;
   height:100%;
  position:absolute;
   overflow:hidden;
}
}
.content-txt{
.nmRight li:hover {
   width:400px;
   cursor: pointer;
   height:150px;
   background: linear-gradient(to left, #ffffff 0%,#ffffff 47%,#ffffff00 100%);
  float:left;
  position:relative;
  top:50px;
  -webkit-animation:content-s 7.5s infinite;
  -moz-animation:content-s 7.5s infinite;
  animation:content-s 7.5s infinite;
}
}
.content-txt h1{
  font-family:Intro;
.nbActiveRight {
  font-size:24px;
    background: linear-gradient(to left, #ffffff 0%,#ffffff 47%,#ffffff00 100%);
  color:#fff;
  text-align:left;
  margin-left:30px;
  padding-bottom:10px;
}
}
.content-txt h2{
  font-family:Quicksand;
.NavBtn:hover {
  font-weight:normal;
    color:white;
  font-size:14px;
  font-style:italic;
  color:#fff;
  text-align:left;
  margin-left:30px;
}
}
 
/* Switch */
.sl_info {
.switch{
position: relative;
  width:120px;
     top: -25px;
  height:10px;
     width: 100%;
  position:absolute;
     text-align: left;
  bottom:50px;
        background: rgba(0, 0, 0, 0.8);
  z-index:99;
            color: white;
  left:30px;
     padding: 10px;
}
        margin: -25px 0px -25px 0px;
.switch > ul{
  list-style:none;
}
.switch > ul > li{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#333;
  float:left;
  margin-right:5px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
}
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#f39c12;
  position:relative;
  -webkit-animation:on 30s infinite;
  -moz-animation:on 30s infinite;
  animation:on 30s infinite;
}
 
/* Animation */
@-webkit-keyframes slide{
  0%,100%{
     margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
     margin-left:-100%;
  }
  46%{
     margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@-moz-keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
@keyframes slide{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
     margin-left:-100%;
  }
  46%{
    margin-left:-100%;
  }
  50%{
    margin-left:-200%;
  }
  71%{
    margin-left:-200%;
  }
  75%{
    margin-left:-300%;
  }
  96%{
    margin-left:-300%;
  }
}
 
@-webkit-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@-moz-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@keyframes content-s{
  0%{left:-420px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
 
@-webkit-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}
 
@-moz-keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}
 
@keyframes on{
  0%,100%{
    margin-left:0%;
  }
  21%{
    margin-left:0%;
  }
  25%{
    margin-left:15px;
  }
  46%{
    margin-left:15px;
  }
  50%{
    margin-left:30px;
  }
  71%{
    margin-left:30px;
  }
  75%{
    margin-left:45px;
  }
  96%{
    margin-left:45px;
  }
}
}



Revisión del 13:06 13 jun 2020

/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */

/* SLIDER */

#SliderView {
  background: #ebebeb82;
  width: 90%;
  margin: 15px auto;
  height: auto;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  text-align: center;
}
 
#SliderWrapper {
  position: relative;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-transition-timing-function: cubic-bezier(.67,.01,.23,1);
  -o-transition-timing-function: cubic-bezier(.67,.01,.23,1);
  transition-timing-function: cubic-bezier(.67,.01,.23,1);
}
 
#SliderWrapper, #SliderWrapper ul, #SliderWrapper li, #NavBtns, #NavBtns ul {
  margin: 0px;
  padding: 0px;
}
 
.Sld {
  height: auto;
  list-style: none;
  display: inline;
  float: left;
}
 
.SlideIMG {
  width: 100%;
}
 
.SlideIMG img {
  display: block;
  max-width: 100%;
  height: auto;
  min-width: 100%; 
  min-height: 100%; 
  position: relative;
}
 
#NavBtns {
  position: absolute; 
  display: block;
  width: auto;
  height: 100%;
}
 
.NavBtn {
  position: relative;
  display: block;
  top: 0px;
  width: auto;
  height: auto;
  list-style: none;
  margin: 0px;
  background: transparent;
  text-align: right;
  font-family: Clash;
}
 
.nmRight {
  height: 100%;
  right: 0px;
  background: linear-gradient(to left, rgb(23, 23, 23), transparent);
}
.nmRight li {
  list-style: none;   
  padding: 10px 10px 10px 100px;
}
.nmRight li:hover {
  cursor: pointer;
  background: linear-gradient(to left, #ffffff 0%,#ffffff 47%,#ffffff00 100%);
}
 
.nbActiveRight {
    background: linear-gradient(to left, #ffffff 0%,#ffffff 47%,#ffffff00 100%);
}
 
.NavBtn:hover {
    color:white;
}
 
.sl_info {
position: relative;
    top: -25px;
    width: 100%;
    text-align: left;
        background: rgba(0, 0, 0, 0.8);
            color: white;
    padding: 10px;
        margin: -25px 0px -25px 0px;
}




/* CABECERAS */

/* BARRA DE NAVEGACIÓN */
#NavBar1
{
background-color: rgba(146,195,211,1.00);
   display: block;
   font-family: Arial;
   font-weight: normal;
   text-align: center;
   width: 100%;
   border-radius: 15px 15px 0px 0px;
   -webkit-border-radius: 15px 15px 0px 0px;
   -moz-border-radius: 15px 15px 0px 0px;
   -webkit-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   -moz-box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);
   box-shadow: 0px 4px 7px -2px rgba(0,0,0,0.75);

}
#Menu1
{
   background-color: #92C3D3;
   display: inline-block;
   height: 67px;

}
#NavBar1 ul
{
   list-style: none;
   margin: 0;
   padding: 0;
   position: relative;
}
#NavBar1 ul:after
{
   clear: both;
   content: "";
   display: block;
}
#NavBar1 ul li
{
   background-color: #92C3D3;
   display: list-item;
   float: left;
   list-style: none;
   z-index: 9999;
}
#NavBar1 ul li :link 
{
   color: #FFFFFF;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   font-style: normal;
   padding: 15px 30px 15px 30px;
   text-align: center;
   text-decoration: none;
}
#NavBar1 > ul > li > :link 
{
   height: 37px;
}
.Menu1 :link 
{
   display: block;
}

#NavBar1 li :link:hover, #NavBar1 li .active
{ 
	background-color: #A7D2DF;
	border-radius: 15px 15px 0px 0px;
	color: #424242;
	transform: translate(0px, -5px) scale(1.2);
	transition: .5s cubic-bezier(.5,.03,.41,1);
	-webkit-transition: .5s cubic-bezier(.5,.03,.41,1);
	-moz-transition: .5s cubic-bezier(.5,.03,.41,1);
	-webkit-box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
	-moz-box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);
	box-shadow: 0px -2px 7px 3px rgba(89,119,128,1);

}

#NavBar1 .toggle,[id^=Menu1-submenu]
{
   display: none;
}

@media all and (max-width:970px) 
{
#NavBar1 
{
   margin: 0;
   text-align: left;
}
#NavBar1 ul li a, #NavBar1 .toggle
{
   font-size: 13px;
   font-weight: normal;
   font-style: normal;
   padding: 15px 20px 15px 20px;
}
#NavBar1 .toggle + a
{
   display: none !important;
}
.Menu1 
{
   display: none;
   z-index: 9999;
}
#Menu1 
{
   background-color: transparent;
   display: none;
}
#NavBar1 > ul > li > a 
{
   height: auto;
}
#NavBar1 .toggle 
{
   display: block;
   background-color: #92C3D3;
   color: #FFFFFF;
   padding: 0px 20px 0px 20px;
   line-height: 54px;
   text-decoration: none;
   border: none;
}
#NavBar1 .toggle:hover 
{
   background-color: #A7D2DF;
   color: #424242;
}
[id^=Menu1-submenu]:checked + ul 
{
   display: block !important;
}
#Menu1-title
{
   height: 67px;
   line-height: 67px !important;
   text-align: center;
}
#NavBar1 ul li 
{
   display: block;
   width: 100%;
   text-align: left;
}
#NavBar1 ul ul .toggle,
#NavBar1 ul ul a 
{
   padding: 0 40px;
}
#NavBar1 a:hover,
#NavBar1 ul ul ul a 
{
   background-color: #A7D2DF;
   color: #FFFFFF;
}
#NavBar1 ul li ul li .toggle,
#NavBar1 ul ul a 
{
   background-color: #A7D2DF;
   color: #FFFFFF;
}
#NavBar1 ul ul ul a 
{
   padding: 15px 20px 15px 60px;
}
#NavBar1 ul li a 
{
   text-align: left;
}
#NavBar1 ul li a br 
{
   display: none;
}
#NavBar1 ul li i 
{
   margin-right: 8px;
}
#NavBar1 ul ul 
{
   float: none;
   position: static;
}
#NavBar1 ul ul li:hover > ul,
#NavBar1 ul li:hover > ul 
{
   display: none;
}
#NavBar1 ul ul li 
{
   display: block;
   width: 100%;
}
#NavBar1 ul ul ul li 
{
   position: static;
}
#Menu1-icon 
{
   display: block;
   position: absolute;
   left: 30px;
   top: 21px;
}
#Menu1-icon span 
{
   display: block;
   margin-top: 4px;
   height: 2px;
   background-color: #FFFFFF;
   color: #FFFFFF;
   width: 24px;
}
#NavBar1 ul li ul li .toggle:hover
{
   background-color: #C6E1EA;
   color: #424242;
}
#NavBar1 .toggle .arrow-down 
{
   border-top-color: #FFFFFF;
}
#NavBar1 .toggle:hover .arrow-down, #NavBar1 li .active .arrow-down
{ 
   border-top-color: #424242;
}
#NavBar1 ul li ul li .toggle .arrow-down 
{
   border-top-color: #FFFFFF;
}
#NavBar1 ul li ul li .toggle:hover .arrow-down, #NavBar1 ul li ul li .active .arrow-down
{ 
   border-top-color: #424242;
}
}