🐾 rigby

Making rigby look like a text file

Basically you just need to (1) reset the margin and padding of everything to zero (2) set an explicit line height and font size for everything to the same value (3) style buttons like text (4) use multiples of ch for horizontal margins and lh for vertical margins (5) use the round function to make sure the width of your body is a multiple of ch. I think that’s the majority of what I did. And use flexbox to right align things

luke on 2026-07-27

It’s still a work in progress because I still haven’t fixed the margin/padding of all elements that could show up in the body of the post

reply

luke on 2026-07-27

The paws emoji proved to be tricky because it simply ignores the width of ch and doesn’t try to conform so in the end I just gave it the space of 2 ch and let it centre itself in there. I think it worked out pretty good. The end result is that the ā€œrigbyā€ stays aligned with the other text on the page. But this means that if you put an emoji in your post title it will break the grid. I’m not sure there’s any way in CSS to actually force that all chars to only take up 1ch…

reply

Matthias on 2026-07-31

Please give us some horizontal margin I’m begging 🄺 šŸ™šŸ». All of the letters are about to fall off the left side of my phone screen.

Matthias on 2026-07-31

Huh on my computer I can see that there is left padding on the body element and a couple of other things look different. I wonder if my phone is caching an old version of the stylesheet or something.

luke on 2026-08-01

Hmm yeah I think that might be it, I don’t think I have any cache busting mechanism for the style sheet, but then I also changed the HTML around a bit.

reply

add comment