-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Twenty Seventeen: Remove IE conditional data and replace contents of IE files #10327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
2dd6010
Remove conditional data and source from registered IE stylesheets and…
sabernhardt bb23043
Replace contents of `ie8.css`
sabernhardt 147386b
Replace contents of `ie9.css`
sabernhardt dd17f8d
Replace contents of `html5.js`
sabernhardt cf4d8bd
Remove HTML5 Shiv credit from `readme.txt`
sabernhardt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
226 changes: 1 addition & 225 deletions
226
src/wp-content/themes/twentyseventeen/assets/css/ie8.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,225 +1 @@ | ||
| /* | ||
| Theme Name: Twenty Seventeen | ||
| Description: IE8 specific style. | ||
| */ | ||
|
|
||
| body { | ||
| font-size: 16px; | ||
| } | ||
|
|
||
| h1 { | ||
| font-size: 30px; | ||
| font-size: 1.875rem; | ||
| } | ||
|
|
||
| h2, | ||
| .page .panel-content .recent-posts .entry-title { | ||
| font-size: 26px; | ||
| font-size: 1.625rem; | ||
| } | ||
|
|
||
| h3 { | ||
| font-size: 22px; | ||
| font-size: 1.375rem; | ||
| } | ||
|
|
||
| h4 { | ||
| font-size: 18px; | ||
| font-size: 1.125rem; | ||
| } | ||
|
|
||
| h5 { | ||
| font-size: 13px; | ||
| font-size: 0.8125rem; | ||
| } | ||
|
|
||
| h6 { | ||
| font-size: 16px; | ||
| font-size: 1rem; | ||
| } | ||
|
|
||
| img { | ||
| width: inherit; /* Make images fill their parent's space. */ | ||
| } | ||
|
|
||
| /* Fixes linked images */ | ||
| .entry-content a img, | ||
| .widget a img { | ||
| filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=0, OffY=5, Color=#ffffff); | ||
| } | ||
|
|
||
| /* Layout */ | ||
|
|
||
| .site-content { | ||
| padding: 6.5em 0 0; | ||
| } | ||
|
|
||
| /* Site Branding */ | ||
|
|
||
| .custom-header { | ||
| overflow: hidden; | ||
| } | ||
|
|
||
| .has-header-image.twentyseventeen-front-page .custom-header, | ||
| .has-header-image.home.blog .custom-header { | ||
| display: block; | ||
| } | ||
|
|
||
| .custom-header-media { | ||
| background-position: bottom center; | ||
| } | ||
|
|
||
| .site-branding { | ||
| padding: 45px 0; | ||
| } | ||
|
|
||
| .has-header-image.twentyseventeen-front-page .site-branding, | ||
| .has-header-image.home.blog .site-branding { | ||
| bottom: 0; | ||
| display: block; | ||
| left: 0; | ||
| height: auto; | ||
| padding-top: 0; | ||
| position: absolute; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .has-header-image .custom-header-media img { | ||
| left: 0; | ||
| top: 0; | ||
| } | ||
|
|
||
| .site-title { | ||
| font-size: 36px; | ||
| font-weight: 700; | ||
| } | ||
|
|
||
| .site-description { | ||
| font-size: 16px; | ||
| } | ||
|
|
||
| /* Main Navigation */ | ||
|
|
||
| .navigation-top { | ||
| background: #fff; | ||
| position: relative; | ||
| z-index: 10; | ||
| } | ||
|
|
||
| .menu-toggle { | ||
| width: 150px; | ||
| } | ||
|
|
||
| .main-navigation ul#top-menu { | ||
| margin-bottom: -1px; | ||
| padding: 0; | ||
| } | ||
|
|
||
| .no-svg .dropdown-toggle { | ||
| padding: 0.25em 0 0; | ||
| } | ||
|
|
||
| .no-svg .dropdown-toggle.toggled-on { | ||
| padding: 0.75em 0 0; | ||
| } | ||
|
|
||
| .dropdown-toggle .svg-fallback.icon-angle-down { | ||
| -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=1.2246467991473532e-16, M21=-1.2246467991473532e-16, M22=-1, SizingMethod='auto expand')"; | ||
| } | ||
|
|
||
| .dropdown-toggle.toggled-on .svg-fallback.icon-angle-down { | ||
| -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1, M12=0, M21=0, M22=1, SizingMethod='auto expand')"; | ||
| } | ||
|
|
||
| /* Front Page */ | ||
|
|
||
| .twentyseventeen-front-page.has-header-image .custom-header, | ||
| .blog.home.has-header-image .custom-header, | ||
| .panel-image { | ||
| height: 800px; | ||
| max-height: 800px; | ||
| padding-top: 0; | ||
| } | ||
|
|
||
| .twentyseventeen-front-page .custom-header-media, | ||
| .blog.home .custom-header-media { | ||
| background-position: center center; | ||
| } | ||
|
|
||
| .twentyseventeen-front-page.has-header-image .site-branding, | ||
| .home.blog.has-header-image .site-branding { | ||
| bottom: 20px; | ||
| position: absolute; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .page .panel-content .entry-title, | ||
| .page-title, | ||
| .page .entry-title { | ||
| font-size: 14px; | ||
| font-size: 0.875rem; | ||
| font-weight: 700; | ||
| letter-spacing: 0.14em; | ||
| text-transform: uppercase; | ||
| } | ||
|
|
||
| /* Posts */ | ||
|
|
||
| .blog .site-main > article, | ||
| .archive .site-main > article, | ||
| .search .site-main > article { | ||
| padding-bottom: 4em; | ||
| } | ||
|
|
||
| time.updated { | ||
| display: none; | ||
| } | ||
|
|
||
| time.published { | ||
| display: inline-block; | ||
| } | ||
|
|
||
| .blog .entry-title { | ||
| padding-top: 0; | ||
| } | ||
|
|
||
| .single-post .entry-title, | ||
| .page .entry-title, | ||
| .entry-meta + .entry-title { | ||
| font-size: 26px; | ||
| font-weight: 400; | ||
| letter-spacing: normal; | ||
| padding-top: 0; | ||
| text-transform: none; | ||
| } | ||
|
|
||
| .entry-footer .cat-links, | ||
| .entry-footer .tags-links { | ||
| padding-left: 0; | ||
| } | ||
|
|
||
| .comment-author .avatar { | ||
| z-index: -1; | ||
| } | ||
|
|
||
| ol.children .children { | ||
| padding-left: 2em; | ||
| } | ||
|
|
||
| /* RTL Styles */ | ||
|
|
||
| .rtl .has-header-image.twentyseventeen-front-page .site-branding, | ||
| .rtl .has-header-image.home.blog .site-branding { | ||
| left: auto; | ||
| right: 0; | ||
| } | ||
|
|
||
| .rtl .entry-footer .cat-links, | ||
| .rtl .entry-footer .tags-links { | ||
| padding-right: 0; | ||
| } | ||
|
|
||
| .rtl ol.children .children { | ||
| padding-left: 0; | ||
| padding-right: 2em; | ||
| } | ||
| /* This theme does not support Internet Explorer since version 4.0. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,43 +1 @@ | ||
| /* | ||
| Theme Name: Twenty Seventeen | ||
| Description: IE9 specific styles. | ||
| */ | ||
|
|
||
| .has-header-image.twentyseventeen-front-page .custom-header, | ||
| .has-header-video.twentyseventeen-front-page .custom-header, | ||
| .has-header-image.home.blog .custom-header, | ||
| .has-header-video.home.blog .custom-header { | ||
| height: 300px; | ||
| } | ||
|
|
||
| .has-header-image .custom-header-media img, | ||
| .has-header-video .custom-header-media video, | ||
| .has-header-video .custom-header-media iframe { | ||
| min-width: 100%; | ||
| } | ||
|
|
||
| @media screen and (min-width: 30em) { | ||
|
|
||
| .has-header-image.twentyseventeen-front-page .custom-header, | ||
| .has-header-video.twentyseventeen-front-page .custom-header, | ||
| .has-header-image.home.blog .custom-header, | ||
| .has-header-video.home.blog .custom-header, | ||
| .twentyseventeen-front-page.has-header-image .custom-header-media, | ||
| .home.blog.has-header-image .custom-header-media, | ||
| .panel-image { | ||
| height: 700px; | ||
| } | ||
| } | ||
|
|
||
| @media screen and (min-width: 48em) { | ||
|
|
||
| .has-header-image.twentyseventeen-front-page .custom-header, | ||
| .has-header-video.twentyseventeen-front-page .custom-header, | ||
| .has-header-image.home.blog .custom-header, | ||
| .has-header-video.home.blog .custom-header, | ||
| .twentyseventeen-front-page.has-header-image .custom-header-media, | ||
| .home.blog.has-header-image .custom-header-media, | ||
| .panel-image { | ||
| height: 1000px; | ||
| } | ||
| } | ||
| /* This theme does not support Internet Explorer since version 4.0. */ | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.