MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 885: | Line 885: | ||
border: 0 !important; | border: 0 !important; | ||
padding: 0.2em 0 !important; | padding: 0.2em 0 !important; | ||
} | |||
/* === Thin yellow frame around images (global) === */ | |||
:root { --accent: #f2bd00; } /* ak už máš, nechaj svoju hodnotu */ | |||
figure[typeof*="mw:File"] img.mw-file-element, | |||
.mw-parser-output .thumb .thumbimage, | |||
.gallerybox .thumb img { | |||
border: 1px solid var(--accent) !important; /* tenký žltý rámik */ | |||
border-radius: 6px; /* ak chceš rovné, zmaž */ | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
} | |||
/* voliteľne jemný hover efekt */ | |||
figure[typeof*="mw:File"] img.mw-file-element:hover, | |||
.mw-parser-output .thumb .thumbimage:hover, | |||
.gallerybox .thumb img:hover { | |||
box-shadow: 0 0 0 1px rgba(242,189,0,.25), 0 0 10px rgba(242,189,0,.15) !important; | |||
} | } | ||