WordPress/wp-content/themes
David A. Kennedy 6f5111d4e7 Twenty Seventeen: Fix CSS specificity problem with CSS feature query for object-fit
Previously, the theme's CSS feature query for `object-fit` overrode styles it shouldn't have on interior pages.

This moves the feature query farther down in the stylesheet so it takes precedence in the cascade in supported browsers, and applies the appropriate selector for the interior pages. In browsers that don't support feature queries or `object-fit`, the fallback styles are still applied. The problem was that the rules had the same specificity, so this way, the cascade takes over properly. The transforms and position changes for fallbacks are still needed in browsers that don't support `object-fit` and feature queries.

Props peterwilsoncc, davidakennedy.

Fixes #39073.

Built from https://develop.svn.wordpress.org/trunk@39495


git-svn-id: http://core.svn.wordpress.org/trunk@39435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 23:12:42 +00:00
..
twentyeleven Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentyfifteen Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes. 2016-10-23 01:56:32 +00:00
twentyfourteen Customize: Adjust layout for edit shortcuts only when shown. 2016-11-15 00:15:30 +00:00
twentyseventeen Twenty Seventeen: Fix CSS specificity problem with CSS feature query for object-fit 2016-12-04 23:12:42 +00:00
twentyten Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentythirteen Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes. 2016-10-23 01:56:32 +00:00
twentytwelve Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes. 2016-10-23 01:56:32 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00