Commit graph kmalloc.org/static/style.css
Author SHA1 Message Date
85b01cf588 feat(news): news in blog style
Templates and strings for the blog features of the next motorino: a post page with
the long date, author, categories, summary, reading time and links to the older
and newer posts, the blog list with pages and the archive on the news index, Open
Graph article meta, month names and the interface strings in the five languages,
the author and the language of the news in site.json, and the styles.

Needs the motorino release that adds these features (.motorino-version is not
changed here).
2026-11-16 12:12:27 +01:00
943e8e8b15 chore(style): add font tokens, normalize hex case, fix .note order
- --font-title and --font-body replace four repeated literal font
  stacks.
- Hex colors normalized to uppercase (6 of 9 values already were).
- .note moved next to blockquote, its closest relative; it was
  stranded after the @media print block for no reason.
- The RSS badge's rect now uses fill: var(--accent) instead of a
  hardcoded #D9480F, so it already follows the print override
  (--accent becomes #000) instead of ignoring it.

Verified: CSS and the three touched pages (en index, services, it
servizi) pass the W3C Nu checker.
2026-11-15 17:26:58 +01:00
944c498d78 feat: rust Dissent in the hero, shrike mark in the header and link preview metadata
- the last line of the home motto is set in the accent colour, as in the logo
- the header of every page starts with the small shrike mark
- og:* and twitter:card meta tags with a 1200x630 preview image (og.png)
2026-11-14 11:08:38 +01:00
f21bd75ad8 feat: add data, funds, rules of use and history pages
Add the manifesto changelog, a data and retention table, a costs section, rules of use with sanctions and inactive accounts, a note on automatic translations, the CC BY-SA 4.0 licence, and index only the home page and the manifesto.
2026-11-13 12:40:07 +01:00
3fd4f665bc fix: center the hero title on the home page
Add text-align: center to .hero so the title lines up with the centered logo above it.
2026-11-13 12:10:49 +01:00
1adc29685f fix: center the logo on the home page
Make .logo a block with auto horizontal margins so it sits in the middle of the column on desktop and mobile.
2026-11-13 12:09:20 +01:00
1531f137db style: use only standard fonts on the site
- set headings and code in Courier New, Courier, monospace
- set the body in Arial, Helvetica, sans-serif
- drop ui-monospace, system-ui and the other non-standard names
2026-11-13 09:07:48 +01:00
046d49fc0f style: stop using Terminess on the site, use the system monospace font
- drop the Terminess web font and its @font-face rule
- set headings in the system monospace stack
- remove fonts/ and the font from the published assets
2026-11-12 21:58:29 +01:00
1b81184187 fix: show the RSS icon and the W3C badges on one line at the same height
- move the RSS icon inside the badges paragraph
- scale every footer icon to 32 px high
- lay the badges out in a flex row
2026-11-12 18:45:58 +01:00
8270863f9f feat: add the RSS icon to the footer and make the news English only
- show the RSS icon in every footer, linked to /news/feed.xml
- write news in English only: the Italian pages list the same posts and link to them
- build a single feed instead of one per language
- send the language switch of the news pages to the home page of the other language
- document the English-only news in the README
2026-11-12 18:45:16 +01:00
c8b7b6a571 refactor: split the site generator into templates and content, add news
- templates/ holds the page chrome (base, header, footer, badges, leads)
- content/<lang>/ holds pages as HTML fragments with front matter and the chrome strings
- content/site.toml holds shared values (contact, Bitcoin address, manifesto version)
- static/style.css replaces the CSS embedded in the script
- add news: Markdown posts in content/<lang>/news/, index page, latest posts on the home page
- add [text](url) links and `code` to the Markdown renderer
- copy favicons from logo/web so a fresh clone builds the whole site
- build.py now uses the standard library only and fails on unknown placeholders
2026-11-12 18:34:55 +01:00