MediaWiki:Gadget-NewImageThumb.css

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

Catatan: Setelah menyimpan, Anda harus memintas tembolok (cache) peramban Anda untuk melihat perubahannya. Google Chrome, Firefox, Microsoft Edge dan Safari: Tahan tombol Shift dan klik Muat ulang (Reload) di tombol bilah alat. Untuk detail dan instruksi tentang peramban lain, lihat halaman menghapus singgahan (Inggris).

/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === WARNING: GLOBAL GADGET FILE ===                      |
 * |                  Changes to this page affect many users.                    |
 * | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
 * |_____________________________________________________________________________|
 *
 * New image thumb design
 *
 * @dependencies none
 * @source en.wikipedia.org/wiki/MediaWiki:Gadget-NewImageThumb.css
 * @revision 2
 * @author: Edokter ([[User:Edokter]])
 */

.tocnumber {
    color: #333;
}

.toc,
#toc,
.catlinks,
.mw-gallery-traditional li.gallerybox div.thumb,
div.thumbinner {
    border: 1px solid transparent;
    border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
    box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

div.thumbinner {
    padding: 0;
}

div.thumbinner.mp-thumb {
    box-shadow: none;
}

html .thumbimage {
    border: none;
}

html .thumbcaption {
    line-height: 1.5;
    padding: 0.5em;
}

.mw-image-border .mw-file-element,
img.thumbborder {
    border-width: 1px;
    border-style: solid;
    border-color: lightgrey;
}

.tmulti .tsingle {
    margin: 0 !important;
}

figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'],
figure[typeof~='mw:File/Thumb'] > figcaption,
figure[typeof~='mw:File/Frame'] > figcaption {
    border: 1px solid transparent;
    border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
    box-shadow:  rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Frame'] {
    border-bottom: 0;
}

figure[typeof~='mw:File/Thumb'] > figcaption,
figure[typeof~='mw:File/Frame'] > figcaption {
    border-top: 0;
    line-height: 1.5;
}

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