Making WordPress.org


Ignore:
Timestamp:
09/15/2022 09:23:21 PM (4 years ago)
Author:
adamwood
Message:

Learn: Sync with git WordPress/learn@05de7979860925823e6b081b30129e5117a0d6e7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2020/css/vendor/_overrides.scss

    r11989 r12067  
    260260.lp-details {
    261261        font-size: 14px;
     262        overflow: hidden;
    262263}
    263264
    … …  
    311312/* ___ Single Lesson Plan ___ */
    312313
     314.slide-embed {
     315        margin-top: 3rem;
     316
     317        @media only screen and (min-width: 768px) {
     318                > * {
     319                        width: 100%;
     320                        height: 528px;
     321                }
     322        }
     323}
     324
    313325.lp-content {
    314326        display: flex;
    315327        flex-direction: column;
    316328        justify-content: space-between;
     329        margin-top: 2.5rem;
    317330}
    318331
    319332.lp-content .lp-content-inner {
    320333        order: 2;
     334
     335        .wp-block-embed:first-of-type {
     336                display: none;
     337        }
    321338}
    322339
    … …  
    330347}
    331348
    332 .lp-sidebar .lp-details ul:first-child li {
    333         display: inline-block;
    334         padding-right: 1rem;
     349.lp-sidebar .lp-details {
     350        .lp-details-meta {
     351                border-top: 1px solid #E2E4E7;
     352
     353                li {
     354                        border-bottom: 1px solid #E2E4E7;
     355                        padding-bottom: 0.5rem;
     356                        padding-top: 0.5rem;
     357                        padding-left: 0;
     358                        display: flex;
     359                        justify-content: space-between;
     360
     361                        .dashicons {
     362                                display: none;
     363                        }
     364
     365                        > span:nth-child(2) {
     366                                font-weight: 600;
     367                                font-size: 1rem;
     368                                line-height: 1.5;
     369                                color: #555D66;
     370                        }
     371
     372                        strong {
     373                                text-align: right;
     374                                a {
     375                                        font-weight: 400;
     376                                        color: #555D66;
     377                                        font-size: 1rem;
     378                                        line-height: 1.3125rem;
     379                                }
     380                        }
     381                }
     382        }
    335383}
    336384
    … …  
    357405
    358406.lp-content .lp-details .lp-actions {
    359         margin: 1.25rem 0;
    360 }
    361 
    362 .lp-content .lp-details .lp-actions > li {
     407        margin: 2rem 0;
     408}
     409
     410.lp-content .lp-details .lp-actions li {
    363411        padding: 0 0 1rem 0;
    364 
    365         &:last-child {
    366                 padding-bottom: 0;
    367         }
    368 }
    369 
    370 .lp-content .lp-details .lp-actions .lp-action {
     412}
     413
     414.lp-content .lp-details .lp-actions li:last-child {
     415        padding-bottom: 0;
     416}
     417
     418.lp-content .lp-details .lp-actions li a,
     419.lp-content .lp-details .lp-actions li button {
    371420        background-color: #f8f8f8;
    372421        border: 1px #ccc solid;
    373422        border-radius: 3px;
    374423        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    375         color: #666;
     424        color: #666666;
    376425        display: inline-block;
    377         font-size: 14px;
     426        font-size: 13px;
    378427        width: 100%;
    379         max-width: 220px;
    380         padding: 5px 10px;
     428        padding: 10px;
    381429        text-decoration: none;
    382         text-align: left;
    383 
    384         &:hover {
    385                 background-color: #f8f8f8;
    386                 border-color: #999;
    387                 color: #777;
    388         }
    389 
    390         &:focus-visible {
    391                 outline: thin dotted;
    392                 outline-offset: 1px;
    393         }
    394        
    395         .dashicons {
    396                 color: #9A9EA3;
    397                 font-size: 16px;
    398                 position: relative;
    399                 top: 3px;
    400         }
     430        text-align: center;
     431}
     432
     433.lp-details .lp-actions li button .dashicons,
     434.lp-details .lp-actions li a .dashicons {
     435        color: #9A9EA3;
     436        font-size: 16px;
     437        position: relative;
     438        top: 3px;
     439}
     440
     441.lp-content .lp-details .lp-actions li button:hover,
     442.lp-content .lp-details .lp-actions li a:hover {
     443        background-color: #f8f8f8;
     444        border-color: #999;
     445        color: #777777;
    401446}
    402447
Note: See TracChangeset for help on using the changeset viewer.