Make WordPress Core

Ticket #28237: 28237.7.diff

File 28237.7.diff, 2.4 KB (added by obenland, 11 years ago)
  • 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;
     866
     867        /* Nav-toggle width + search-toggle width - gutter = 86px */
     868        max-width: -webkit-calc(100% - 86px);
     869        max-width:         calc(100% - 86px);
    869870}
    870871
    871 .site-title,
    872872.site-title a,
    873873.site-title a:hover {
    874874        color: #fff;
     875        display: block;
     876        overflow: hidden;
     877        text-overflow: ellipsis;
     878        white-space: nowrap;
    875879}
    876880
    877881/* Search in the header */
     
    30803084}
    30813085
    30823086@media screen and (max-width: 400px) {
    3083         .site-title {
    3084                 max-width: 71%;
    3085         }
    3086 
    30873087        .list-view .site-content .post-thumbnail {
    30883088                background: none;
    30893089                width: auto;
     
    31583158}
    31593159
    31603160@media screen and (min-width: 401px) {
    3161         .site-title {
    3162                 max-width: 77%;
    3163         }
    3164 
    31653161        a.post-thumbnail:hover img {
    31663162                opacity: 0.85;
    31673163        }
     
    32903286}
    32913287
    32923288@media screen and (min-width: 594px) {
    3293         .site-title {
    3294                 max-width: 85%;
    3295         }
    3296 
    32973289        .site-content .entry-header {
    32983290                padding-right: 30px;
    32993291                padding-left: 30px;
     
    33093301                padding: 0 30px;
    33103302        }
    33113303
    3312         .site-title {
    3313                 max-width: 89%;
    3314         }
    3315 
    33163304        .search-toggle {
    33173305                margin-right: 18px;
    33183306        }
     
    34443432}
    34453433
    34463434@media screen and (min-width: 783px) {
     3435        .site-title {
     3436                /* Search-toggle width = 48px */
     3437                max-width: -webkit-calc(100% - 48px);
     3438                max-width:         calc(100% - 48px);
     3439        }
     3440
    34473441        .header-main {
    34483442                padding-right: 0;
    34493443        }
    34503444
    3451         .site-title {
    3452                 max-width: 93%;
    3453         }
    3454 
    34553445        .search-toggle {
    34563446                margin-right: 0;
    34573447        }
     
    36993689}
    37003690
    37013691@media screen and (min-width: 1008px) {
    3702         .site-title {
    3703                 max-width: 95%;
    3704         }
    3705 
    37063692        .search-box-wrapper {
    37073693                padding-left: 182px;
    37083694        }
     
    42244210                display: none;
    42254211        }
    42264212
    4227         .site-title,
    42284213        .site-title a,
    42294214        .entry-meta,
    42304215        .entry-meta a,