About: Add vertical alignment for developer happiness sections.
Also run CSS autoprefixer to add `-ms-` prefixes for CSS grid identifiers for IE11. Props Presskopp. Amends [42121]. See #42087. Fixes #42524 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@42161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e6e518cbe5
commit
2f297cfeff
|
@ -172,8 +172,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-box-pack: justify;
|
-webkit-box-pack: justify;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
-webkit-box-align: center;
|
|
||||||
align-items: center;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -357,14 +355,17 @@
|
||||||
/* 2.3 Floating Header Layout */
|
/* 2.3 Floating Header Layout */
|
||||||
|
|
||||||
.about-wrap .floating-header-section {
|
.about-wrap .floating-header-section {
|
||||||
|
display: -ms-grid;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: 0 60px;
|
grid-gap: 0 60px;
|
||||||
|
-ms-grid-columns: 5fr 11fr;
|
||||||
grid-template-columns: 5fr 11fr;
|
grid-template-columns: 5fr 11fr;
|
||||||
max-width: 1020px;
|
max-width: 1020px;
|
||||||
margin: 0 auto 120px;
|
margin: 0 auto 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section h2 {
|
.about-wrap .floating-header-section h2 {
|
||||||
|
-ms-grid-column: 1;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -376,17 +377,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section .section-content {
|
.about-wrap .floating-header-section .section-content {
|
||||||
|
display: -ms-grid;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: 60px;
|
grid-gap: 60px;
|
||||||
|
-ms-grid-columns: 5fr 5fr;
|
||||||
grid-template-columns: 5fr 5fr;
|
grid-template-columns: 5fr 5fr;
|
||||||
|
-ms-grid-column: 2;
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section .section-item:nth-of-type(odd) {
|
.about-wrap .floating-header-section .section-item:nth-of-type(odd) {
|
||||||
|
-ms-grid-column: 1;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section .section-item:nth-of-type(even) {
|
.about-wrap .floating-header-section .section-item:nth-of-type(even) {
|
||||||
|
-ms-grid-column: 2;
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -498,12 +504,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section {
|
.about-wrap .floating-header-section {
|
||||||
|
-ms-grid-columns: 1fr;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-gap: 60px 0;
|
grid-gap: 60px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section h2,
|
.about-wrap .floating-header-section h2,
|
||||||
.about-wrap .floating-header-section .section-content {
|
.about-wrap .floating-header-section .section-content {
|
||||||
|
-ms-grid-column: 1;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -561,11 +569,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section .section-content {
|
.about-wrap .floating-header-section .section-content {
|
||||||
|
-ms-grid-columns: 1fr;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-gap: 60px 0;
|
grid-gap: 60px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about-wrap .floating-header-section .section-content .section-item {
|
.about-wrap .floating-header-section .section-content .section-item {
|
||||||
|
-ms-grid-column: 1;
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue