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.
I went through
owid.scss
a bit and removed some rules that are obviously not in use anymore.For all of these, I ran ripgrep through
live-data/bakedSite
to see that they are actually not in use anymore.The removed styles are certainly not an exhaustive list of the unused css rules, but it's a start.
Rules that I could identify:
.owid-data
used to be an "All our articles" block on the old homepage, circa 2018Details
Fancybox used to be a jQuery-based image viewing tool that we certainly don't use any more.
The
.social
component was this old one here, circa 2018Details
#un-button
I couldn't really find anywhere..citation-note
is the[cite]
in the screenshot below, and.citation-guideline
is the highlighted component here:Details
.twitter-tweet
is presumably an embedded tweet, of which we don't have any..archive-pagination
I cannot find anywhere 🤷🏻The teaching hub page neither contains
#category-nav
nor#entries-nav
.The teaching hub
h2
rules are completely overwritten by other, more specific rules..mobile.subheading
and.owid-presentations
used to be features on the frontpage, the latter one being similar to.owid-data
.Couldn't find
.footer-widgets
.