add some styles to the homepage #8

Merged
lucidiot merged 3 commits from feat/index-styles into main 2022-08-19 16:42:28 +00:00
Owner
  • add some styles to the frontpage a la bettermotherfuckingwebsite.com
  • add transparency to the logo gif
- add some styles to the frontpage a la bettermotherfuckingwebsite.com - add transparency to the logo gif
dozens added 1 commit 2022-08-19 14:30:32 +00:00
cba10d434f add some styles to the homepage
- add some styles to the frontpage a la bettermotherfuckingwebsite.com
- add transparency to the logo gif
Author
Owner

add some basic styling to the homepage so it look pretty

Before

before

After

after

add some basic styling to the homepage so it look pretty ## Before ![before](https://ttm.sh/qFJ.png) ## After ![after](https://ttm.sh/qFo.png)
lucidiot reviewed 2022-08-19 15:16:45 +00:00
index.html Outdated
@ -9,1 +9,4 @@
<title>Commonhealth of Casakhstan</title>
<style>
body {
max-width: 80ch;
Owner

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 have 1ch == 11px, but DejaVu Serif has 1ch == 14px.

We could define the maximum width at 80ch == 880px, or 80ch == 1120px, or something else?

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](https://jsfiddle.net/6ahf82cd/) to inspect the width of the "0" character, which is [how `ch` is defined](https://www.w3.org/TR/css3-values/#ch). It shows that Times New Roman, Liberation Serif and FreeSerif have `1ch == 11px`, but DejaVu Serif has `1ch == 14px`. We could define the maximum width at 80ch == 880px, or 80ch == 1120px, or something else?
Owner

My vote is less than 1120, maybe compromise and go with a clean 1000px? OH OR 1024 :P

My vote is less than 1120, maybe compromise and go with a clean 1000px? OH OR 1024 :P
Author
Owner

My vote is less than 1120, maybe compromise and go with a clean 1000px? OH OR 1024 :P

+1 1024

> My vote is less than 1120, maybe compromise and go with a clean 1000px? OH OR 1024 :P +1 1024
dozens added 1 commit 2022-08-19 16:16:57 +00:00
Author
Owner

1024 actually looked really wide to me.

changed it to 880, which looks 👩‍🍳🤌

1024 actually looked really wide to me. changed it to 880, which looks 👩‍🍳🤌
Owner

909px? 420+69+420

909px? 420+69+420
Author
Owner

also i would only ever consider supporting IE and/or windows XP out of love for lucidiot personally.

also i would *only* ever consider supporting IE and/or windows XP out of love for lucidiot personally.
dozens added 1 commit 2022-08-19 16:20:59 +00:00
lucidiot merged commit d95b7ccd9d into main 2022-08-19 16:42:28 +00:00
lucidiot added the
SUPER CRITICAL
label 2023-02-10 14:35:27 +00:00
Sign in to join this conversation.
No description provided.