Diferencia entre revisiones de «MediaWiki:Common.css»
imported>Ivan Sin resumen de edición |
imported>Ivan Sin resumen de edición |
||
Línea 3: | Línea 3: | ||
* { | * { | ||
font-family: | font-family: sans-serif; | ||
} | } | ||
Revisión del 15:52 4 sep 2024
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/*Infoboxes sacadas de Wikipedia + propio */
* {
font-family: sans-serif;
}
/* 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;
border-radius:0px 0px 7px 7px;
border-style:none dashed dashed dashed;
border-color: #DCDCDC;
}
.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;
border-radius:7px 7px 0px 0px;
}
.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:4px;
transition: transform .2s ease-out;
border-radius:7px;
text-align: center;
}
.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;
font-size: inherit;
grid-template-columns: 39% 39% 39%;
}
}
/*Asign*/
.asign-container{
display: grid;
text-align: center;
font-size: 3.2vw;
}
.asign-container a {
color:#ffffff;
background-color: #000080;
padding:5px;
text-decoration: none;
margin:4px;
transition: transform .2s ease-out;
border-radius:7px;
text-align: center;
}
.asign-container h6 {
color:#ffffff;
}
@media (min-width: 750px) {
.asign-container a:hover{
transform:scale(1.1);
background-color: #000099;
}
.asign-container{
font-size: inherit;
}
}
/*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; }
.wikitable{
border: 1px dashed;
}