MediaWiki:Common.css

/* CSS placed here will be applied to all skins */ /* Inflection tables - */

/* To colour links in inflection tables (currently done with	) black without using #ifexist and allowing for user override */ .inflection-table a.new { color: inherit; }

/* fill a parent NavContent collapsing box */ .NavContent table.inflection { width: 100%; }

.treeview ul { padding: 0; margin: 0; } .treeview li { padding: 0; margin: 0; list-style-type: none; list-style-image: none; } .treeview li li { background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px; /* @noflip */ padding-left: 21px; text-indent: 0.3em; } .treeview li li:last-child { background-position: 0 -5971px } /* first line here deals with new situation after RemexHTML switch, * where emptyline cause the first child to become the 2nd child. Such a mess */ .treeview li.emptyline > ul > .mw-empty-elt:first-child + .emptyline, .treeview li.emptyline > ul > li:first-child { background-position: 0 9px }

/* basic inflection table styles */ table.inflection { border-collapse: collapse; border: 1px solid; background: #ffffff; }

table.inflection caption { caption-side: bottom; padding: 0.33em 1em; text-align: left; font-size: smaller; }

/* subtle grey for alternate row backgrounds */ table.inflection tr:nth-child(odd) { background: #fcfcfc; }

/* and for row headers */ table.inflection tr:nth-child(odd):not(.rowgroup) th { background: #f6f6f6; }

table.inflection td, table.inflection th { padding: 0.33em 1em; vertical-align: baseline; }

/* but vertically center multi-row cells */ table.inflection td[rowspan] { vertical-align: middle; }

table.inflection td { text-align: center; }

/* regular row headers, in the left column */ table.inflection th { background: #f9f9f9; text-align: left; }

/* rowgroup header rows */ table.inflection tr.rowgroup th { background: #eeeeee; text-align: center; }

/* first-of-several rowgroup header cells is aligned left */ table.inflection tr.rowgroup th:first-child { text-align: left; } table.inflection tr.rowgroup th:first-child:only-child { text-align: center; }

/* rows with dividers above */ table.inflection tr.divider th { border-top: 3px solid #999999; }

/* transliterations */ table.inflection .translit { color: #888; }

/* header links aren’t coloured until hover/active */ table.inflection th a:link, table.inflection th a:visited { color: inherit; text-decoration: inherit; }

table.inflection th a:hover { color: #0645ad; text-decoration: underline; }

table.inflection th a:active { color: #faa700; text-decoration: underline; }

/* Russian verb tables */

table.inflection-ru.inflection-verb { background: #ffffff; }

/* and for row headers */ table.inflection-ru.inflection-verb tr:nth-child(odd):not(.rowgroup) th { background: #fcfcda; }

table.inflection-ru.inflection-verb th { background: #ffffe0; }

table.inflection-ru.inflection-verb tr.rowgroup th { background: #e0e0ff; }

table.inflection-ru.inflection-verb tr.divider th { border-top-color: #9090d0; }

/* end of Inflection tables */