add some styles to the homepage #8
No reviewers
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: casa/pages#8
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/index-styles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
add some basic styling to the homepage so it look pretty
Before
After
@ -9,1 +9,4 @@
<title>Commonhealth of Casakhstan</title>
<style>
body {
max-width: 80ch;
The
ch
unit is only supported starting in IE 9, and is improperly supported compared to other browsers (see https://caniuse.com/ch-unit), so the width just won't change on XP, and FrontPage (where the site was originally built) will definitely not see it.Here's a purposefully terrible fiddle to inspect the width of the "0" character, which is how
ch
is defined. It shows that Times New Roman, Liberation Serif and FreeSerif have1ch == 11px
, but DejaVu Serif has1ch == 14px
.We could define the maximum width at 80ch == 880px, or 80ch == 1120px, or something else?
My vote is less than 1120, maybe compromise and go with a clean 1000px? OH OR 1024 :P
+1 1024
1024 actually looked really wide to me.
changed it to 880, which looks 👩🍳🤌
909px? 420+69+420
also i would only ever consider supporting IE and/or windows XP out of love for lucidiot personally.