«MediaWiki:Gadget-NewImageThumb.css»–ի խմբագրումների տարբերություն

Վիքիպեդիայից՝ ազատ հանրագիտարանից
Content deleted Content added
Նոր էջ «/* _____________________________________________________________________________ * | | * |...»:
 
 
Տող 17. Տող 17.
color: #333;
color: #333;
}
}

.toc, #toc,
.toc,
#toc,
.catlinks,
.catlinks,
.mw-gallery-traditional li.gallerybox div.thumb,
.mw-gallery-traditional li.gallerybox div.thumb,
Տող 26. Տող 28.
box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05);
box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05);
}
}

div.thumbinner {
div.thumbinner {
padding: 0;
padding: 0;
}
}

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

html .thumbimage {
html .thumbimage {
border: none;
border: none;
}
}

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

.mw-image-border .mw-file-element,
img.thumbborder {
img.thumbborder {
border-width: 1px;
border-width: 1px;
Տող 44. Տող 52.
border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
}
}

.tmulti .tsingle {
.tmulti .tsingle {
margin: 0 !important;
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;
}
}

Ընթացիկ տարբերակը 16:03, 14 Հունիսի 2023-ի դրությամբ

/*  _____________________________________________________________________________
 * |                                                                             |
 * |                    === 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-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;
}