diff --git a/README.md b/README.md index afb1d1b..3b0642b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Sources of the kmalloc.org website: plain static HTML, no JavaScript, valid HTML - `MANIFESTO..md` are the manifesto texts. English and Italian are at version 1.1 (`manifesto_version` and `manifesto_date` in `site.json`); Spanish, German and French are machine translations of version 1.0 (overridden in their `lang/.json`) and show a note that the English text prevails. Every version is listed on the manifesto history page. - `news/` holds the news posts, written in English only. - `badges/` holds the official W3C badges, served from our own site. -- `logo/` holds the shrike logo: SVG and PNG exports, `build_logo.py`, the original PNG and the favicons in `logo/web/`. +- `logo/` holds the shrike logo: SVG and PNG exports (`og-1200x630.png` is the preview image of shared links), `build_logo.py`, the original PNG and the favicons in `logo/web/`. ## Languages diff --git a/build.py b/build.py index e42fdfb..68a0e85 100644 --- a/build.py +++ b/build.py @@ -51,6 +51,7 @@ ASSETS = { "icon-512.png": "logo/png/icon-light-512.png", "favicon.ico": "logo/web/favicon.ico", "apple-touch-icon.png": "logo/web/apple-touch-icon.png", + "og.png": "logo/png/og-1200x630.png", "badges/w3c-html5.png": "badges/w3c-html5.png", "badges/w3c-css.png": "badges/w3c-css.png", "squid.asc": "static/squid.asc", diff --git a/logo/png/og-1200x630.png b/logo/png/og-1200x630.png new file mode 100644 index 0000000..3d0bf8e Binary files /dev/null and b/logo/png/og-1200x630.png differ diff --git a/static/style.css b/static/style.css index 3cc1639..61a6c53 100644 --- a/static/style.css +++ b/static/style.css @@ -96,6 +96,17 @@ code { } } +.accent { + color: var(--accent); +} + +.mark { + width: 1.25em; + height: 1.25em; + margin-right: .35em; + vertical-align: -.3em; +} + .logo { display: block; width: 7em; @@ -117,6 +128,7 @@ code { --text: #000; --muted: #000; --link: #000; + --accent: #000; } header, .badges { diff --git a/templates/base.html b/templates/base.html index 5af382b..015b6e2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,6 +5,16 @@ {{robots_meta}} + + + + + + + + + + diff --git a/templates/header-min.html b/templates/header-min.html index d9826bc..952b912 100644 --- a/templates/header-min.html +++ b/templates/header-min.html @@ -1,7 +1,7 @@