File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 129129 list-style : none;
130130 padding : 0 ;
131131 display : grid;
132- grid-template-columns : repeat (4 , 1fr );
133- gap : 25px ;
132+ grid-template-columns : repeat (4 , 140px );
133+ justify-content : center;
134+ gap : 25px 20px ;
134135 }
135136
136137 .member-item {
137138 text-align : center;
138139 }
139140
140141 .member-item img {
141- width : 100 % ;
142- max-width : 140 px ;
142+ width : 140 px ;
143+ max-width : none ;
143144 height : auto;
144145 aspect-ratio : 1 / 1 ;
145146 object-fit : cover;
168169 }
169170
170171 .member-item a : hover { text-decoration : underline; }
172+ @media (max-width : 760px ) {
173+ .member-list {
174+ grid-template-columns : repeat (3 , 140px );
175+ }
176+ }
177+ @media (max-width : 560px ) {
178+ .member-list {
179+ grid-template-columns : repeat (2 , 140px );
180+ }
181+ }
182+ @media (max-width : 360px ) {
183+ .member-list {
184+ grid-template-columns : repeat (1 , 140px );
185+ }
186+ }
171187
172188 /* Gallery preview */
173189 .gallery-preview {
You can’t perform that action at this time.
0 commit comments