Repository navigation
Add shared gx-dates key dates table style and respect markdown table alignment - #4575
Draft
ahmedhamidawan wants to merge 6 commits into
Draft
ahmedhamidawan wants to merge 6 commits into
ahmedhamidawan wants to merge 6 commits into
Conversation
Contributor
🧭
|
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.
Depends on #4574. This branch is built on top of it (the Abstracts and Fellowships date tables only exist there), so the diff here includes #4574's commits until it merges. Only the last commit is new.
Markdown tables on the hub silently ignored column alignment, and the GCC2027 key dates tables each carried their own
<style>block to work around it. This moves that styling into the shared CSS::---:,---:) site-wide inglobal.css. The typography plugin forcedtext-align: starton every cell, overriding thealignattribute the markdown renderer outputsgx-datesclass for key dates tables: wrap a 3-column markdown table (Date | status icon | What) in<div class="gx-dates">and its status-icon column is centred and shrunk to its content. Targets the second column by position, so centring other columns behaves normallyastro/DESIGN.mdgx-dateson the GCC2027 Key Dates, Abstracts and Fellowships pages and remove their per-page<style>blocksExample
Note: since alignment is now respected site-wide, older tables that already asked for alignment (e.g. GCC2026's right-aligned register and key dates columns) will now render aligned, as their authors intended.