File tree Expand file tree Collapse file tree 1 file changed +18
-27
lines changed
Expand file tree Collapse file tree 1 file changed +18
-27
lines changed Original file line number Diff line number Diff line change @@ -107,19 +107,34 @@ <h3 class="center-text">Bronze Sponsors</h3>
107107
108108.logos-home {
109109 list-style : none;
110- display : grid;
111- grid-template-columns : repeat (2 , 1fr );
112- grid-template-rows : auto;
110+ display : flex;
111+ flex-wrap : wrap;
113112 padding : 0 ;
114113 max-width : 64rem ;
115114 align-items : center;
115+ justify-content : center;
116116}
117117
118118.partner-img , .sponsor-img {
119119 min-width : 15rem ;
120120 padding : 3.25rem 2rem ;
121121}
122122
123+ .logos-home > li {
124+ flex : 0 0 50% ;
125+ }
126+
127+ @media (max-width : 720px ) {
128+ .partner-img , .sponsor-img {
129+ min-width : 9rem ;
130+ padding : 2rem 1rem ;
131+ }
132+
133+ .logos-home > li {
134+ flex : 0 0 90% ;
135+ }
136+ }
137+
123138.inner-container__logos {
124139 border : 1px solid var (--midturquoise );
125140 max-width : 800px ;
@@ -136,28 +151,4 @@ <h3 class="center-text">Bronze Sponsors</h3>
136151 font-size : var (--step-1 );
137152}
138153
139- .logos-home > li : nth-last-child (1 ): nth-child (odd) {
140- grid-column : 1 / -1 ;
141- }
142-
143- .logos-home > li : nth-last-child (1 ): nth-child (odd) .sponsor-img {
144- padding : 1.25rem 0 ;
145- max-width : 8rem ;
146- margin : 0 auto;
147- }
148-
149- @media (max-width : 720px ) {
150- .partner-img , .sponsor-img {
151- min-width : 9rem ;
152- padding : 2rem 1rem ;
153- }
154- }
155-
156- @media (max-width : 420px ) {
157- .logos-home {
158- grid-template-columns : 1fr ;
159- }
160- }
161-
162-
163154</ style >
You can’t perform that action at this time.
0 commit comments