MediaWiki:Common.css

De AeroWiki
Revisión del 15:20 24 jun 2024 de imported>Ivan

Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.

  • Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
  • Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
  • Internet Explorer/Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
  • Opera: Presiona Ctrl+F5.
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/*Infoboxes sacadas de Wikipedia + propio */


/* Infobox template style */
.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em;
}

.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	vertical-align: top;
}

.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
	/* @noflip */
	text-align: left;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center;
}

.infobox-title {
	border: 1px solid #E0E0E0;
	font-size: 1.25em;
		color: #107896;
   padding:5px 0 0 0;
	text-align: center;
	background-color: #DCDCDC;
	font-weight: bold;
}
.infobox-header {
	font-size: 1em;
	text-align: center;
		color: #107896;
	border: 1px solid #BEBEBE;
}


/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
	text-align: center;
}

/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
	/* @noflip */
	text-align: right;
}

/*página principal*/

.deleg-container{
  display: grid;
  text-align: center;
  grid-template-columns: 80% 80% 80%;
  font-size: 3.2vw;
}
.deleg-container a {
  color:#ffffff;
  background-color: #000080;
  padding:15px 3px 0px 3px;
  text-decoration: none;
  margin:5px;
  transition: transform .2s ease-out; 

  }
.deleg-container h6 {
  color:#ffffff;
  }
/*avión*/
.avion:active{
  position: relative;
  animation-name: movimiento;
  animation-duration: 10s;
}

@keyframes movimiento {
  0%  {left:0; top:0;}
  100% {left:300%; top:-300%;  transform:scale(3);}

}

@media (min-width: 750px) {
.ctn{
   display: inline-flex;
}
.deleg-container a:hover{
   transform:scale(1.1); 
   background-color: #000099;
  }
.deleg-container{
  display: grid;
  text-align: center;
    font-size: 1vw;
  grid-template-columns: 37% 37% 39%;
}
}

/*usar fuentes legibles (a los de iphone siempre les gusta ser especiales) */

* {
	font-family: -apple-system, Georgia, Verdana, Helvetica;
}

/*Ocultar links*/
.catlinks { display: none; 
}

#ca-talk { display: none; }

 ns-2 #ca-talk,
 ns-3 #ca-talk { display: block; }

#t-whatlinkshere { display: none; }
#t-recentchangeslinked { display: none; }
#t-specialpages { display: none; } 
#t-print { display: none; } 

/* Desde aquí hasta el final, extraído de https://wiki.archlinux.org/index.php?title=MediaWiki:Common.css&oldid=805203*/


#bodyContent #mw-content-text {
	margin-top: 0;
}


.mw-body-content p:last-child {
	margin-bottom: 0;
}

.mw-body-content pre {
	margin: 0.5em 0;
}

.vector-body .mw-body-content h1 { font-size: 188%; }
.vector-body .mw-body-content h2 { font-size: 150%; }
.vector-body .mw-body-content h3 { font-size: 128%; }
.vector-body .mw-body-content h4 { font-size: 116%; }
.vector-body .mw-body-content h5 { font-size: 108%; }
.vector-body .mw-body-content h6 { font-size: 100%; }