···11+---
22+title: "Site Update: CSS Fixes"
33+date: 2023-01-21
44+series: site-update
55+tags:
66+ - css
77+ - xedn
88+---
99+1010+So yesterday my blog was on the front page of [Hacker
1111+News](https://news.ycombinator.com/news). Twice. The [comments were
1212+brutal](https://news.ycombinator.com/item?id=34454165), however some people
1313+politely pointed out some issues that I've brushed off in the past because it's
1414+difficult to interpret comments like "ur website is gay furry trash because I
1515+can't tell what is a conversation snippet lol" in a positive enough light to
1616+want to act on it.
1717+1818+I decided to just fix the problem on [stream](https://twitch.tv/princessxen) and
1919+now hopefully people should complain about this less.
2020+2121+<xeblog-conv standalone name="Numa" mood="delet"><span
2222+style="color:green">>implying.</span></xeblog-conv>
2323+2424+Either way, things are fixed now. Here's what I fixed.
2525+2626+## Styling of conversation snippets
2727+2828+I've never spelled this out anywhere on the blog, but those interjections with
2929+characters are called "conversation snippets". I want them to feel a bit like
3030+IRC, Telegram, or Discord conversations to use the [Socratic
3131+method](https://en.wikipedia.org/wiki/Socratic_method) as a teaching aid.
3232+3333+In the past, these snippets didn't have any solid delineation between them and
3434+the rest of the post, which apparently is confusing. I have changed this and now
3535+there is more of a border:
3636+3737+<xeblog-conv standalone name="Aoi" mood="cheer">Like this!</xeblog-conv>
3838+3939+When a conversation has mutiple parts, they will get smaller and look like this:
4040+4141+<xeblog-conv name="Numa" mood="delet">Have you ever been far even as decided to
4242+use even go want to do look more like?</xeblog-conv>
4343+<xeblog-conv name="Aoi" mood="coffee">What.</xeblog-conv>
4444+<xeblog-conv name="Cadey" mood="enby">You've got to be kidding me. I've been
4545+further even more decided to use even go need to do look more as anyone can. Can
4646+you really be far even as decided half as much to use go wish for that? My guess
4747+is that when one really been far even as decided once to use even go want, it is
4848+then that he has really been far even as decided to use even go want to do look
4949+more like. It's just common sense.</xeblog-conv>
5050+<xeblog-conv name="Aoi" mood="coffee">Is that supposed to be
5151+English????</xeblog-conv>
5252+5353+As you can see, this is a lot more clear and easy to understand. The
5454+"standalone" snippets are a bit bigger so that the character is emphasized.
5555+5656+## Reader mode fixes
5757+5858+One of the complaints I've gotten for years from people using the site in
5959+"reader mode" and when using an RSS feed reader is that the stickers take up the
6060+entire screen. This is because I was serving the raw assets that I got from the
6161+artists (recompressed with webp and avif to save bandwidth).
6262+6363+This has been a problem because reader mode and RSS feed readers don't let me
6464+control how things are displayed for understandable reasons. After thinking
6565+about the problem, I came to the conclusion that the only way I could get this
6666+to work would be to have [XeDN resize the stickers
6767+on-demand](https://github.com/Xe/x/commit/255d527c651c2a5b1ba82969d13b6df7a33517c7).
6868+6969+This will cache the resized assets so that the expensive resizing doesn't have
7070+to be done on every request. It's done lazily by the CDN itself.
7171+7272+---
7373+7474+<xeblog-conv standalone name="Mara" mood="hacker">If you want to see these
7575+things written live, [give a follow on
7676+Twitch](https://twitch.tv/princessxen)!</xeblog-conv>