WordPress/wp-content/themes/twentyseventeen/assets/css/ie8.css
David A. Kennedy 24ab3657cb Twenty Seventeen: Improve front end display in Internet Explorer 8
* Fixes the display issues with the header. The header doesn't look exactly like it does in newer browsers, but it's closer.
* Gets the font sizes a bit more consistent with how it looks like other browsers.
* IE8 doesn't support SVGs, so it's using the fallback styles for some of the icons. The fallbacks are limited to the absolutely necessary icons - so there is one for the submenu dropdown toggle icon, but not for the little 'hamburger' and X that sit in front of the 'menu' button.

Props laurelfulford.

Fixes #38472.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 16:43:34 +00:00

198 lines
3.0 KiB
CSS

/*
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;
}
.custom-header-image {
background-position: bottom center;
}
.site-branding {
padding: 45px 0;
}
.site-title {
font-size: 36px;
font-weight: bolder;
}
.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-expand {
-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-expand {
-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-image,
.blog.home .custom-header-image {
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: normal;
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 .entry-footer .cat-links,
.rtl .entry-footer .tags-links {
padding-right: 0;
}
.rtl ol.children .children {
padding-left: 0;
padding-right: 2em;
}