Diferencia entre revisiones de «MediaWiki:Common.css»
De UX Wiki
Sin resumen de edición |
Sin resumen de edición |
||
(No se muestran 7 ediciones intermedias del mismo usuario) | |||
Línea 131: | Línea 131: | ||
} | } | ||
/* para el botón del bookmarklet */ | /* para el botón del bookmarklet */ | ||
.highlight-box { | |||
border: 2px solid black; | |||
background-color: #eeeee4; /* marroncito 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 { | .bookmarklet-button { | ||
display: inline-block; | display: inline-block; | ||
Línea 141: | Línea 152: | ||
border: 2px solid #005A9E; | border: 2px solid #005A9E; | ||
cursor: grab; | cursor: grab; | ||
} | } | ||
.bookmarklet-button:hover { | .bookmarklet-button:hover { | ||
background-color: #005A9E; | background-color: #005A9E; | ||
color: white; | |||
} | } | ||
. | /* para ocultar elementos visualmente */ | ||
.visually-hidden { | |||
position: absolute !important; | |||
height: 1px; width: 1px; | |||
overflow: hidden; | |||
clip: rect(1px, 1px, 1px, 1px); | |||
white-space: nowrap; | |||
} |
Revisión actual - 07:41 8 oct 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: 2px solid black; background-color: #eeeee4; /* marroncito 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; } /* para ocultar elementos visualmente */ .visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }