MediaWiki:Gadget-NewImageThumb.css

S Wikipedije, slobodne enciklopedije

Napomena: Nakon što objavite izmjene, možda ćete morati osvježiti keš preglednika da biste vidjeli izmjene.

  • Firefox / Safari: Držite Shift i kliknite na Reload ili pritisnite Ctrl-F5 ili Ctrl-R (⌘-R na Macu)
  • Google Chrome: Pritisnite Ctrl-Shift-R (⌘-Shift-R na Macu)
  • Internet Explorer / Edge: Držite Ctrl i kliknite na Refresh ili pritisnite Ctrl-F5
  • Opera: Pritisnite Ctrl-F5.
/* This is a fork of the en.wiki gadget.
It should only be updated if certain
styles defined below cannot be loaded
correctly. The appearance itself should
NOT be updated. */

.tocnumber {
    color: #333;
}

.toc,
#toc,
.catlinks,
.mw-gallery-traditional li.gallerybox div.thumb,
div.thumbinner {
    border-width: 1px;
    border-style: solid;
    border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
    box-shadow:  0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05);
}

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: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
}

.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-width: 1px;
    border-style: solid;
    border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
    box-shadow:  0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05);
}

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;
}