|
160 | 160 | >
|
161 | 161 | </div>
|
162 | 162 | </a>
|
| 163 | + <a href="https://drizzle.run" class="aside-posts__wrap"> |
| 164 | + <div class="aside-posts__image"> |
| 165 | + <div class="aside-posts__image--learn"> |
| 166 | + <svg |
| 167 | + xmlns="http://www.w3.org/2000/svg" |
| 168 | + width="18" |
| 169 | + height="18" |
| 170 | + viewBox="0 0 24 24" |
| 171 | + > |
| 172 | + <path |
| 173 | + class="play-path" |
| 174 | + stroke="currentColor" |
| 175 | + stroke-linecap="round" |
| 176 | + stroke-linejoin="round" |
| 177 | + stroke-width="1.5" d="M6.906 4.537A.6.6 0 0 0 6 5.053v13.894a.6.6 0 0 0 .906.516l11.723-6.947a.6.6 0 0 0 0-1.032L6.906 4.537Z" |
| 178 | + ></path> |
| 179 | + </svg> |
| 180 | + </div> |
| 181 | + </div> |
| 182 | + <div class="aside-posts__text">Drizzle Run</div> |
| 183 | + <div class="aside-posts__arrow-right"> |
| 184 | + <svg |
| 185 | + xmlns="http://www.w3.org/2000/svg" |
| 186 | + width="24" |
| 187 | + height="24" |
| 188 | + viewBox="0 0 24 24" |
| 189 | + fill="none" |
| 190 | + stroke="currentColor" |
| 191 | + stroke-width="2" |
| 192 | + stroke-linecap="round" |
| 193 | + stroke-linejoin="round" |
| 194 | + class="feather feather-arrow-right" |
| 195 | + ><line x1="5" y1="12" x2="19" y2="12"></line><polyline |
| 196 | + points="12 5 19 12 12 19"></polyline></svg |
| 197 | + > |
| 198 | + </div> |
| 199 | + </a> |
163 | 200 | <div class="goods__wrap">
|
164 | 201 | <div class="goods__text">Our goodies!</div>
|
165 | 202 | </div>
|
|
184 | 221 | .aside-posts__container:hover .aside-posts__wrap .aside-posts__image {
|
185 | 222 | margin-left: 12px;
|
186 | 223 | transform: scale(1);
|
| 224 | + opacity: 1; |
187 | 225 | }
|
188 | 226 |
|
189 | 227 | .aside-posts__container:hover .aside-posts__wrap .aside-posts__text {
|
|
257 | 295 | margin-top: -41px;
|
258 | 296 | }
|
259 | 297 |
|
| 298 | + .aside-posts__wrap:nth-child(5) { |
| 299 | + margin-top: -41px; |
| 300 | + } |
| 301 | + |
260 | 302 | .aside-posts__wrap:nth-child(2) .aside-posts__image {
|
261 | 303 | margin-left: 32px;
|
262 | 304 | }
|
|
269 | 311 | margin-left: 80px;
|
270 | 312 | }
|
271 | 313 |
|
| 314 | + .aside-posts__wrap:nth-child(5) .aside-posts__image { |
| 315 | + margin-left: 80px; |
| 316 | + opacity: 0; |
| 317 | + } |
| 318 | + |
272 | 319 |
|
273 | 320 | .aside-posts__wrap:hover {
|
274 | 321 | background-color: #eff0f3;
|
|
301 | 348 | margin: 12px 8px 12px 12px;
|
302 | 349 | position: relative;
|
303 | 350 | z-index: 6;
|
304 |
| - transition: margin-left 0.15s, transform 0.15s; |
| 351 | + transition: margin-left 0.15s, transform 0.15s, opacity 0.15s; |
305 | 352 | transform: scale(0.8);
|
306 | 353 | }
|
307 | 354 |
|
|
354 | 401 | width: 16px;
|
355 | 402 | color: #000;
|
356 | 403 | }
|
| 404 | + |
| 405 | + .play-path { |
| 406 | + fill: #c4c4c4; |
| 407 | + } |
| 408 | + |
| 409 | + html.dark .play-path { |
| 410 | + fill: #333333; |
| 411 | + } |
357 | 412 | </style>
|
358 | 413 |
|
359 | 414 | <style is:global>
|
|
0 commit comments