public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
From: Rito Rhymes <rito@ritovision.com>
To: corbet@lwn.net, skhan@linuxfoundation.org
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	Rito Rhymes <rito@ritovision.com>
Subject: [PATCH 0/3] docs: improve readability with left padding adjustments
Date: Mon, 30 Mar 2026 01:21:56 -0400	[thread overview]
Message-ID: <20260330052159.11284-1-rito@ritovision.com> (raw)

These changes address a few different places where the first
character of rendered text sits too close to the left edge of a
contrasting container, which affects readability.

Add a small amount of left padding to those areas to create
clearer visual separation from the contrasting edge and improve
readability.

Demo site example (all changes visible here):
https://kernel-docs-pl.ritovision.com/userspace-api/liveupdate.html

Screenshots for this series are here:
https://github.com/ritovision/linux-kernel-docs/issues/5

For convenience, anyone is welcome to post additional screenshots
in that GitHub issue for hosting and reference them in discussion
of this series.

TOC lists - before:
https://github.com/user-attachments/assets/994ec5b6-c044-4f5a-bb58-fbf561481ffe

TOC lists - after:
https://github.com/user-attachments/assets/2bced41d-d0b6-44e8-ae28-3e4f721f47d5

Pre and signature - before:
https://github.com/user-attachments/assets/ec063580-9f5c-460d-afc6-3498917c863c

Pre and signature - after:
https://github.com/user-attachments/assets/b5f87275-e4cc-4687-8ca2-42fabb767c2d


Rito Rhymes (3):
  docs: add left padding to TOC lists
  docs: restore left padding in preformatted blocks
  docs: add left padding to C API signature rows

 Documentation/sphinx-static/custom.css | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.51.0


             reply	other threads:[~2026-03-30  5:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-30  5:21 Rito Rhymes [this message]
2026-03-30  5:21 ` [PATCH 1/3] docs: add left padding to TOC lists Rito Rhymes
2026-03-30  5:21 ` [PATCH 2/3] docs: restore left padding in preformatted blocks Rito Rhymes
2026-03-30  5:21 ` [PATCH 3/3] docs: add left padding to C API signature rows Rito Rhymes

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=20260330052159.11284-1-rito@ritovision.com \
    --to=rito@ritovision.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skhan@linuxfoundation.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox