h2, h3, h4, h5, h6 {
text-align: center;
}
h2 {
border-bottom: none;
margin-bottom: 0;
}
h2:after {
content: "";
width: 3em;
border-bottom: 1px solid black;
display: block;
margin: 1em auto;
}
/* join the consecutive <dl>s that mediawiki is producing */
dl {
margin: 0;
}
dt, dd {
margin: 0;
display: inline;
}
/* each headword is on a new line ofc */
dt:before {
content: "";
display: block;
}
dt {
font-variant: small-caps;
}
/* spacing before each definition */
dd {
padding-left: 1em;
}
/* but no spacing before example sentences */
dd dd {
padding-left: 0;
}
dd dl, dd dt:before {
display: inline;
}
dd dt {
font-variant: normal;
font-style: italic;
font-weight: normal;
}
/* "Syn:" lines are on a new line */
dd + dd {
display: block;
text-indent: 1em;
}
._introduction-examples dl {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: max-content;
gap: 0 1em;
}
._introduction-examples dt, ._introduction-examples dd {
display: block;
text-indent: -1em;
padding-left: 1em;
}
._introduction-examples dt {
font-variant: normal;
/*font-style: italic;*/
font-weight: normal;
}
/* nullify */
._introduction-examples dt:before {
display: inline;
}