Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSS body classes for each page #1767

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Oct 22, 2024

  1. Add body classes argument

    Note that the additional function argument for getHTTPHead() includes a default argument for backwards compatibility with the API.
    dmadison committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    f5f3496 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Add page-specific classes

    Allows easy styling of each page
    dmadison committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    45a56bf View commit details
    Browse the repository at this point in the history
  2. Change root CSS class to 'home'

    Trying to avoid confusion between the class for the root level and the CSS ":root" pseudo-class
    dmadison committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    5e23c61 View commit details
    Browse the repository at this point in the history
  3. Use conditional body class spacing

    Avoids an extra space if a body class is set, but an empty string is passed to the function
    dmadison committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    27ed8f2 View commit details
    Browse the repository at this point in the history