4.5 About screen.

Props mikeschroder, melchoyce, ocean90, ryelle, jeremyfelt, Ipstenu, celloexpressions, DrewAPicture.
See #36173.
Built from https://develop.svn.wordpress.org/trunk@37169


git-svn-id: http://core.svn.wordpress.org/trunk@37136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2016-04-09 06:23:26 +00:00
parent 5d8b9805eb
commit 4e6b257fa3
6 changed files with 150 additions and 328 deletions

View File

@@ -101,12 +101,24 @@
font-weight: 400;
}
.about-wrap h2 {
margin: 50px 0 1em;
font-size: 1.8em;
line-height: 1.3;
font-weight: 300;
text-align: center;
}
.about-wrap h3 {
margin: 1.25em 0 .6em;
font-size: 1.25em;
line-height: 1.5em;
}
.about-wrap .changelog h3 {
margin-top: 40px;
}
.about-wrap h4 {
color: #23282d;
}
@@ -137,17 +149,24 @@
float: right;
position: relative;
}
.about-wrap .two-col .col {
margin-left: 4.799999999%;
width: 47.6%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-left: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: middle;
vertical-align: top;
}
.about-wrap .three-col .col {
@@ -160,6 +179,15 @@
margin-left: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
}
.about-wrap .under-the-hood:nth-of-type(2n) {
margin-top: 3em;
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
@@ -198,11 +226,6 @@
margin-top: 0;
}
.about-wrap .feature-list h2 {
margin: 30px 0 15px;
text-align: center;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1em;
@@ -263,25 +286,6 @@
overflow: hidden;
}
.about-wrap .headline-feature .col {
width: 65.2%;
}
.about-wrap .headline-feature .col.feature-image {
width: 30%;
}
.about-wrap .headline-feature .vertical-screen {
float: left;
margin-right: 40px;
max-width: 100%;
}
.about-wrap .headline-feature .horizontal-screen {
margin-top: 20px;
max-width: 100%;
}
.about-wrap .embed-container {
text-align: center;
}
@@ -294,7 +298,7 @@
max-width: 100%;
}
.about-wrap .feature-section:not(.under-the-hood) .col {
.about-wrap .feature-section .col {
margin-top: 40px;
}
@@ -319,11 +323,6 @@
padding: 0 5px;
}
.about-wrap .feature-list.finer-points h4,
.about-wrap .feature-list.finer-points p {
margin-right: 115px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@@ -416,53 +415,6 @@
------------------------------------------------------------------------------*/
@media screen and ( max-width: 782px ) {
.about-wrap .feature-section {
padding: 0;
border-bottom: none;
}
.about-wrap [class$=col] .col {
float: none;
width: 100%;
margin: 40px 0 0;
padding: 0 0 40px;
}
.about-wrap .headline-feature {
position: relative;
}
.about-wrap .headline-feature .col.feature-image {
position: absolute;
bottom: 0;
left: 0;
width: 40%;
}
.about-wrap .headline-feature .horizontal-image {
position: relative;
}
.about-wrap .headline-feature .horizontal-image:before {
display: block;
content: "";
width: 100%;
padding-top: 80%;
}
.about-wrap .headline-feature .horizontal-image > .content {
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
.about-wrap .headline-feature .horizontal-image img {
position: absolute;
bottom: 0;
}
.about-wrap .two-col-text {
-webkit-column-count: 1;
-moz-column-count: 1;
@@ -473,20 +425,6 @@
display: block;
margin: 0 auto;
}
.about-wrap .feature-list .col {
margin: 0;
padding: 0;
border-bottom: none;
}
.about-wrap .headline-feature .feature-section {
max-width: 100%;
}
.about-wrap .feature-list .feature-section {
padding: 0 0 40px;
}
}
@media only screen and (max-width: 500px) {
@@ -510,31 +448,24 @@
width: 100%;
}
.about-wrap .feature-section.two-col .col,
.about-wrap .three-col .col,
.about-wrap .headline-feature .feature-section .col {
.about-wrap .two-col .col,
.about-wrap .three-col .col {
width: 100% !important;
float: none !important;
}
.about-wrap .feature-section.two-col .col:last-of-type {
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {
margin-bottom: 2em;
padding-bottom: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) {
margin-top: 0;
}
.feature-section.under-the-hood.three-col .col,
.feature-section.under-the-hood.one-col .col {
padding-bottom: 0;
}
}
@media only screen and (max-width: 400px) {
.about-wrap .feature-list svg {
margin-top: 15px;
height: 65px;
width: 65px;
}
.about-wrap .feature-list.finer-points h4,
.about-wrap .feature-list.finer-points p {
margin-right: 80px;
.about-wrap .under-the-hood:nth-of-type(2n) h4 {
margin-top: 0;
}
}

File diff suppressed because one or more lines are too long

View File

@@ -101,12 +101,24 @@
font-weight: 400;
}
.about-wrap h2 {
margin: 50px 0 1em;
font-size: 1.8em;
line-height: 1.3;
font-weight: 300;
text-align: center;
}
.about-wrap h3 {
margin: 1.25em 0 .6em;
font-size: 1.25em;
line-height: 1.5em;
}
.about-wrap .changelog h3 {
margin-top: 40px;
}
.about-wrap h4 {
color: #23282d;
}
@@ -137,17 +149,24 @@
float: left;
position: relative;
}
.about-wrap .two-col .col {
margin-right: 4.799999999%;
width: 47.6%;
}
.about-wrap .two-col img {
margin-bottom: 1.5em;
}
.about-wrap .feature-section.two-col .col {
display: inline-block;
float: none;
margin-top: 1em;
margin-right: 4.799999999%;
width: -webkit-calc( 47.6% - 4px );
width: calc( 47.6% - 4px );
vertical-align: middle;
vertical-align: top;
}
.about-wrap .three-col .col {
@@ -160,6 +179,15 @@
margin-right: 0;
}
.about-wrap .under-the-hood {
clear: both;
overflow: hidden;
}
.about-wrap .under-the-hood:nth-of-type(2n) {
margin-top: 3em;
}
/* 1.3 - Point Releases */
.about-wrap .point-releases {
@@ -198,11 +226,6 @@
margin-top: 0;
}
.about-wrap .feature-list h2 {
margin: 30px 0 15px;
text-align: center;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1em;
@@ -263,25 +286,6 @@
overflow: hidden;
}
.about-wrap .headline-feature .col {
width: 65.2%;
}
.about-wrap .headline-feature .col.feature-image {
width: 30%;
}
.about-wrap .headline-feature .vertical-screen {
float: right;
margin-left: 40px;
max-width: 100%;
}
.about-wrap .headline-feature .horizontal-screen {
margin-top: 20px;
max-width: 100%;
}
.about-wrap .embed-container {
text-align: center;
}
@@ -294,7 +298,7 @@
max-width: 100%;
}
.about-wrap .feature-section:not(.under-the-hood) .col {
.about-wrap .feature-section .col {
margin-top: 40px;
}
@@ -319,11 +323,6 @@
padding: 0 5px;
}
.about-wrap .feature-list.finer-points h4,
.about-wrap .feature-list.finer-points p {
margin-left: 115px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
@@ -416,53 +415,6 @@
------------------------------------------------------------------------------*/
@media screen and ( max-width: 782px ) {
.about-wrap .feature-section {
padding: 0;
border-bottom: none;
}
.about-wrap [class$=col] .col {
float: none;
width: 100%;
margin: 40px 0 0;
padding: 0 0 40px;
}
.about-wrap .headline-feature {
position: relative;
}
.about-wrap .headline-feature .col.feature-image {
position: absolute;
bottom: 0;
right: 0;
width: 40%;
}
.about-wrap .headline-feature .horizontal-image {
position: relative;
}
.about-wrap .headline-feature .horizontal-image:before {
display: block;
content: "";
width: 100%;
padding-top: 80%;
}
.about-wrap .headline-feature .horizontal-image > .content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.about-wrap .headline-feature .horizontal-image img {
position: absolute;
bottom: 0;
}
.about-wrap .two-col-text {
-webkit-column-count: 1;
-moz-column-count: 1;
@@ -473,20 +425,6 @@
display: block;
margin: 0 auto;
}
.about-wrap .feature-list .col {
margin: 0;
padding: 0;
border-bottom: none;
}
.about-wrap .headline-feature .feature-section {
max-width: 100%;
}
.about-wrap .feature-list .feature-section {
padding: 0 0 40px;
}
}
@media only screen and (max-width: 500px) {
@@ -510,31 +448,24 @@
width: 100%;
}
.about-wrap .feature-section.two-col .col,
.about-wrap .three-col .col,
.about-wrap .headline-feature .feature-section .col {
.about-wrap .two-col .col,
.about-wrap .three-col .col {
width: 100% !important;
float: none !important;
}
.about-wrap .feature-section.two-col .col:last-of-type {
.about-wrap .under-the-hood.three-col .col,
.about-wrap .under-the-hood.two-col .col,
.about-wrap .under-the-hood.one-col .col {
margin-bottom: 2em;
padding-bottom: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) {
margin-top: 0;
}
.feature-section.under-the-hood.three-col .col,
.feature-section.under-the-hood.one-col .col {
padding-bottom: 0;
}
}
@media only screen and (max-width: 400px) {
.about-wrap .feature-list svg {
margin-top: 15px;
height: 65px;
width: 65px;
}
.about-wrap .feature-list.finer-points h4,
.about-wrap .feature-list.finer-points p {
margin-left: 80px;
.about-wrap .under-the-hood:nth-of-type(2n) h4 {
margin-top: 0;
}
}

File diff suppressed because one or more lines are too long