Template:Hill synonyms/styles.css

/* We want collapsed line spacing, so the content for each entry appears as a pusedo list. So collapse the margins and padding for paragrpahs within the "wrapper" template.

div.__synonyms p{ margin-top:0; margin-bottom:0; }

/* CSS doesn't yet have a P::first-word slector as of 2020 so lets's use the first span inside the P instead This span is around the "first" word in the template.

TODO: If CSS is updated to allow for a ::first-word selector this and the use of a SPAN in the relevant template should be reviewed.

div.__synonyms p span:first-of-type { font-variant:small-caps; }