Make WordPress Core


Ignore:
Timestamp:
10/30/2018 02:13:07 AM (6 years ago)
Author:
allancole
Message:

Importing Twenty Nineteen, our new default theme for 2019, set for 5.0.

Let Gutenberg shine with this simple, fast, and powerful theme. Initial development occurred on GitHub. See: https://github.com/WordPress/twentynineteen

Props allancole, karmatosed, kjellr, yingling017, mrasharirfan, milana_cap, fabiankaegy, westonruter, aaronjorbin, netweb, b-07, khleomix, blowery, dereksmart, jasmussen, audrasjb, nielslange, mmaumio, dimadin, joyously, anevins12, peterwilsoncc, dannycooper, icaleb, siriokun, technosiren, travel_girl, azchughtai, ianbelanger, nadim1992, ismailelkorchi, nativeinside, chetan200891, icaleb, grapplerulrich, ocean90, joshfeck, frankew, abdulwahab610, mendezcode, eliorivero, melchoyce, joen, laurelfulford, mdawaffe, kraftbj, dsmart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss

    r43808 r43842  
    66        max-width: 100%;
    77    }
     8
     9    a {
     10        color: $color__link;
     11
     12        &:hover {
     13            color: $color__link-hover;
     14        }
     15    }
    816}
     17
     18.widget_archive,
     19.widget_nav_menu,
     20.widget_meta,
     21.widget_recent_entries,
     22.widget_rss {
     23
     24    ul {
     25        padding: 0;
     26        list-style: none;
     27
     28        li {
     29            color: $color__text-light;
     30            font-family: $font__heading;
     31            font-size: calc(#{$font__size_base} * #{$font__size-lg / 1em} );
     32            font-weight: bold;
     33            line-height: $font__line-height-heading;
     34
     35            &:not(.menu-item-has-children) {
     36                padding-bottom: ( .75 * $size__spacing-unit );
     37            }
     38
     39            ul {
     40                padding-left: $size__spacing-unit;
     41            }
     42        }
     43
     44        &.sub-menu {
     45            padding-top: ( .75 * $size__spacing-unit );
     46        }
     47    }
     48}
     49
     50.widget_search {
     51
     52    .search-submit {
     53        display: block;
     54        margin-top: $size__spacing-unit;
     55    }
     56}
Note: See TracChangeset for help on using the changeset viewer.