Visitar URL original
Improve styling of a `:caption:` on a `codeblock` · Issue #287 · python/python-docs-theme · GitHub
Skip to content

Improve styling of a :caption: on a codeblock #287

Description

@StanFromIreland

It currently looks a bit rough, for example:

Image Image

Activity

  1. hugovk commented on Dec 14, 2025

    @hugovk
    Member

    I think the original is okay, but won't block if others prefer the change :)

  2. hugovk commented on Dec 14, 2025

    @hugovk
    Member

    Ah, now I see this more than just the background colours, and is fixing the messy rounding.

    Before:

    Image

    After:

    Image

    +1 to fixing the rounding.

    No strong opinion on the colours.

  3. StanFromIreland commented on Feb 5, 2026

    @StanFromIreland
    MemberAuthor

    Its been quite a while and there has been no other input, can we please merge, I can revert colour changes?

  4. linked a pull request that will close this issueStyle codeblock `:caption:` #288on Feb 6, 2026
  5. encukou commented on Feb 6, 2026

    @encukou
    Member

    (The PR for this is #288)

    I'm in favour of the more muted colours; the caption doesn't need such a strong highlight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions