میدیاویکی:Gadget-responsiveContentBaseTimeless.css: جیاوازیی نێوان پێداچوونەوەکان
ناوەڕۆکی سڕاو ناوەڕۆکی زیادکراو
Aram (لێدوان | بەشدارییەکان) نوێکردنەوە (وەشانی ویکیپیدیای ئینگلیزی) |
|||
ھێڵی ١:
/*
* have to override Timeless being a little aggressive with tables in
* the 720-850 range
*/
@media (min-width: 720px) and (max-width: 850px) {
table.
table.cmbox,
table.imbox,
table.ombox:not(.mbox-small),
table.tmbox:not(.mbox-small) {
width: 80%;
}
}
Line ٧٣ ⟶ ٢٩:
}
.mw-body-content .thumb
.mw-body-content figure[typeof~='mw:File/Thumb'],
.mw-body-content figure[typeof~='mw:File/Frame'] {
float: none;
clear: none;
Line ٩٤ ⟶ ٥٢:
.mw-body-content .thumbimage {
border: 0;
background-color: transparent;
}
.mw-body-content figure[typeof~='mw:File/Thumb'],
.mw-body-content figure[typeof~='mw:File/Frame'],
.mw-body-content figure[typeof~='mw:File/Thumb'] > figcaption,
.mw-body-content figure[typeof~='mw:File/Frame'] > figcaption {
border: 0;
background-color: transparent;
padding: 0;
}
.mw-body-content figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element,
.mw-body-content figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element {
margin: 0 auto 0.5em auto;
max-width: 100% !important;
height: auto;
object-fit: contain;
box-sizing: border-box;
border: 0;
background-color: transparent;
Line ١٠١ ⟶ ٧٩:
display: none;
}
.mw-body-content figure[typeof~='mw:File/Thumb'] > figcaption::before,
.mw-body-content figure[typeof~='mw:File/Thumb'] > .mw-file-description::after,
.mw-body-content figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
content: none;
}
/* amboxes become normal blocks */
.mw-body-content table.ambox > tbody,
Line ١٤٧ ⟶ ١٣١:
.mw-body-content .infobox,
.mw-body-content .navbox,
.mw-body-content .navbox > .navbox-inner {
Line ١٥٣ ⟶ ١٣٦:
box-sizing: border-box;
display: table;
}
Line ١٧٨ ⟶ ١٥٣:
only screen and ( max-width: 550px ) and ( min-resolution: 1.5dppx ) {
@supports ( object-fit: contain ) {
.mw-body-content div.thumbinner
.mw-body-content figure[typeof~='mw:File/Thumb'],
.mw-body-content figure[typeof~='mw:File/Frame'] {
width: 100% !important;
padding: 0 !important;
}
.mw-body-content div.thumbinner .thumbimage
.mw-body-content figure[typeof~='mw:File/Thumb'] > :not(figcaption) .mw-file-element,
.mw-body-content figure[typeof~='mw:File/Frame'] > :not(figcaption) .mw-file-element {
width: 100%;
object-fit: contain;
|