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
Sin resumen de edición
Etiqueta: Reversión manual
 
(No se muestran 35 ediciones intermedias del mismo usuario)
Línea 11: Línea 11:
         display: none;
         display: none;
     }
     }
}
}


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


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


Línea 88: Línea 87:
}
}


.wikitable td:nth-child(1), .wikitable th:nth-child(1) { width: 125px !important; }
.wikitablelogo {
.wikitable td:nth-child(2), .wikitable th:nth-child(2) { width: 150px !important; }
  border-collapse: collapse;
.wikitable td:nth-child(3), .wikitable th:nth-child(3) { width: 500px !important; }
  width: auto; /* Ajusta el ancho según el contenido */
.wikitable td:nth-child(4), .wikitable th:nth-child(4) { width: 200px !important; }
  background-color: #F8F9FA; /* Fondo de la tabla */
.wikitable td:nth-child(5), .wikitable th:nth-child(5) { width: 125px !important; }
  margin-left: 0; /* Alinea la tabla a la izquierda */
.wikitable tr:not(:first-child) { height: 5em !important; }
}
 
.wikitablelogo th {
  background-color: #EAECF0; /* Fondo de los encabezados */
  color: #000; /* Texto negro para contraste */
  text-align: center;
}
 
.wikitablelogo td {
  background-color: #F8F9FA; /* Fondo de las celdas */
}
 
.wikitablelogo td:nth-child(1),
.wikitablelogo th:nth-child(1) { width: 125px; }
 
.wikitablelogo td:nth-child(2),
.wikitablelogo th:nth-child(2) { width: 150px; }
 
.wikitablelogo td:nth-child(3),
.wikitablelogo th:nth-child(3) { width: 500px; }
 
.wikitablelogo td:nth-child(4),
.wikitablelogo th:nth-child(4) { width: 200px; }
 
.wikitablelogo td:nth-child(5),
.wikitablelogo th:nth-child(5) { width: 125px; }
 
.wikitablelogo tr:not(:first-child) { height: 5em; }
 
.wikitablelogo th, .wikitablelogo td {
  border: 1px solid #A2A9B1; /* Bordes en gris oscuro */
  padding: 5px;
}


/* Estilo mejorado para tablas */
/* Estilo mejorado para tablas */
Línea 131: Línea 162:
}
}


/* Iluminar solo la celda cuando el ratón pasa por encima */
/* Iluminar solo la celda (no el encabezado) con azul claro */
.prettytable td:hover, .prettytable th:hover {
.prettytable td:hover {
     background: #ffeb3b; /* Color amarillo suave */
     background: #add8e6; /* Azul claro */
     transition: background 0.3s ease-in-out;
     transition: background 0.3s ease-in-out;
}
}
Línea 152: Línea 183:
.prettytable tr:last-child td:last-child {
.prettytable tr:last-child td:last-child {
     border-bottom-right-radius: 8px;
     border-bottom-right-radius: 8px;
}
/* Celdas */
.prettytablemain td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    width: 150px; /* Ancho fijo de cada celda */
}
}

Revisión actual - 03:14 18 abr 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: 15px;
    background-color: #f1d7ff;
    margin: 0;
    border: none;
    width: 180px; /* Ancho fijo para todos los cuadrados */
    height: 130px; /* 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: 15px;
    background-color: #f1d7ff;
    margin: 0;
    border: none;
    width: 170px; /* Ancho fijo para todos los cuadrados */
    height: 130px; /* 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 */
    }
}

.wikitablelogo {
  border-collapse: collapse;
  width: auto; /* Ajusta el ancho según el contenido */
  background-color: #F8F9FA; /* Fondo de la tabla */
  margin-left: 0; /* Alinea la tabla a la izquierda */
}

.wikitablelogo th {
  background-color: #EAECF0; /* Fondo de los encabezados */
  color: #000; /* Texto negro para contraste */
  text-align: center;
}

.wikitablelogo td {
  background-color: #F8F9FA; /* Fondo de las celdas */
}

.wikitablelogo td:nth-child(1),
.wikitablelogo th:nth-child(1) { width: 125px; }

.wikitablelogo td:nth-child(2),
.wikitablelogo th:nth-child(2) { width: 150px; }

.wikitablelogo td:nth-child(3),
.wikitablelogo th:nth-child(3) { width: 500px; }

.wikitablelogo td:nth-child(4),
.wikitablelogo th:nth-child(4) { width: 200px; }

.wikitablelogo td:nth-child(5),
.wikitablelogo th:nth-child(5) { width: 125px; }

.wikitablelogo tr:not(:first-child) { height: 5em; }

.wikitablelogo th, .wikitablelogo td {
  border: 1px solid #A2A9B1; /* Bordes en gris oscuro */
  padding: 5px;
}

/* Estilo mejorado para tablas */
.prettytable {
    width: auto; /* Se ajusta al contenido */
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 0; /* Alinear la tabla a la izquierda */
}

/* Encabezados con color degradado y centrados */
.prettytable th {
    background: linear-gradient(135deg, #0073e6, #005bb5);
    color: #fff;
    padding: 12px;
    text-align: center; /* Centramos los títulos */
    font-weight: bold;
    border-bottom: 2px solid #004a99;
    width: 150px; /* Ancho fijo de cada celda */
}

/* Celdas */
.prettytable td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    width: 150px; /* Ancho fijo de cada celda */
}

/* Alternancia de colores en filas */
.prettytable tr:nth-child(even) {
    background: #f8f9fa;
}

/* Iluminar solo la celda (no el encabezado) con azul claro */
.prettytable td:hover {
    background: #add8e6; /* Azul claro */
    transition: background 0.3s ease-in-out;
}

/* Bordes redondeados en primera y última fila */
.prettytable tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

.prettytable tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

.prettytable tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.prettytable tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

/* Celdas */
.prettytablemain td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    width: 150px; /* Ancho fijo de cada celda */
}