User:Mifield/common/WiktCountryFlags/alterations.css

.ns-0 h2, .ns-0 h2 > .mw-headline, .ns-0 h2 > .mw-headline::before, .ns-0 h2 > .mw-editsection, .ns-0 h2 > .mw-editsection > span, .ns-0 h2 > .mw-editsection > a { position: relative; box-sizing: border-box;

/* debug use only */ outline: 1px var(--outline-color) solid; }

.ns-0 h2 { /* debug use only */ --outline-color: red; }

.ns-0 h2 > .mw-headline, .ns-0 h2 > .mw-editsection, .ns-0 h2 > .mw-headline::before { display: inline-flex;

/* vertical alignment */ /* bottom: 0;*/ /* align-items: end; */ }

.ns-0 h2 > .mw-headline, .ns-0 h2 > .mw-headline::before { /* vertical alignment */ /* padding-bottom: 0; */ /* margin-bottom: 0; */ }

.ns-0 h2 > .mw-headline { /* these are the elements -- direct children of elements -- that directly contain the text of section headings, which in Wiktionary's case are the names of languages */

/* height: 1lh; */

/* vertical alignment */ /* vertical-align: bottom; */

/* debug use only */ --outline-color: blue; }

.ns-0 h2 > .mw-headline::before { /* these are pseudo-elements whose "content" are the country flags provided by the Gadget ext.gadget.WiktCountryFlags */

/* height: 2em; */

/* vertical alignment */ /* vertical-align: baseline; */

/* horizontal alignment */ /* padding-right: 0; */

/* debug use only */ --outline-color: black; }

.ns-0 h2 > .mw-editsection, .ns-0 h2 > .mw-editsection > span, .ns-0 h2 > .mw-editsection > a { display: inline-flex; height: 1rlh; align-items: center; }

.ns-0 h2 > .mw-editsection { position: absolute;

/* horizontal alignment */ right: 1em;

/* debug use only */ --outline-color: green; }

.ns-0 h2 > .mw-editsection > span, .ns-0 h2 > .mw-editsection > a { /* debug use only */ --outline-color: orange; }