MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 858: | Line 858: | ||
background: transparent !important; | background: transparent !important; | ||
border: 1px solid #2a2d33 !important; /* zmeň/odstráň podľa chuti */ | border: 1px solid #2a2d33 !important; /* zmeň/odstráň podľa chuti */ | ||
} | |||
/* Odstránenie bieleho pozadia a rámikov pri figure obrázkoch */ | |||
figure[typeof*="mw:File"], | |||
figure[typeof*="mw:File/Thumb"], | |||
figure[typeof*="mw:File/Frame"] { | |||
background: transparent !important; | |||
border: 0 !important; | |||
margin: .5em auto !important; | |||
padding: 0 !important; | |||
box-shadow: none !important; | |||
} | |||
/* Samotný obrázok */ | |||
figure[typeof*="mw:File"] img.mw-file-element { | |||
background: transparent !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
outline: none !important; | |||
} | |||
/* Popisok pod obrázkom */ | |||
figure[typeof*="mw:File"] figcaption { | |||
background: transparent !important; | |||
color: #aaa !important; /* alebo #e5e8eb podľa tvojej témy */ | |||
border: 0 !important; | |||
padding: 0.2em 0 !important; | |||
} | } | ||