WordPress.org

Make WordPress Core

Changeset 38892


Ignore:
Timestamp:
10/24/2016 10:29:42 PM (3 years ago)
Author:
karmatosed
Message:

Twenty Seventeen: Resolves the pin icon having variations

This fixes the pin icon having variations in position and size depending on screen and device.

Props metodiew, mbelchev, davidakennedy
Fixes #38407

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

Legend:

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

    r38866 r38892  
    114114.sticky .icon-pinned {
    115115    left: auto;
    116     right: -1em;
     116    right: -1.5em;
    117117}
    118118
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r38888 r38892  
    17711771.sticky .icon-pinned {
    17721772    display: block;
    1773     height: 20px;
    1774     left: -1em;
     1773    height: 18px;
     1774    left: -1.5em;
    17751775    position: absolute;
    1776     top: 1.75em;
     1776    top: 1.65em;
    17771777    -ms-transform: rotate(-45deg); /* IE 9 */
    17781778    -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
     
    36533653    /* Blog, archive, search */
    36543654
    3655     .sticky .icon {
    3656         height: 32px;
     3655    .sticky .icon-pinned {
     3656        height: 23px;
    36573657        left: -2.5em;
    36583658        top: 1.5em;
     
    39313931        font-size: 32px;
    39323932        font-size: 2rem;
    3933         height: 32px;
     3933        height: 22px;
    39343934        left: -1.25em;
    39353935        top: 0.75em;
Note: See TracChangeset for help on using the changeset viewer.