MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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; | |||
} | |||
/* Odstránenie bielych pozadí z RecentChanges */ | |||
.mw-body, | |||
.mw-body-content, | |||
.rcfilters-head, | |||
.mw-changeslist-legend, | |||
.mw-changeslist, | |||
.mw-specialpage-summary { | |||
background: transparent !important; | |||
color: var(--text-primary, #fff) !important; | |||
} | |||
.mw-changeslist-legend, | |||
.rcfilters-head { | |||
border: 1px solid #333 !important; | |||
} | |||
/* Fix bielych rámikov v Live updates / filteroch */ | |||
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper, | |||
.oo-ui-menuSelectWidget, | |||
.oo-ui-tagMultiselectWidget-handle { | |||
background-color: #111 !important; | |||
color: #fff !important; | |||
} | } | ||