|
106 | 106 | overflow: auto; |
107 | 107 | display: flex; |
108 | 108 | flex-direction: column; |
109 | | - gap:20px; |
| 109 | + gap:14px; |
110 | 110 | background-color: transparent; |
111 | 111 | } |
112 | 112 | .pagetoc { |
113 | | - max-height: 60%; |
| 113 | + max-height: 48%; |
114 | 114 | overflow: auto; |
115 | 115 | border-left: 1px solid color-mix(in srgb, var(--table-border-color) 70%, transparent); |
116 | 116 | border-radius: 12px; |
|
119 | 119 | padding: 4px 4px; |
120 | 120 | } |
121 | 121 | .sidesponsor { |
122 | | - max-height: 40%; |
123 | | - height: 40%; |
| 122 | + max-height: 52%; |
| 123 | + height: 52%; |
124 | 124 | background-color: transparent; |
125 | 125 | border: 1px solid color-mix(in srgb, var(--table-border-color) 70%, transparent); |
126 | 126 | border-radius: 8px; |
|
132 | 132 | backdrop-filter: blur(6px); |
133 | 133 | } |
134 | 134 | .sidesponsor img { |
135 | | - height: 45%; |
136 | | - max-height: 150px; |
137 | | - min-height: 95px; |
| 135 | + height: 50%; |
| 136 | + max-height: 180px; |
| 137 | + min-height: 110px; |
138 | 138 | width: auto; |
139 | | - max-width: 78%; |
140 | | - padding: 10px; |
| 139 | + max-width: 86%; |
| 140 | + padding: 8px; |
141 | 141 | object-fit: contain; |
142 | 142 | align-self: center; |
143 | 143 | flex: 0 0 auto; |
|
149 | 149 | width: 42px; |
150 | 150 | padding: 4px; |
151 | 151 | grid-area: sponsor-image; |
152 | | - align-self: start; |
| 152 | + align-self: center; |
153 | 153 | transition-duration: 0s; |
154 | 154 | } |
155 | 155 | .sidesponsor:hover { |
156 | 156 | display: grid !important; |
157 | 157 | grid-template-columns: auto minmax(0, 1fr); |
158 | | - grid-template-rows: max-content minmax(0, 1fr) max-content; |
| 158 | + grid-template-rows: max-content minmax(0, 1fr) auto; |
159 | 159 | grid-template-areas: |
160 | 160 | "sponsor-image sponsor-title" |
161 | 161 | "sponsor-description sponsor-description" |
162 | 162 | "sponsor-cta sponsor-cta"; |
163 | 163 | column-gap: 8px; |
164 | | - row-gap: 8px; |
165 | | - align-items: start; |
| 164 | + row-gap: 10px; |
| 165 | + align-items: center; |
166 | 166 | align-content: start; |
167 | 167 | overflow: hidden; |
168 | 168 | } |
|
172 | 172 | margin-left: 15px; |
173 | 173 | margin-right: 15px; |
174 | 174 | font-weight: 800; |
175 | | - font-size: var(--sponsor-title-font-size, clamp(1.28rem, 7.2cqw, 1.75rem)); |
176 | | - line-height: 1.08; |
| 175 | + font-size: var(--sponsor-title-font-size, clamp(1.45rem, 7.8cqw, 2rem)); |
| 176 | + line-height: 1.05; |
177 | 177 | color: var(--sponsor-fg); |
178 | 178 | overflow-wrap: anywhere; |
179 | 179 | text-align: center; |
|
185 | 185 | .sidesponsor:hover .sponsor-title{ |
186 | 186 | grid-area: sponsor-title; |
187 | 187 | margin-left: 0; |
188 | | - margin-top: 6px; |
| 188 | + margin-top: 0; |
189 | 189 | margin-bottom: 0; |
190 | 190 | font-size: 1.55rem; |
191 | 191 | line-height: 1.15; |
192 | 192 | overflow-wrap: anywhere; |
| 193 | + align-self: center; |
193 | 194 | } |
194 | 195 | .sidesponsor .sponsor-description{ |
195 | 196 | display: block; |
|
234 | 235 | } |
235 | 236 | .sidesponsor:hover .sponsor-cta{ |
236 | 237 | grid-area: sponsor-cta; |
237 | | - margin-top: 0; |
238 | | - margin-bottom: 4px; |
239 | | - padding: 10px 14px; |
| 238 | + margin-top: 22px; |
| 239 | + margin-bottom: 8px; |
| 240 | + padding: 9px 14px; |
240 | 241 | box-sizing: border-box; |
241 | 242 | max-width: 100%; |
242 | 243 | overflow: hidden; |
|
260 | 261 | } |
261 | 262 | } |
262 | 263 | .sidesponsor-bsa { |
263 | | - max-height: 40%; |
264 | | - height: 40%; |
| 264 | + max-height: 52%; |
| 265 | + height: 52%; |
265 | 266 | background-color: transparent; |
266 | 267 | border: 1px solid color-mix(in srgb, var(--table-border-color) 70%, transparent); |
267 | 268 | border-radius: 8px; |
|
0 commit comments