Diferencia entre revisiones de «MediaWiki:Common.css»
De WCAG Wiki
Sin resumen de edición |
Sin resumen de edición |
||
| Línea 106: | Línea 106: | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
/* | |||
.details .summary { | .details .summary { | ||
cursor: pointer; | cursor: pointer; | ||
| Línea 117: | Línea 117: | ||
.details[open] .summary { | .details[open] .summary { | ||
background-color: #ddd; | background-color: #ddd; | ||
} | |||
*/ | |||
.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; | |||
} | } | ||
Revisión del 17:32 4 jun 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;
}
/*
.details .summary {
cursor: pointer;
font-weight: bold;
padding: 5px;
background-color: #eee;
border: 1px solid #ccc;
border-radius: 4px;
}
.details[open] .summary {
background-color: #ddd;
}
*/
.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;
}
