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

Publicidad:

Patrocinador Top

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: Revertido
Línea 265: Línea 265:




/* ===== ESTILOS PARA SOCIAL PROFILE ===== */
/* ===== PERFIL DE USUARIO - ESTILO LIMPIO ===== */
 
.profile-info, .user-page-container {
/* ===== ESTRUCTURA PRINCIPAL ===== */
  max-width: 900px;
.user-profile-container {
  margin: 0 auto;
    max-width: 1200px;
  padding: 20px;
    margin: 20px auto;
  background: #fff;
    padding: 25px;
  border-radius: 12px;
    background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border-radius: 10px;
  font-family: "Segoe UI", sans-serif;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
 
/* ===== CABECERA ===== */
.user-profile-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}
}


.user-avatar-section {
.profile-info h2,
    display: flex;
.user-page-container h2 {
    flex-direction: column;
  font-size: 1.6em;
    align-items: center;
  margin-bottom: 10px;
    gap: 10px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
  color: #333;
}
}


.user-avatar {
.profile-info h3,
    width: 120px;
.user-page-container h3 {
    height: 120px;
  font-size: 1.2em;
    border-radius: 50%;
  margin-top: 20px;
    object-fit: cover;
  color: #444;
    border: 4px solid #3498db;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}
}


.user-level {
/* Avatar */
    background: #f1c40f;
.profile-avatar {
    color: #fff;
  float: left;
    padding: 5px 15px;
  margin-right: 20px;
    border-radius: 20px;
  border-radius: 10px;
    font-weight: bold;
  border: 2px solid #ddd;
    font-size: 0.9em;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
}


/* ===== BOTONES DE ACCIÓN ===== */
/* Encabezado principal */
.user-actions {
.profile-header {
    flex: 1;
  display: flex;
    display: flex;
  align-items: center;
    flex-wrap: wrap;
  gap: 15px;
    gap: 10px;
  margin-bottom: 20px;
    align-items: flex-start;
}
}


.action-button {
.profile-username {
    background: #3498db;
  font-size: 1.8em;
    color: white;
  font-weight: bold;
    padding: 8px 15px;
  color: #222;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s;
}
}


.action-button:hover {
.profile-actions a {
    background: #2980b9;
  margin-right: 10px;
    transform: translateY(-2px);
  text-decoration: none;
  background: #007BFF;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
}
}


/* ===== SECCIONES DE PERFIL ===== */
.profile-actions a:hover {
.user-profile-sections {
  background: #0056b3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
}


/* Secciones de información */
.profile-section {
.profile-section {
    background: #f9f9f9;
  margin-top: 25px;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}
 
.profile-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 8px;
}
 
.section-content {
    margin: 10px 0;
    color: #555;
    line-height: 1.5;
}
 
.edit-link {
    font-size: 0.8em;
    color: #7f8c8d;
    text-decoration: none;
}
 
.edit-link:hover {
    text-decoration: underline;
}
 
/* ===== ACTIVIDAD RECIENTE ===== */
.activity-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}
}


.activity-icon {
.profile-section p {
    width: 24px;
  margin: 5px 0;
    height: 24px;
}
}


.activity-text {
/* Actividad reciente */
    flex: 1;
.profile-activity {
    font-size: 0.9em;
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}
}


.activity-time {
.profile-activity img {
    font-size: 0.8em;
  vertical-align: middle;
    color: #95a5a6;
  margin-right: 5px;
}
}


/* ===== RESPONSIVE ===== */
.profile-activity li {
@media (max-width: 768px) {
  list-style: none;
    .user-profile-header {
  margin-bottom: 6px;
        flex-direction: column;
    }
   
    .user-actions {
        justify-content: center;
    }
}
}

Revisión del 09:24 7 julio 2025

/* ===== ESTILOS GENERALES ===== */
.mw-first-heading {
    text-align: center;
    margin: 0 auto;
    width: 100%;
    padding: 15px 0;
    font-size: 2.5em;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    margin-bottom: 20px;
}

/* ===== ESTILOS DEL INFOBOX ===== */
.infobox {
  border: 1px solid #a2a9b1;
  border-spacing: 0;
  background-color: #edf3f8;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  padding: 0;
  float: right;
  clear: right;
  font-size: 88%;
  line-height: 1.5em;
  width: 22em;
  border-collapse: separate;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Encabezados principales */
.infobox > table > tbody > tr > th[colspan="2"],
.infobox-title {
  background-color: #ff9d00;
  color: #000;
  text-align: center;
  padding: 0.4em 0.6em;
  font-size: 110%;
}

/* Encabezados secundarios */
.infobox > table > tbody > tr > th:not([colspan="2"]) {
  background-color: #ffe0b8;
  color: #222;
  text-align: left;
  width: 40%;
  padding: 0.3em 0.6em;
  border-right: 1px solid #ffb347;
}

/* Celdas de datos */
.infobox td {
  vertical-align: top;
  padding: 0.3em 0.6em;
  background-color: #edf3f8;
  border-top: 1px solid #f0f0f0;
}

/* ===== SECCIÓN DE IMAGEN CORREGIDA ===== */
.infobox-image {
  text-align: center;
  padding: 0.6em;
  background-color: #edf3f8 !important;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.infobox-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #edf3f8;
  z-index: 0;
}

.infobox-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #e0e0e0;
  background-color: #edf3f8 !important;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 2px;
}

/* Corrección especial para PNG/SVG */
.infobox-image img[src$=".png"],
.infobox-image img[src$=".svg"] {
  background-image: none !important;
}

/* Pie de infobox */
.infobox-footer {
  font-size: 85%;
  text-align: center;
  padding: 0.6em;
  color: #666;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

/* Subtítulos */
.infobox-subtitle {
  font-weight: bold;
  text-align: center;
  padding: 0.3em;
  margin: 0.3em 0;
  background-color: #f5f5f5;
}

/* ===== MEJORAS DE VISUALIZACIÓN ===== */
/* Ocultar elementos vacíos */
.infobox-data th:empty, 
.infobox-data td:empty,
.infobox-data tr:has(> th:empty:only-child),
.infobox-data tr:has(> td:empty:only-child),
.infobox-data tr:has(> th:empty + td:empty) {
  display: none !important;
}

/* Ocultar filas condicionales vacías */
.infobox-data tr:has(> td:contains("{{#if:")),
.infobox-data tr:has(> td:contains("{{#unless:")),
.infobox-data tr:has(> td:contains("{{/if}}")),
.infobox-data tr:has(> td:contains("{{/unless}}")) {
  display: none !important;
}

/* ===== CORRECCIONES ESPECÍFICAS ===== */
/* Eliminar fondo en imágenes transparentes */
.infobox-image .transparent-bg {
  background: #edf3f8 !important;
}

/* Asegurar compatibilidad con móviles */
@media screen and (max-width: 600px) {
  .infobox {
    width: 100%;
    margin: 0.5em 0;
    float: none;
  }
  
  .infobox-image img {
    max-width: 80%;
  }
}






/* Panel de Administración Mejorado */
.admin-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-dashboard-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #36c;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.admin-stats-grid div {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9em;
}

.admin-stats-grid i {
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
    color: #36c;
}

.admin-quick-actions {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #00af89;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.action-button {
    display: block;
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    color: white;
    font-weight: bold;
    transition: all 0.2s;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.action-button.danger { background: #d33; }
.action-button.warning { background: #fc3; }
.action-button.success { background: #00af89; }

/* Secciones */
.admin-links-section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-links-section h2 {
    background: #2c3e50;
    color: white;
    padding: 12px 20px;
    margin: 0;
    font-size: 1.1em;
}

.admin-links-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
}

.admin-links-item {
    padding: 10px;
    border-rad







/* ===== PERFIL DE USUARIO - ESTILO LIMPIO ===== */
.profile-info, .user-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  font-family: "Segoe UI", sans-serif;
}

.profile-info h2,
.user-page-container h2 {
  font-size: 1.6em;
  margin-bottom: 10px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
  color: #333;
}

.profile-info h3,
.user-page-container h3 {
  font-size: 1.2em;
  margin-top: 20px;
  color: #444;
}

/* Avatar */
.profile-avatar {
  float: left;
  margin-right: 20px;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

/* Encabezado principal */
.profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.profile-username {
  font-size: 1.8em;
  font-weight: bold;
  color: #222;
}

.profile-actions a {
  margin-right: 10px;
  text-decoration: none;
  background: #007BFF;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
}

.profile-actions a:hover {
  background: #0056b3;
}

/* Secciones de información */
.profile-section {
  margin-top: 25px;
}

.profile-section p {
  margin: 5px 0;
}

/* Actividad reciente */
.profile-activity {
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

.profile-activity img {
  vertical-align: middle;
  margin-right: 5px;
}

.profile-activity li {
  list-style: none;
  margin-bottom: 6px;
}

Publicidad:

Patrocinador Bottom