Repository navigation
Directory page heading: match the Threats and Platforms headers - #87
Merged
Merged
Conversation
…eaders directory.disclose.io's index brings its own heading markup and rules. Add more specific rules, with the same utilities the Threats header uses, so its title and description match the sibling tool pages (colour, tracking, line height, width, spacing). The 'Get on the List!' button is left as it is. The build guard now also fails if the Threats header's utility classes and these rules drift apart.
This was referenced Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The index of directory.disclose.io brings its own heading markup (
.widget-header) with its own rules, so its title and description did not match the sibling tool pages: purple title, loose tracking, wider description, more space under the site header.assets/css/main.css: three more-specific rules using the same utilities as the Threats page header, so the title and description get the same colour, tracking, line height, width and spacing. The "Get on the List!" button is unchanged.scripts/check-directory-shell.mjs: fails the build if the Threats header's utility classes and these rules drift apart (self-test covers it).The rest of the built stylesheet is byte-identical. Measured with the new stylesheet on the real pages: the directory heading equals the Threats and Platforms headings at 1440, 1024, 768, 767, 390 and 320 px; nothing outside the heading block changes on the index, an organisation page or the State page.