Diferencia entre revisiones de «MediaWiki:Common.css»
De Botanipedia
Sin resumen de edición Etiqueta: Revertido |
Sin resumen de edición Etiqueta: Revertido |
||
| Línea 62: | Línea 62: | ||
.lua-imageleft-text { | .lua-imageleft-text { | ||
overflow: hidden; | overflow: hidden; | ||
} | |||
.lua-imageleft-img::before { | |||
content: url(attr(data-img)); | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
} | } | ||
Revisión del 14:02 29 dic 2025
/* Los estilos CSS colocados aquí se aplicarán a todas las apariencias */
a img:hover{
cursor: zoom-in;
}
u {
color: gray;
}
u:hover{
color: blue;
cursor: help;
}
/* Extensión:Lingo */
span.mw-lingo-term{
color: gray;
}
span.mw-lingo-term:hover{
color: blue;
cursor: help;
}
div.mw-lingo-definition-text{
font-size: 11px;
font-family: arial;
}
div.mw-lingo-tooltip{
background-color: #f2f2f2;
color: black;
box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.5);
}
div.mw-lingo-tooltip p{
text-align: justify;
}
.mw-editsection {
display:none!important;
}
/* IMAGELEFT emulado para módulos Lua */
.lua-imageleft {
overflow: hidden;
margin: 1em 0;
}
.lua-imageleft-img {
float: left;
width: 120px;
height: 120px;
margin: 0 1em 1em 0;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.lua-imageleft-text {
overflow: hidden;
}
.lua-imageleft-img::before {
content: url(attr(data-img));
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}