Changeset 13978 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/css/components/_site.scss
- Timestamp:
- 08/19/2024 10:09:52 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/css/components/_site.scss
r13359 r13978 360 360 margin-right: 1.5rem; 361 361 text-align: right; 362 } 363 364 .latest-photos h3 { 365 font-size: 1.25rem; 366 font-weight: 400; 367 } 368 .photos-grid { 369 display: grid; 370 grid-template-columns: repeat(auto-fill,minmax(150px, 1fr)); 371 grid-auto-rows: 100px; 372 row-gap: 8px; 373 justify-items: center; 374 } 375 .photos-grid > span { 376 position: relative; 377 } 378 .photos-photo-link { 379 display: inline-block; 380 overflow: hidden; 381 } 382 .photos-photo-link img { 383 max-width: 100%; 384 } 385 .photos-photo-link img:active, 386 .photos-photo-link img:hover { 387 border: 4px solid #fff; 388 } 389 .photos-grid .photos-photo-link img { 390 height: 100px; 391 width: 150px; 392 object-fit: cover; 393 transition: all .25s; 362 394 } 363 395
Note: See TracChangeset
for help on using the changeset viewer.