Skip to content

fix(css): change font-size from pixel to rem#154

Open
spaceone wants to merge 3 commits into
masterfrom
fix/font-size
Open

fix(css): change font-size from pixel to rem#154
spaceone wants to merge 3 commits into
masterfrom
fix/font-size

Conversation

@spaceone

Copy link
Copy Markdown
Collaborator

No description provided.

perl -pe 's/font-size:\s*(\d+)px/font-size: @{[$1\/16]}rem/g' -i $(git grep -l "font-size: .*px")
@spaceone spaceone requested review from livinskull and tehron April 22, 2026 21:03

@tehron tehron left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to admit, I don't really agree with this PR: :/

  • I think there should be no more px units left (judging from the title)
  • There shouldn't be a need for 1.0625rems or so, just make it a little smaller or bigger, no biggy IMHO
  • The "fix(css): remove font-size: 98%;" should undo everything I did, incl. tweaking styles of GeSHI in some file I forget the name for.
  • Unsure about the effect of the chore-changes
  • I'd be very helpful to have some screenshots before/after the changes attached

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants