From: e at 80x24.org (Eric Wong) Subject: [PATCH 0/4] improve rendering w/o CSS reliance Date: Tue, 1 Jan 2019 11:44:49 +0000 [thread overview] Message-ID: <20190101114453.4876-1-e@80x24.org> (raw) Here are a few changes to improve rendering for people with low-end machines using text-based browsers (w3m, lynx) or lightweight GUI browsers such as dillo, which has incomplete CSS support. The only incompatible (with existing CSS customisations) change might be the one to use <pre> instead of <div> for commit-msg. I'm not sure how much of a stable interface the CSS styles are expected to be for this project. All my recent changes (including the 32-bit fix) are also available at at my git/cgit repository: https://80x24.org/cgit.git (I also use a custom CSS there which forces monospace and uniform font-size all around to make it easier for people who need to use gigantic fonts). Eric Wong (4): ui-shared: improve pageheader display on text-based browsers ui-{commit,tag}: use <pre> for commit-msg ui-log: improve decoration display for browsers without CSS ui-diff: preserve spaces w/o CSS on context lines cgit.css | 7 ------- html.c | 46 +++++++++++++++++++++++++++++++++++++++++++ html.h | 1 + tests/t0105-commit.sh | 2 +- ui-commit.c | 4 ++-- ui-diff.c | 5 +---- ui-log.c | 5 +++++ ui-shared.c | 15 +++++++++++--- ui-tag.c | 4 ++-- 9 files changed, 70 insertions(+), 19 deletions(-) -- EW
next reply other threads:[~2019-01-01 11:44 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-01-01 11:44 e [this message] 2019-01-01 11:44 ` [PATCH 1/4] ui-shared: improve pageheader display on text-based browsers e 2019-01-01 11:44 ` [PATCH 2/4] ui-{commit,tag}: use <pre> for commit-msg e 2019-01-01 11:44 ` [PATCH 3/4] ui-log: improve decoration display for browsers without CSS e 2019-01-01 11:44 ` [PATCH 4/4] ui-diff: preserve spaces w/o CSS on context lines e 2019-01-04 10:32 ` e 2019-01-04 22:23 ` [PATCH 5/4] ui-{tree,repolist}: improve button spacing for browsers w/o CSS e 2020-02-08 18:44 ` [PATCH 0/4] improve rendering w/o CSS reliance e
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190101114453.4876-1-e@80x24.org \ --to=cgit@lists.zx2c4.com \ --subject='Re: [PATCH 0/4] improve rendering w/o CSS reliance' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).