Customization - sphinx-contributors documentation

Skip to content
Back to top
View this page

# Customization

The directive `contributors` generates an `<ul>` node with class `sphinx-contributors`. This makes the list is highly customizable through CSS.

Tip

See how to add custom CSS to Sphinx Documentation.

For example, the following CSS snippet makes the images round:

    .sphinx-contributors img {
        border-radius: 50%;
    }

- dependabot[bot]

- jdillard

- stefmolin

- tsvi

- segfaultxavi

You can also adjust the spacing between avatars by overriding the `gap` property. Increase it for more spacing, or decrease it for a tighter layout:

    /* More spacing */
    .sphinx-contributors--avatars .sphinx-contributors_list {
        gap: 40px;
    }

    /* Tighter layout */
    .sphinx-contributors--avatars .sphinx-contributors_list {
        gap: 10px;
    }