Skip to content

Optimize CSS #104

Description

@captainbrosset

Three possible improvements:

  • Minify at build-time.
  • Split into two main css files: lists of tips, content of a tip. These things aren't displayed at the same time, but we're always loading everything on all pages.
  • Removed unused CSS. There's probably some of it somewhere, like
    .tips .tip.highlighted .highlight {
      background: var(--accent-color);
    }
    .tips.searching .tip:not(.highlighted) {
      display: none;
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions