MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1,152: | Line 1,152: | ||
.mw-parser-output .thumb .thumbinner { | .mw-parser-output .thumb .thumbinner { | ||
padding: .25rem !important; | padding: .25rem !important; | ||
} | |||
/* Pri tabulkách: viac priestoru medzi stĺpcami s textom */ | |||
.mw-parser-output table td, | |||
.mw-parser-output table th { | |||
padding: 0.75rem 0.9rem !important; | |||
vertical-align: top; /* text hore vedľa obrázka */ | |||
} | |||
/* Extra ľavé odsadenie pre každý nasledujúci stĺpec v riadku */ | |||
.mw-parser-output table td + td, | |||
.mw-parser-output table th + td, | |||
.mw-parser-output table th + th { | |||
padding-left: 1.25rem !important; /* toto vytvorí medzeru od obrázka */ | |||
} | |||
/* Ak je v bunke obrázok, nech je jemný odstup od rámu bunky */ | |||
.mw-parser-output table td img, | |||
.mw-parser-output table td .thumb { | |||
margin: 0.2rem 0.2rem 0.2rem 0.2rem !important; | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||