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 44: Línea 44:
}
}


/* IMAGELEFT emulado para módulos Lua */
/* IMAGELEFT moderno para Botanipedia */
.lua-imageleft {
.lua-imageleft {
   overflow: hidden;
   overflow: hidden;
Línea 52: Línea 52:
.lua-imageleft-img {
.lua-imageleft-img {
   float: left;
   float: left;
  margin: 0 1em 1em 0;
}
.lua-imageleft-img img {
  display: block;
   width: 120px;
   width: 120px;
   height: 120px;
   height: auto;
  margin: 0 1em 1em 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
}


.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:13 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 moderno para Botanipedia */
.lua-imageleft {
  overflow: hidden;
  margin: 1em 0;
}

.lua-imageleft-img {
  float: left;
  margin: 0 1em 1em 0;
}

.lua-imageleft-img img {
  display: block;
  width: 120px;
  height: auto;
}

.lua-imageleft-text {
  overflow: hidden;
}