Diferencia entre revisiones de «MediaWiki:Common.css»

De UX Wiki
Sin resumen de edición
Sin resumen de edición
Línea 133: Línea 133:


     .highlight-box {
     .highlight-box {
      border-color: red, 1px;
  border: 5px solid red;
       background-color: #fff9c4; /* Amarillo suave */
       background-color: #fff9c4; /* Amarillo suave */
       padding: 15px;
       padding: 15px;

Revisión del 08:31 4 jul 2025

.accessibility-card {
    border: 1px solid #ccc;
    background-color: #e8f5e9;
    padding: 16px;
    width: 500px;
    font-family: sans-serif;
    position: relative;
    margin-bottom: 20px;
  }
  
  .accessibility-card::before {
    content: "";
    display: block;
    height: 5px;
    background-color: #2e7d32;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  
  .accessibility-card h3 {
    color: #2e7d32;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  
  .accessibility-card p {
    margin: 0 0 12px;
  }
  
  .accessibility-card img {
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 12px;
  }
  
  .accessibility-card pre {
    background-color: #f1f8e9;
    border: 1px solid #ccc;
    padding: 8px;
    color: #c62828;
    font-family: monospace;
    white-space: pre-wrap;
  }
  .accessibility-card-error {
    border: 1px solid #ccc;
    background-color: #fdecea;
    padding: 16px;
    width: 500px;
    font-family: sans-serif;
    position: relative;
    margin-bottom: 20px;
  }
  
  .accessibility-card-error::before {
    content: "";
    display: block;
    height: 5px;
    background-color: #c62828;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  
  .accessibility-card-error h3 {
    color: #c62828;
    margin-top: 12px;
    margin-bottom: 8px;
  }
  
  .accessibility-card-error p {
    margin: 0 0 12px;
  }
  
  .accessibility-card-error img {
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 12px;
  }
  
  .accessibility-card-error pre {
    background-color: #ffebee;
    border: 1px solid #ccc;
    padding: 8px;
    color: #c62828;
    font-family: monospace;
    white-space: pre-wrap;
  }

/* codigo creado CSS afra pruebas */

.custom-post-item {
    padding: 40px;
    background-color: #ffffff;
    border-radius: .5rem;
    border: 0 solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px 0 var(--tw-shadow-color);
    flex-direction: row;
    flex-direction: column;
}

.acordeon-estilizado {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
}

.acordeon-estilizado summary {
  cursor: pointer;
  font-weight: bold;
  background-color: #e6e6e6;
  padding: 5px;
  border-radius: 5px;
}

.acordeon-estilizado[open] summary {
  background-color: #d0d0d0;
}
/* Oculta el enlace 'deshacer' en el historial solo para usuarios del grupo alumnos */
body.group-alumnos .mw-history-undo {
    display: none !important;
}
/* para el botón del bookmarklet */

    .highlight-box {
	  border: 5px solid red;
      background-color: #fff9c4; /* Amarillo suave */
      padding: 15px;
      margin: 10px 0;
      border-radius: 8px;
      font-family: sans-serif;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    .bookmarklet-button {
      display: inline-block;
      padding: 10px 16px;
      background-color: #0078D7;
      color: white;
      font-weight: bold;
      text-decoration: none;
      border-radius: 6px;
      border: 2px solid #005A9E;
      cursor: grab;
    }

    .bookmarklet-button:hover {
      background-color: #005A9E;
      color: white;
    }