MediaWiki:Common.css
De WCAG Wiki
Nota: Después de publicar, quizás necesite actualizar la caché de su navegador para ver los cambios.
- Firefox/Safari: Mantenga presionada la tecla Shift mientras pulsa el botón Actualizar, o presiona Ctrl+F5 o Ctrl+R (⌘+R en Mac)
- Google Chrome: presione Ctrl+Shift+R (⌘+Shift+R en Mac)
- Internet Explorer/Edge: mantenga presionada Ctrl mientras pulsa Actualizar, o presione Ctrl+F5
- Opera: Presiona Ctrl+F5.
.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;
}
/* para las clases de la ficha general del criterio */
.wcag-card {
background: #f5f7fa;
border: 1px solid #e5e7eb;
border-radius: 1rem;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
padding: 0.5rem 2rem;
width: 95%;
display: flex;
flex-direction: column;
}
.wcag-level {
font-weight: 600;
background-color: #16a34a;
color: white;
padding: 0.5rem 0.8rem;
border-radius: 0.5rem;
font-size: 0.9rem;
}
.wcag-name {
font-size: 1.5rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
color: #2563eb;
}
/* Lista principal de propiedades */
dl.wcag-info {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin: 0;
padding: 0;
}
dl.wcag-info > div {
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 0.6rem;
padding: 0.8rem 0.5rem;
flex: 1 1 200px;
box-sizing: border-box;
}
dl.wcag-info dt {
font-weight: 600;
color: #374151;
font-size: 1.2rem;
margin-bottom: 0.3rem;
}
dl.wcag-info dd {
margin: 0;
font-size: 1rem;
color: #111827;
}
/* Usuarios afectados */
section.wcag-users {
background-color: #eef2ff;
border-left: 4px solid #2563eb;
border-radius: 0.5rem;
padding: 1rem;
margin-top: 1rem;
}
.wcag-users p {
font-size: 1.1rem;
color: #1e3a8a;
margin-top: 0;
margin-bottom: 0.5rem;
}
.wcag-users ul {
margin: 0;
padding: 0;
list-style: none;
}
.wcag-users li {
display: flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 0.4rem;
line-height: 1.4;
}
.wcag-users img {
width: 28px;
height: 28px;
object-fit: contain;
vertical-align: middle;
flex-shrink: 0;
}
