WordPress.org

Make WordPress Core

Changeset 39152


Ignore:
Timestamp:
11/07/2016 09:06:20 PM (5 years ago)
Author:
davidakennedy
Message:

Twenty Seventeen: Fix post navigation font legibility issue

The combination of font-size and weight for post navigation made lower case "i"s illegible in some cases. Using 15px seemed to be the best choice all around. Also adjusts the spacing around the arrows a bit, since they touch the text on small screen sizes.

Props laurelfulford.

Fixes #38670.

Location:
trunk/src/wp-content/themes/twentyseventeen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/rtl.css

    r39079 r39152  
    134134.next.page-numbers {
    135135    float: left;
     136}
     137
     138.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
     139    margin-left: 0.5em;
     140    margin-right: 0;
     141}
     142
     143.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
     144    margin-left: 0;
     145    margin-right: 0.5em;
    136146}
    137147
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r39136 r39152  
    21672167.nav-title {
    21682168    color: #333;
    2169     font-size: 16px;
    2170     font-size: 1rem;
     2169    font-size: 15px;
     2170    font-size: 0.9375rem;
    21712171}
    21722172
    21732173.post-navigation .nav-next {
    21742174    margin-top: 1.5em;
     2175}
     2176
     2177.nav-links .nav-previous .nav-title .nav-title-icon-wrapper {
     2178    margin-right: 0.5em;
     2179}
     2180
     2181.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
     2182    margin-left: 0.5em;
    21752183}
    21762184
Note: See TracChangeset for help on using the changeset viewer.