Making WordPress.org


Ignore:
Timestamp:
04/20/2023 09:10:02 PM (3 years ago)
Author:
coffee2code
Message:

Photo Directory: Style tags as conventional pill shape.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-photos/css/components/_site.scss

    r12544 r12553  
    388388                display: inline-block;
    389389                min-width: 100px;
     390        }
     391
     392        .photo-tags {
     393                display: flex;
     394                flex-flow: row nowrap;
     395
     396                ul {
     397                        display: flex;
     398                        flex-flow: row wrap;
     399                        gap: 0.5rem;
     400                        list-style: none;
     401                        margin: 0.3rem 0 1rem;
     402                }
     403
     404                .photo-tag {
     405                        background-color: #ddd;
     406                        color: #333;
     407                        padding: 4px 14px;
     408                        border-radius: 16px;
     409                        font-size: 14px;
     410
     411                        a {
     412                                text-decoration: none;
     413
     414                                &:hover {
     415                                        color: #0073aa;
     416                                        text-decoration: underline;
     417                                }
     418                        }
     419                }
    390420        }
    391421
Note: See TracChangeset for help on using the changeset viewer.