CustomizationΒΆ

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

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

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

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;
}