/* The landing hero, centred: project name, subtitle, the author block and the
   buttons. Scoped to #landing like DocumenterLandingPage's own rules, which
   use the id and would otherwise win. The tagline holds the author block
   (authors, group, university, venue, one per line); the plugin renders it as plain
   escaped text, so its newlines (a YAML literal block in index.md's front
   matter) are kept by pre-line, and landing_tagline.js adds the links. */
#landing .landing-title, #landing .landing-tagline { text-align: center; }
#landing .landing-tagline { white-space: pre-line; }
#landing .landing-actions { justify-content: center; }
/* The name is gradient text in a box as wide as the text: centre the box. */
#landing .landing-name { width: fit-content; margin-left: auto !important; margin-right: auto !important; }
/* One size for every project page. The plugin sizes the name from its own
   character count (so each site differed) and the subtitle from the column
   width; fix both, and let a long name wrap instead of shrinking. Smaller on
   phones only. */
#landing .landing-name { font-size: 2rem !important; white-space: normal !important; line-height: 1.2; text-wrap: balance; text-align: center; }
#landing .landing-title { font-size: 2.75rem !important; text-wrap: balance; }
@media (max-width: 600px) {
    #landing .landing-name { font-size: 1.6rem !important; }
    #landing .landing-title { font-size: 2rem !important; }
}
/* pseudocode.js (the method's algorithm block): ink and rules in the page's
   text colour, so it follows the light and dark themes with no background. */
.ps-root, .ps-root .ps-algorithm, .ps-root .ps-algorithm.with-caption > .ps-line:first-child,
.ps-root .ps-algorithmic { color: inherit; border-color: currentColor !important; background: transparent; }
.ps-root { font-size: 1rem; }
.ps-root .ps-line { margin: 0 !important; line-height: 1.7; }
.ps-root p { margin: 0 !important; }
.ps-root .ps-comment { margin-left: 1.5em; opacity: 0.85; }
