Make WordPress Core

Ticket #28237: 28237.2.diff

File 28237.2.diff, 2.2 KB (added by obenland, 11 years ago)

Simplify .site-title styles and color ellipsis

  • src/wp-content/themes/twentyfourteen/css/ie.css

     
    2929        border: 1px solid #b2b2b2;
    3030}
    3131
     32.site-title {
     33        max-width: 71%;
     34}
     35
    3236.site-content blockquote.alignleft,
    3337.site-content blockquote.alignright {
    3438        border-top: 1px solid #e5e5e5;
  • src/wp-content/themes/twentyfourteen/style.css

     
    863863        font-weight: 700;
    864864        line-height: 48px;
    865865        margin: 0;
    866         overflow: hidden;
    867         text-overflow: ellipsis;
    868         white-space: nowrap;
    869866}
    870867
    871 .site-title,
    872868.site-title a,
    873869.site-title a:hover {
    874870        color: #fff;
     871        display: block;
     872        overflow: hidden;
     873        text-overflow: ellipsis;
     874        white-space: nowrap;
    875875}
    876876
    877877/* Search in the header */
     
    30813081
    30823082@media screen and (max-width: 400px) {
    30833083        .site-title {
    3084                 max-width: 71%;
     3084                /* Nav-toggle width + search-toggle width - gutter = 86px */
     3085                max-width: -webkit-calc(100% - 86px);
     3086                max-width:         calc(100% - 86px);
    30853087        }
    30863088
    30873089        .list-view .site-content .post-thumbnail {
     
    31583160}
    31593161
    31603162@media screen and (min-width: 401px) {
    3161         .site-title {
    3162                 max-width: 77%;
    3163         }
    3164 
    31653163        a.post-thumbnail:hover img {
    31663164                opacity: 0.85;
    31673165        }
     
    32903288}
    32913289
    32923290@media screen and (min-width: 594px) {
    3293         .site-title {
    3294                 max-width: 85%;
    3295         }
    3296 
    32973291        .site-content .entry-header {
    32983292                padding-right: 30px;
    32993293                padding-left: 30px;
     
    33093303                padding: 0 30px;
    33103304        }
    33113305
    3312         .site-title {
    3313                 max-width: 89%;
    3314         }
    3315 
    33163306        .search-toggle {
    33173307                margin-right: 18px;
    33183308        }
     
    34483438                padding-right: 0;
    34493439        }
    34503440
    3451         .site-title {
    3452                 max-width: 93%;
    3453         }
    3454 
    34553441        .search-toggle {
    34563442                margin-right: 0;
    34573443        }
     
    36993685}
    37003686
    37013687@media screen and (min-width: 1008px) {
    3702         .site-title {
    3703                 max-width: 95%;
    3704         }
    3705 
    37063688        .search-box-wrapper {
    37073689                padding-left: 182px;
    37083690        }
     
    42244206                display: none;
    42254207        }
    42264208
    4227         .site-title,
    42284209        .site-title a,
    42294210        .entry-meta,
    42304211        .entry-meta a,