File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 141141 .sidesponsor : hover img {
142142 width : 52px ;
143143 padding : 6px ;
144- grid-column : 1 ;
145- grid-row : 1 ;
144+ grid-area : sponsor-image ;
145+ align-self : start ;
146146 }
147147 .sidesponsor : hover {
148148 display : grid !important ;
149149 grid-template-columns : auto minmax (0 , 1fr );
150- grid-template-rows : auto minmax (0 , 1fr ) auto;
150+ grid-template-rows : max-content minmax (0 , 1fr ) max-content;
151+ grid-template-areas :
152+ "sponsor-image sponsor-title"
153+ "sponsor-description sponsor-description"
154+ "sponsor-cta sponsor-cta" ;
151155 column-gap : 8px ;
152- align-items : center;
156+ row-gap : 8px ;
157+ align-items : start;
158+ align-content : start;
159+ overflow : hidden;
153160 }
154161 .sidesponsor .sponsor-title {
155162 margin-top : 5px ;
161168 color : var (--sponsor-fg );
162169 }
163170 .sidesponsor : hover .sponsor-title {
164- grid-column : 2 ;
165- grid-row : 1 ;
171+ grid-area : sponsor-title;
166172 margin-left : 0 ;
173+ margin-top : 6px ;
174+ margin-bottom : 0 ;
167175 font-size : 1.55rem ;
168176 line-height : 1.15 ;
169177 overflow-wrap : anywhere;
182190 }
183191 .sidesponsor : hover .sponsor-description {
184192 display : block;
185- grid-column : 1 / -1 ;
186- grid-row : 2 ;
193+ grid-area : sponsor-description;
187194 min-height : 0 ;
188- margin-top : 8 px ;
189- margin-bottom : 8 px ;
195+ margin-top : 0 ;
196+ margin-bottom : 0 ;
190197 overflow : auto;
191198 }
192199 .sidesponsor .sponsor-cta {
201208 color : var (--bg );
202209 }
203210 .sidesponsor : hover .sponsor-cta {
204- grid-column : 1 / -1 ;
205- grid-row : 3 ;
211+ grid-area : sponsor-cta ;
212+ margin-top : 0 ;
206213 }
207214 .sidesponsor-bsa {
208215 max-height : 40% ;
You can’t perform that action at this time.
0 commit comments