Menú alternativo
Toggle preferences menu
Menú alternativo personal
No has accedido
Tu dirección IP será visible si haces alguna edición

Diferencia entre revisiones de «MediaWiki:Common.css»

Página de la interfaz de MediaWiki
Sin resumen de edición
Etiqueta: Revertido
Sin resumen de edición
Etiqueta: Reversión manual
Línea 88: Línea 88:
}
}


/* Los estilos de .wikitable deben ser copiados aquí directamente */
.wikitable td:nth-child(1), .wikitable th:nth-child(1) { width: 125px !important; }
.wikitable, .wikitable2 {
.wikitable td:nth-child(2), .wikitable th:nth-child(2) { width: 150px !important; }
    border: 1px solid #ccc; /* Borde personalizado */
.wikitable td:nth-child(3), .wikitable th:nth-child(3) { width: 500px !important; }
    background-color: #f9f9f9; /* Color de fondo personalizado */
.wikitable td:nth-child(4), .wikitable th:nth-child(4) { width: 200px !important; }
    border-collapse: collapse;
.wikitable td:nth-child(5), .wikitable th:nth-child(5) { width: 125px !important; }
    width: 100%; /* Asegura que la tabla ocupe todo el ancho disponible */
.wikitable tr:not(:first-child) { height: 5em !important; }
}
 
/* Anchos de las columnas */
.wikitable2 td:nth-child(1), .wikitable2 th:nth-child(1) {  
    width: 125px !important;  
}
.wikitable2 td:nth-child(2), .wikitable2 th:nth-child(2) {  
    width: 150px !important;  
}
.wikitable2 td:nth-child(3), .wikitable2 th:nth-child(3) {  
    width: 500px !important;  
}
.wikitable2 td:nth-child(4), .wikitable2 th:nth-child(4) {  
    width: 200px !important;  
}
.wikitable2 td:nth-child(5), .wikitable2 th:nth-child(5) {  
    width: 125px !important;  
}
 
/* Altura personalizada para todas las filas, excepto la de encabezado */
.wikitable2 tr:not(:first-child) {  
    height: 5em !important;  
}

Revisión del 12:55 10 mar 2025

/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
/* TOC escondida en todas las vistas */
.toc, #toc { display: none; }

/* Estilos para dispositivos móviles */
@media screen and (max-width: 767px) {
    .mobile-only {
        display: block;
    }
    .nomobile {
        display: none;
    }

}

/* Estilos para dispositivos de escritorio */
@media screen and (min-width: 768px) {
    .mobile-only {
        display: none;
    }
    .nomobile {
        display: block;
    }

}

/* Estilo cuadrados Página Principal */
.square-container {
    margin: 0 auto;
    width: 90%;
    text-align: center;
    margin-bottom: 15px;
}

.square {
    border-radius: 16px;
    padding: 25px;
    background-color: #f1d7ff;
    margin: 0;
    border: none;
    width: 200px; /* Ancho fijo para todos los cuadrados */
    height: 80px; /* Altura fija para todos los cuadrados */
}

.square-mobile-container {
    margin: 0 auto;
    width: 90%;
    text-align: center;
    margin-bottom: 15px;
}

.square-mobile {
    border-radius: 16px;
    padding: 25px;
    background-color: #f1d7ff;
    margin: 0;
    border: none;
    width: 120px; /* Ancho fijo para todos los cuadrados */
    height: 80px; /* Altura fija para todos los cuadrados */
}

/* Contenedor general para el video */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
    max-width: 100%; /* El video ocupará el 100% del contenedor padre */
}

/* iFrame del video */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Limita el tamaño máximo en escritorio */
@media (min-width: 768px) {
    .video-container {
        max-width: 560px; /* Limita el ancho del video en desktop */
        padding-bottom: 315px; /* Mantén la relación 16:9 */
    }
}

.wikitable td:nth-child(1), .wikitable th:nth-child(1) { width: 125px !important; }
.wikitable td:nth-child(2), .wikitable th:nth-child(2) { width: 150px !important; }
.wikitable td:nth-child(3), .wikitable th:nth-child(3) { width: 500px !important; }
.wikitable td:nth-child(4), .wikitable th:nth-child(4) { width: 200px !important; }
.wikitable td:nth-child(5), .wikitable th:nth-child(5) { width: 125px !important; }
.wikitable tr:not(:first-child) { height: 5em !important; }