"मिडियाविकी:Gadget-responsiveContentBaseTimeless.css" च्या आवृत्तींत अंतर
Content deleted Content added
द 9 revisions imported from en:MediaWiki:Gadget-responsiveContentBaseTimeless.css |
|||
1 वळ :
/*
* 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 73 ⟶ 29:
}
.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 94 ⟶ 52:
.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 101 ⟶ 79:
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 147 ⟶ 131:
.mw-body-content .infobox,
.mw-body-content .navbox,
.mw-body-content .navbox > .navbox-inner {
Line 153 ⟶ 136:
box-sizing: border-box;
display: table;
}
Line 178 ⟶ 153:
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;
|