Make WordPress Core

Ticket #39035: 39035.2.diff

File 39035.2.diff, 1002 bytes (added by peterwilsoncc, 7 years ago)
  • src/wp-content/themes/twentyseventeen/style.css

    diff --git src/wp-content/themes/twentyseventeen/style.css src/wp-content/themes/twentyseventeen/style.css
    index bea2875..5206065 100644
    body:not(.title-tagline-hidden) .site-branding-text { 
    16881688        transform: translateX(-50%) translateY(-50%);
    16891689}
    16901690
     1691/* For browsers that support 'object-fit' */
     1692@supports ( object-fit: cover ) {
     1693        .has-header-image .custom-header-media img,
     1694        .has-header-video .custom-header-media video,
     1695        .has-header-video .custom-header-media iframe {
     1696                height: 100%;
     1697                left: 0;
     1698                -o-object-fit: cover;
     1699                object-fit: cover;
     1700                top: 0;
     1701                -ms-transform: none;
     1702                -moz-transform: none;
     1703                -webkit-transform: none;
     1704                transform: none;
     1705                width: 100%;
     1706        }
     1707}
     1708
    16911709.wp-custom-header .wp-custom-header-video-button { /* Specificity prevents .color-dark button overrides */
    16921710        background-color: rgba(34, 34, 34, 0.5);
    16931711        border: 1px solid rgba(255, 255, 255, 0.6);