{"id":26870905,"url":"https://github.com/btbytes/typesetter-css","last_synced_at":"2025-09-11T01:05:34.500Z","repository":{"id":66399910,"uuid":"13695634","full_name":"btbytes/typesetter-css","owner":"btbytes","description":"Fork of Timothy Allen's typesetter-css on gitorious","archived":false,"fork":false,"pushed_at":"2013-10-19T05:05:49.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T03:53:37.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gitorious.org/typesetter-css/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/btbytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-19T04:47:14.000Z","updated_at":"2013-10-19T05:05:49.000Z","dependencies_parsed_at":"2023-02-20T07:15:41.654Z","dependency_job_id":null,"html_url":"https://github.com/btbytes/typesetter-css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Ftypesetter-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Ftypesetter-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Ftypesetter-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/btbytes%2Ftypesetter-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/btbytes","download_url":"https://codeload.github.com/btbytes/typesetter-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429499,"owners_count":20775809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-31T07:17:44.884Z","updated_at":"2025-03-31T07:17:45.535Z","avatar_url":"https://github.com/btbytes.png","language":"CSS","readme":"Typesetter.css\n==============\n\n\nNote: A fork of [Timothy Allen's typesetter-css](https://gitorious.org/typesetter-css/)\n\nHTML is a semantic markup language, but web-browsers' default\npresentation of semantic HTML is more based on compatibility with\ndecades-old browsers than with readability. There are browser-addons\nthat will take a page, strip out the presentational markup and try to\npresent the result in a readable format, but that shouldn't be necessary\nif you've got sensible semantic markup to begin with.\n\nTypesetter.css is a custom stylesheet designed to present generic,\nsemantic HTML in the most readable way possible.\n\n## Features ##\n\nTypographic goals already achieved include:\n\n* A high-contrast-but-not-blinding colour scheme.\n* All text sits on a vertical rhythm of 1.2em.\n* Text is wrapped at 35em wide (~60 characters) for ease of reading, with the best justification and hyphenation your browser can muster.\n* Tables are rendered with zebra-stripes, with special styling for `\u003cthead\u003e` and `\u003ctfoot\u003e`.\n* HTML5's `\u003caside\u003e` element is rendered as a narrow sidebar off the side of the main text.\n\nSee the included [demonstration][1] for more. Note that the demonstration includes line-rulings to show the vertical rhythm; these aren't part of the main stylesheet.\n\n## Non-features ##\n\n\nThere are certain kinds of formatting that are deliberately avoided:\n\n* Custom typefaces: There's lots of typefaces I like, but there's no way\n  to know which would go best with which document, nor which the user\n  might prefer. Luckily, most browsers already allow the user to specify\n  what typefaces to set web-pages in, and Typesetter.css respects those\n  defaults.\n\n* Special markup hooks: If you can customise your document markup to\n  make it easier to attach styles to, by all means go ahead - but\n  Typesetter.css is about beautifying generic, unmodified HTML.\n\n\n## Usage ##\n\nTo use Typesetter.css, follow these instructions:\n\nCopy all `css` files in this directory.\n\nAdd the following markup to the `\u003chead\u003e` element of each HTML document\nyou want rendered with Typesetter.css:\n\n    \u003clink rel=\"stylesheet\" href=\"typesetter.css\"\u003e\n\nMake sure the `href` attribute points to the actual location of `typesetter.css`!\n\nNote: Typesetter.css is designed for standards-compliant web-browsers;\nto put your browser into the most standards-compliant rendering mode it\nhas, make sure the HTML starts with the HTML5 doctype:\n\n    \u003c!DOCTYPE html\u003e\n\n...and if you're unsure, it's a good idea to run your HTML through the\n[HTML5 validator][2] to catch any markup errors that might cause your\nbrowser to get confused.\n\n## Development ##\n\n\nNote that `typesetter*.css` are generated from `typesetter*.less` via\nthe [LESS][3] CSS pre-processor. If you want to submit patches, please\nedit the source files rather than the output files. LESS version 1.3 or\nhigher is required, since older versions seem to mess up the formatting\nof negative numbers.\n\n\n[1]: example/demo.html\n[2]: http://validator.nu/\n[3]: http://lesscss.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtbytes%2Ftypesetter-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbtbytes%2Ftypesetter-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbtbytes%2Ftypesetter-css/lists"}