Improvements to HTML and CSS #2

Merged
Trivernis merged 11 commits from punishedbernadetta/no-chromium:main into main 1 year ago
Collaborator

I just got reminded why I use tailwind instead of writing CSS manually. Anyways.

HTML:

  • <!DOCTYPE html> to disabled quirks mode
  • lang to html tag
  • meta charset and viewport
  • favicon in head (mainly so it shows when just opening file locally)
  • some semantic html
  • changed WebIntegrity to Web Environment Integrity as later one is more easily searchable

CSS:

  • reset border-sizing to border-box because no one should be forced to use content-box
  • fixed typo in sans-serif
  • limited width of the page so paragraphs don't go from one side of the screen to the next
  • increased line-height on paragraphs to make them slightly easier on eyes
  • centered text the modern way (<center> is deprecated)

I'd be happy to remove any of the changes you don't like.

I just got reminded why I use tailwind instead of writing CSS manually. Anyways. HTML: * \<!DOCTYPE html\> to disabled quirks mode * lang to html tag * meta charset and viewport * favicon in head (mainly so it shows when just opening file locally) * some semantic html * changed WebIntegrity to Web Environment Integrity as later one is more easily searchable CSS: * reset border-sizing to border-box because no one should be forced to use content-box * fixed typo in sans-serif * limited width of the page so paragraphs don't go from one side of the screen to the next * increased line-height on paragraphs to make them slightly easier on eyes * centered text the modern way (\<center\> is deprecated) I'd be happy to remove any of the changes you don't like.
punishedbernadetta added 10 commits 1 year ago
punishedbernadetta added 1 commit 1 year ago
Owner

Thanks for these improvements. I want to use a small templating engine eventually so maybe we can integrate tailwind css at that point too.

Thanks for these improvements. I want to use a small templating engine eventually so maybe we can integrate tailwind css at that point too.
Trivernis merged commit 3f67d93922 into main 1 year ago
The pull request has been merged as 3f67d93922.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b punishedbernadetta-main main
git pull main

Step 2:

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff punishedbernadetta-main
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Trivernis/no-chromium#2
Loading…
There is no content yet.