πŸ’Ύ Archived View for gerikson.com β€Ί gemlog β€Ί lobsters-drafts β€Ί Styling-webpages.gmi captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

➑️ Next 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 - 2021 Gustaf Erikson

Main page for this gemsite