Skip to content

x/website: Improved table styling #71438

@deitrix

Description

@deitrix

Looking at https://go.dev/ref/mod#environment-variables, it's not immediately clear which descriptions correspond to which environment variables.

Take the following for instance, it's unclear where the description for GOPRIVATE ends and begins for GOPROXY. There are no visual cues:

Image

What I propose is a more accessible set of styles for tables like this, with alternative coloring and padding around td and th elements. This should help distinguish between rows:

Image

Special attention should be paid to the selection of the alternating row colors, and how they interact with the coloring of things like code blocks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions