Diferencia entre revisiones de «MediaWiki:Common.css»
De Wiki de EUROPARC Espana
(primera columna en negrita) |
|||
Línea 42: | Línea 42: | ||
table.ficha a { | table.ficha a { | ||
color: #ffffff !important; | color: #ffffff !important; | ||
+ | } | ||
+ | |||
+ | /* Desplegable (Plantilla:Desplegable) */ | ||
+ | .folded { | ||
+ | background-color: #eee; | ||
+ | color: #444; | ||
+ | cursor: pointer; | ||
+ | padding: 15px; | ||
+ | width: 100%; | ||
+ | border: none; | ||
+ | text-align: left; | ||
+ | outline: none; | ||
+ | font-size: 12pt; | ||
+ | } | ||
+ | |||
+ | .folded:after { | ||
+ | content: '\002B'; | ||
+ | font-size: 12pt; | ||
+ | color: white; | ||
+ | float: right; | ||
+ | margin-left: 9px; | ||
+ | } | ||
+ | |||
+ | .folded-active:after { | ||
+ | content: "\002D"; | ||
+ | } | ||
+ | |||
+ | .folded-active, .folded:hover { | ||
+ | background-color: #ccc; | ||
+ | } | ||
+ | |||
+ | .folded-content { | ||
+ | padding: 0px 15px; | ||
+ | max-height: 0; | ||
+ | overflow: hidden; | ||
+ | background-color: #f1f1f1; | ||
+ | transition: max-height 0.2s ease-out; | ||
+ | } | ||
+ | |||
+ | .folded-content > :first-child { | ||
+ | margin-top: 10px; | ||
} | } |
Revisión del 20:00 2 may 2021
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
table.ficha {
font-size: larger;
background-color: #5e9dc8;
border: 1px solid #5e9dc8;
border-spacing: 0;
border-collapse: collapse;
margin: 0 0 0.5em 1em;
padding: 0;
-moz-border-radius: 2px;
border-radius: 2px;
position: relative;
float: right;
clear: right;
width: 300px;
}
table.ficha th {
background-color: #5e9dc8;
border: 0px;
padding: 3px;
font-size: 100%;
font-weight: normal;
color: #ffffff !important;
vertical-align: top !important;
}
table.ficha tr {
background-color: #ffffff;
}
tr td:first-of-type {
font-weight: bolder;
}
table.ficha td {
padding: 5px;
vertical-align: top !important;
}
table.ficha a {
color: #ffffff !important;
}
/* Desplegable (Plantilla:Desplegable) */
.folded {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 15px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 12pt;
}
.folded:after {
content: '\002B';
font-size: 12pt;
color: white;
float: right;
margin-left: 9px;
}
.folded-active:after {
content: "\002D";
}
.folded-active, .folded:hover {
background-color: #ccc;
}
.folded-content {
padding: 0px 15px;
max-height: 0;
overflow: hidden;
background-color: #f1f1f1;
transition: max-height 0.2s ease-out;
}
.folded-content > :first-child {
margin-top: 10px;
}