The occasional geminer - an artisanal, handcrafted gemlog

=> ↑ latest entries

Styling webpages

=> https://lobste.rs/s/akcw1m/opinionated_list_best_practices_for#c_xkhd6g

Textual websites don’t need fancy styles because styles aren’t a significant part of their content.

Where is the line drawn, however?

Here’s two screenshots from my blog, with styling (amended yesterday after some tinkering based on discussion here) and without:

=> https://imgur.com/gallery/LPMYrX7

(I’ve also added the page as rendered via w3m)

Note that I have semantic markup:

    .h1 Blog title
        .h2 Date
            .h3 Post title

but I visually de-emphasize the date using CSS. I also remove link styling from the titles, because there’s a convention that titles are links to their respective levels.

Styling also adds nice margins, etc.

────────────────────────────────────────────

=> ✽ Wednesday, 2020-11-25 | → more posts in the ‹lobsters-drafts› category

About this category: “Sometimes I post to lobste.rs, sometimes I write angry rants that end up here but not there”

Copyright © 2018 - 2022 Gustaf Erikson

=> Main page for this gemsite

[This Page Viewed Best In Any Gemini Client]

Proxy Information
Original URL
gemini://gerikson.com/gemlog/lobsters-drafts/Styling-webpages.gmi
Status Code
Success (20)
Meta
text/gemini; lang=en
Capsule Response Time
827.646083 milliseconds
Gemini-to-HTML Time
0.486103 milliseconds

This content has been proxied by September (ba2dc).