💾 Archived View for gerikson.com › gemlog › lobsters-drafts › Styling-webpages.gmi captured on 2024-06-16 at 12:38:12. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

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]