Skip to content

Commit 0fb2355

Browse files
authored
DOC implement responsive multi-column layout for emeritus contributors to reduce whitespace (scikit-learn#31565)
1 parent e6699bf commit 0fb2355

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

doc/about.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Emeritus Maintainers Team
9393
The following people have been active contributors in the past, but are no
9494
longer active in the project:
9595

96+
.. rst-class:: grid-list-three-columns
9697
.. include:: maintainers_emeritus.rst
9798

9899
Emeritus Communication Team

doc/scss/custom.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,14 @@ div.sk-text-image-grid-small {
251251
div.sk-text-image-grid-large {
252252
@include sk-text-image-grid(100px);
253253
}
254+
255+
/* Responsive three-column grid list */
256+
.grid-list-three-columns {
257+
display: grid;
258+
grid-template-columns: repeat(3, 1fr);
259+
gap: 1rem;
260+
261+
@media screen and (max-width: 500px) {
262+
grid-template-columns: 1fr;
263+
}
264+
}

0 commit comments

Comments
 (0)