MediaWiki:RPGC-content.css

From RPG Continuum Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Native MediaWiki thumbnails */
figure[typeof~="mw:File/Thumb"],
figure.mw-default-size,
.thumb,
.thumbinner {
    background: #10151b !important;
    border: 1px solid var(--rpgc-border) !important;
    box-shadow:
        0 0 10px rgba(0,0,0,.35),
        0 0 7px rgba(79,134,214,.08);
}

/* Remove white thumbnail frame/padding */
.thumbinner {
    padding: 0 !important;
}

/* Image itself */
.thumbimage,
figure[typeof~="mw:File/Thumb"] img {
    border: 0 !important;
    display: block;
}

/* Caption */
.thumbcaption,
figcaption {
    background: #10151b !important;
    color: #c9d1da !important;
    border: 0 !important;
    padding: 5px 7px !important;
    font-size: 0.9em;
    line-height: 1.35;
}

/* Left-aligned thumbnails */
.thumb.tright,
figure.mw-halign-right {
    margin-left: 1.5rem !important;
}

.thumb.tleft,
figure.mw-halign-left {
    margin-right: 1.5rem !important;
}