MediaWiki:Common.css: Difference between revisions
Content added Content deleted
Thermerite (talk | contribs) (trying to test something) |
No edit summary |
||
Line 328: | Line 328: | ||
/* Image frame fix */ |
/* Image frame fix */ |
||
figure:is([typeof~="mw:File/Thumb"], |
|||
tright, |
|||
[typeof~="mw:File/Frame"], |
|||
tleft { |
|||
[typeof~="mw:Image/Thumb"], |
|||
⚫ | |||
[typeof~="mw:Video/Thumb"], |
|||
[typeof~="mw:Audio/Thumb"], |
|||
[typeof~="mw:Image/Frame"], |
|||
[typeof~="mw:Video/Frame"], |
|||
[typeof~="mw:Audio/Frame"]), |
|||
figure:is([typeof~="mw:File/Thumb"], |
|||
[typeof~="mw:File/Frame"], |
|||
[typeof~="mw:Image/Thumb"], |
|||
[typeof~="mw:Video/Thumb"], |
|||
[typeof~="mw:Audio/Thumb"], |
|||
[typeof~="mw:Image/Frame"], |
|||
[typeof~="mw:Video/Frame"], |
|||
[typeof~="mw:Audio/Frame"]) > :is(a, span):first-child > *:first-child:not(.mw-broken-media), |
|||
⚫ | |||
.gallerytext { |
|||
⚫ | |||
⚫ | |||
color: var(--theme-secondary); |
|||
} |
} |
||
⚫ | |||
figure:is([typeof~="mw:File/Thumb"], |
|||
⚫ | |||
[typeof~="mw:File/Frame"], |
|||
⚫ | |||
[typeof~="mw:Image/Thumb"], |
|||
color: #3B5263; |
|||
[typeof~="mw:Video/Thumb"], |
|||
[typeof~="mw:Audio/Thumb"], |
|||
[typeof~="mw:Image/Frame"], |
|||
[typeof~="mw:Video/Frame"], |
|||
[typeof~="mw:Audio/Frame"]) > figcaption, |
|||
.thumbcaption, |
|||
.gallerytext { |
|||
background-color: unset; |
|||
⚫ | |||
font: 400 .75rem/1.25rem var(--font-body-sans-serif); |
|||
letter-spacing: .0333333333em; |
|||
} |
} |
||
#article thumb { |
|||
figure:is([typeof~="mw:File/Thumb"], |
|||
color: #3B5263; |
|||
[typeof~="mw:Image/Thumb"], |
|||
[typeof~="mw:Video/Thumb"], |
|||
[typeof~="mw:Audio/Thumb"]):not([typeof~="mw:Error"]) > a::after { |
|||
content: unset; |
|||
} |
|||
.mw-parser-output .gallery { |
|||
text-align: center; |
|||
} |
|||
.mw-parser-output .gallery .gallerybox { |
|||
margin: 0 !important; |
|||
vertical-align: middle; |
|||
width: unset !important; |
|||
width: -moz-min-content !important; |
|||
width: min-content !important; |
|||
} |
|||
.mw-parser-output .gallery .thumb { |
|||
height: unset !important; |
|||
min-width: 16ch; |
|||
width: unset !important; |
|||
width: -moz-fit-content !important; |
|||
width: fit-content !important; |
|||
} |
|||
.mw-content-ltr ul.gallery { |
|||
margin: 0; |
|||
} |
|||
li.gallerybox div.thumb { |
|||
border: 1px solid rgba(var(--theme-border), 0.48); |
|||
background-color: rgb(var(--theme-background-secondary)); |
|||
} |
} |