Themes Catalog, by Catodon: go to the home page

Letterpress

A serif page for long reading: generous lines, small capitals for headings, quotes set in from the margin.

Light
Dark

Install

Blog themes need Catodon: they style a blog, which only Catodon has.

Installing from here needs JavaScript. You can still download the file.

Download

Star or report

Sign in with your fediverse account to star this item or to report it.

Author
Catodon
Uploaded by
@catodon@catodon.rocks
Licence
CC0 1.0
Modes
Light and dark
Tags
Version
1, updated , first published
Stars
0
Installs
1

Text this CSS shows

CSS can put words on the page with content:. This is all of it: there is none.

Code

CSS
h1, h2, h3 {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-variant: small-caps;
	letter-spacing: 0.02em;
}

p, li {
	font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	font-size: 1.08em;
	line-height: 1.75;
}

blockquote {
	margin-inline: 1.5em;
	padding-inline-start: 1em;
	font-style: italic;
	color: var(--MI_THEME-fgTransparentWeak);
}

code {
	padding: 0.1em 0.3em;
	border-radius: 4px;
	background: var(--MI_THEME-buttonBg);
}
The style file
// A blog theme: CSS for a blog's posts, which styles their own elements inside .blog-site-content, and a light and a
// dark color theme for the blog's pages.
{
	catodonStyle: 1,
	kind: 'blog',
	id: 'be31fa8e-717b-474b-96ad-5a8defd98023',
	name: 'Letterpress',
	author: 'Catodon',
	desc: 'A serif page for long reading: generous lines, small capitals for headings, quotes set in from the margin.',
	license: 'CC0-1.0',
	version: 1,
	css: 'h1, h2, h3 {\n\tfont-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;\n\tfont-variant: small-caps;\n\tletter-spacing: 0.02em;\n}\n\np, li {\n\tfont-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;\n\tfont-size: 1.08em;\n\tline-height: 1.75;\n}\n\nblockquote {\n\tmargin-inline: 1.5em;\n\tpadding-inline-start: 1em;\n\tfont-style: italic;\n\tcolor: var(--MI_THEME-fgTransparentWeak);\n}\n\ncode {\n\tpadding: 0.1em 0.3em;\n\tborder-radius: 4px;\n\tbackground: var(--MI_THEME-buttonBg);\n}\n',
	light: {
		id: '4f5e9f12-5638-45b8-9eed-e616e3fb2875',
		name: 'Letterpress light',
		base: 'light',
		props: {
			accent: '#8a3b2e',
			bg: '#f6f1e7',
			fg: '#2b2622',
			panel: '#fbf8f2',
			link: '#8a3b2e',
		},
	},
	dark: {
		id: '2945e599-4d7b-4bbf-bfe9-505edaceafb5',
		name: 'Letterpress dark',
		base: 'dark',
		props: {
			accent: '#e0a080',
			bg: '#1f1b18',
			fg: '#e8e0d4',
			panel: '#28231f',
			link: '#e0a080',
		},
	},
}