MediaWiki:Common.css: Difference between revisions

Family trees: keep natural column widths inside navboxes (scroll instead of squeezing)
Hide the language icon on mobile too
 
(4 intermediate revisions by 2 users not shown)
Line 763: Line 763:
.familytree { font-size: 78%; margin: 0 auto; }
.familytree { font-size: 78%; margin: 0 auto; }
.familytree td { line-height: 1.25; }
.familytree td { line-height: 1.25; }
.familytree td > div[style*="width: 2em"] { width: 1.3em !important; } /* narrower spacer columns */
.familytree-navbox, .familytree-navbox table { table-layout: fixed; width: 100%; }
.familytree-navbox, .familytree-navbox table { table-layout: fixed; width: 100%; }
.familytree-navbox table.familytree, .familytree-navbox table.familytree table { table-layout: auto; width: auto; }
.familytree-navbox table.familytree, .familytree-navbox table.familytree table { table-layout: auto; width: auto; }
@media (max-width: 720px) { .familytree { font-size: 68%; } }
@media (max-width: 720px) { .familytree { font-size: 68%; } }
/* Hide the old GNU FDL license icon in the footer */
#footer-copyrightico { display: none !important; }
/* Sidebars (navigation side boxes): keep exactly 22em like the infobox and images — long titles wrap instead of widening the box */
.mw-parser-output .sidebar {
table-layout: fixed;
}
.mw-parser-output .sidebar .sidebar-title a,
.mw-parser-output .sidebar .sidebar-above a {
white-space: normal;
}
/* Hide the language menu in the title bar: the "Read in Hebrew" button replaces it (see MediaWiki:ReadInHebrew.js) */
#p-lang-btn,
#language-selector {
display: none !important;
}