MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1,121: | Line 1,121: | ||
line-height: 1.5; | line-height: 1.5; | ||
margin-top: 0.3rem; | margin-top: 0.3rem; | ||
} | |||
/* Väčšie medzery okolo plávajúcich prvkov */ | |||
.mw-parser-output .thumb, | |||
.mw-parser-output .floatleft, | |||
.mw-parser-output .floatright, | |||
.mw-parser-output .infobox, | |||
.mw-parser-output .portable-infobox { | |||
margin-top: .5rem !important; | |||
margin-bottom: .8rem !important; | |||
} | |||
/* Obrázok vľavo → priestor vpravo */ | |||
.mw-parser-output .thumb.tleft, | |||
.mw-parser-output .floatleft { | |||
margin-left: 0 !important; | |||
margin-right: 1.6rem !important; | |||
} | |||
/* Obrázok vpravo (aj infobox) → priestor vľavo */ | |||
.mw-parser-output .thumb.tright, | |||
.mw-parser-output .floatright, | |||
.mw-parser-output .infobox, | |||
.mw-parser-output .portable-infobox { | |||
margin-right: 0 !important; | |||
margin-left: 1.6rem !important; | |||
} | |||
/* Jemný vnútorný odstup v rámci rámčeka thumb */ | |||
.mw-parser-output .thumb .thumbinner { | |||
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; | |||
} | } | ||