/* Site-specific styles for paint.net */

/* Keep the header logo, nav bar, and divider tightly spaced. The table-based
   layout relied on legacy image spacing; collapse the line-box space that
   appears around images in table cells. */
#table2 img { vertical-align: bottom; }
td.hline { font-size: 0; line-height: 0; }
td.hline img { vertical-align: bottom; }

/* A little extra breathing room between the social icons (RSS/X/Bluesky)
   in the nav bar, on top of the single space already between them. */
#table2 h5 a img { margin-left: 1.75px; }

/* Halve the vertical whitespace around the nav bar. The nav is an <h5>, whose
   default top/bottom margins (~22px each) create the gaps between the
   logo+search, the nav, and the divider below. Cut them to ~11px. */
#table2 h5 { margin-top: 11px; margin-bottom: 11px; }

/* Halve the gap below the header divider on the home page by trimming the top
   margin of the first heading in each content column (award + "Get it now"). */
td[width="58%"] > h5:first-child,
td[width="35%"] h5:first-child { margin-top: 10px; }

/* Download page: each cell wraps content in a <p>, whose default ~16px
   top/bottom margins (suppressed by legacy quirks mode) balloon the rows in
   standards mode. Remove them. Also tighten line spacing: the small language
   text (font size 1) otherwise inherits a tall line-box strut from the 16px
   parent font, stretching the rows. */
#table8 p { margin: 0; }
#table8 td { line-height: 13px; }
