MediaWiki:Vector.less/thumb.less

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:11, 17 October 2024 (Created page with "→‎------------------------- PARSOID image thumbnails -------------------------: // old classes are here for legacy reasons figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], div.thumbinner { border: none; background-color: var(--thumb-bg); } figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element, .thumbimage { border: none; background: var(--thumb-bg); margin..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* -------------------------

   PARSOID image thumbnails
  ------------------------- */

// old classes are here for legacy reasons

figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], div.thumbinner { border: none; background-color: var(--thumb-bg); }

figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element, figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element, .thumbimage { border: none; background: var(--thumb-bg); margin-bottom: 0; }

figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption, .thumbcaption { border: none; background-color: var(--thumb-caption-bg); padding: 4px 6px; }

figure[typeof~='mw:File/Thumb'] > .mw-file-description::after, figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after { bottom: -15px; // -4 to adjust for above padding }