About page design for 4.1.

Merges [30857] to the 4.1 branch.

props melchoyce and ryelle, who again outdid themselves.
see #30435.

Built from https://develop.svn.wordpress.org/branches/4.1@30859


git-svn-id: http://core.svn.wordpress.org/branches/4.1@30849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-12-15 10:51:24 +00:00
parent 5b0729aa10
commit 5d800b2ea7
5 changed files with 510 additions and 454 deletions

View File

@ -41,45 +41,51 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</a>
</h2>
<div class="changelog">
<h2 class="about-headline-callout"><?php _e( 'Introducing Twenty Fifteen' ); ?></h2>
<div class="about-overview">
<img class="about-overview-img" src="//s.w.org/images/core/3.8/twentyfourteen.jpg?1" />
<div class="changelog headline-feature">
<h2><?php _e( 'Introducing Twenty&nbsp;Fifteen' ); ?></h2>
<div class="featured-image">
<img src="https://cldup.com/vIHybAE4UL.png" />
</div>
<div class="feature-section col three-col">
<div class="col-1">
<p><?php _e( 'Our newest default theme, Twenty Fifteen, is a blog-focused theme designed for clarity.' ); ?></p>
</div>
<div class="col-2">
<p>
<?php printf( __( 'Twenty Fifteen has flawless language support, with help from <a href="%s">Google&#8217;s Noto font family</a>.' ), 'https://www.google.com/get/noto/' ); ?>
<?php _e( 'The straightforward typography is readable on any screen size.' ); ?>
</p>
</div>
<div class="col-3 last-feature">
<div class="feature-section">
<div class="col">
<h3><?php _e( 'Our newest default theme, Twenty Fifteen, is a blog-focused theme designed for clarity.' ); ?></h3>
<p><?php printf( __( 'Twenty Fifteen has flawless language support, with help from <a href="%s">Google&#8217;s Noto font family</a>.' ), 'https://www.google.com/get/noto/' ); ?></p>
<p><?php _e( 'The straightforward typography is readable on any screen size.' ); ?></p>
<p><?php _e( 'Your content always takes center stage, whether viewed on a phone, tablet, laptop, or desktop computer.' ); ?></p>
</div>
<div class="col">
<img class="" src="https://cldup.com/a2KjmCSvRZ.png" />
</div>
</div>
<div class="clear"></div>
</div>
<hr />
<div class="changelog">
<h2 class="about-headline-callout"><?php _e( 'Distraction-free writing' ); ?></h2>
<div class="changelog headline-feature dfw">
<h2><?php _e( 'Distraction-free writing' ); ?></h2>
<div class="feature-section">
<p><em><?php _e( 'Just write.' ); ?></em> <?php _e( 'Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>distraction-free writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p>
<div class="dfw-container">
<img src="https://cldup.com/SSDED-NdGa.png" class="base-image" />
<img src="https://cldup.com/cKGORq3sEV.png" class="overlay-image fade-in" />
<img src="https://cldup.com/sHKt9sCD31.png" class="overlay-image fade-in" />
<img src="https://cldup.com/XYpC35yRAU.png" class="overlay-image from-left" />
</div>
<h3><em><?php _e( 'Just write.' ); ?></em></h3>
<p><?php _e( 'Sometimes, you just need to concentrate on putting your thoughts into words. Try turning on <strong>distraction-free writing mode</strong>. When you start typing, all the distractions will fade away, letting you focus solely on your writing. All your editing tools instantly return when you need them.' ); ?></p>
</div>
</div>
<hr />
<div class="changelog under-the-hood">
<h3><?php _e( 'The Finer Points' ); ?></h3>
<div class="changelog feature-list finer-points">
<h2><?php _e( 'The Finer Points' ); ?></h2>
<div class="feature-section col two-col">
<div>
<svg viewBox="-30 -30 160 160"><path d="M57.9,28.9h-7.9c-1.6,0-3.2,0.3-4.7,1c-1.5,0.7-2.7,1.6-3.7,2.7l-4.7-14.2H21.7L9.2,55.3h8.9l3.9-10.5h14.9v21.1H10.5 c-2.9,0-5.4-1-7.4-3.1C1,60.6,0,58.1,0,55.3V18.4c0-2.9,1-5.4,3.1-7.4c2.1-2.1,4.5-3.1,7.4-3.1h36.8c2.9,0,5.4,1,7.4,3.1 c2.1,2.1,3.1,4.5,3.1,7.4V28.9z M34.3,39.5H23.6l5.3-15.4L34.3,39.5z M52.6,34.2h36.8c2.9,0,5.4,1,7.4,3.1c2.1,2.1,3.1,4.5,3.1,7.4 v36.8c0,2.9-1,5.4-3.1,7.4c-2.1,2.1-4.5,3.1-7.4,3.1H52.6c-2.9,0-5.4-1-7.4-3.1c-2.1-2.1-3.1-4.5-3.1-7.4V44.7c0-2.9,1-5.4,3.1-7.4 C47.3,35.2,49.8,34.2,52.6,34.2z M90.8,60.5v-5.7H74.1V43.4H68v11.4H51.3v5.7h6.7c0.3,2.3,1.1,4.7,2.2,7.2c1.2,2.5,2.7,4.7,4.5,6.6 c-2.2,0.9-4.5,1.7-6.9,2.3s-4.1,0.9-5.2,0.9l0.3,1.4c0.2,0.9,0.4,2,0.6,3.3c0.2,1.3,0.3,2.3,0.2,3.1c2.2,0,4.9-0.6,8.1-1.7 c3.2-1.1,6.3-2.6,9.2-4.3c2.9,1.8,6,3.2,9.3,4.3c3.3,1.1,6.1,1.7,8.3,1.7c0-0.5,0-1.1,0.1-1.8c0.1-0.7,0.2-1.4,0.3-2 c0.1-0.7,0.2-1.3,0.3-1.9c0.1-0.6,0.2-1.1,0.3-1.4l0.1-0.6c-1.2,0-3-0.3-5.4-1c-2.5-0.7-4.8-1.4-7.1-2.3c1.8-2,3.3-4.2,4.4-6.6 s1.9-4.8,2.2-7.1H90.8z M70.7,70.7c-2.7-2.5-4.4-5.8-5.3-10.2h11c-0.9,4.4-2.7,7.7-5.3,10.2l-0.2,0.2 C70.8,70.8,70.8,70.7,70.7,70.7z"/></svg>
<h4><?php _e( 'Choose a language' ); ?></h4>
<p><?php
$count = '<span id="translations-count">' . 40 . '</span>';
@ -89,15 +95,22 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
}
echo sprintf( $string, $display_version, $count, admin_url( 'options-general.php' ) );
?></p>
</div>
<div class="last-feature">
<svg viewBox="-30 -30 160 160"><path d="M35.3,26.5H5.9c-1.5,0-2.9-0.6-4.1-1.7C0.6,23.6,0,22.2,0,20.6c0-1.6,0.6-3,1.7-4.1c1.2-1.2,2.5-1.7,4.1-1.7h29.4 c1.6,0,3,0.6,4.1,1.7c1.2,1.2,1.7,2.5,1.7,4.1c0,1.6-0.6,3-1.7,4.1C38.3,25.9,36.9,26.5,35.3,26.5z M68.9,77.7 c-1.2,1.2-2.5,1.7-4.1,1.7H17.6c-1.6,0-3-0.6-4.1-1.7c-1.2-1.2-1.7-2.5-1.7-4.1V38.2c0-1.6,0.6-3,1.7-4.1c1.2-1.2,2.5-1.7,4.1-1.7 h47.1c1.6,0,3,0.6,4.1,1.7c1.2,1.2,1.7,2.5,1.7,4.1v35.3C70.6,75.1,70,76.5,68.9,77.7z M76.5,61.8L100,85.3V26.5L76.5,50V61.8z"/></svg>
<h4><?php _e( 'Vine embeds' ); ?></h4>
<p><?php printf( ( 'Embedding videos from Vine is as simple as pasting a URL onto its own line in a post. For more, see the Codex article on <a href="%s">Embeds</a>.' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
</div>
<div>
<svg viewBox="-30 -30 160 160"><path d="M61.4,78.6V61.4L72.9,50v40H10V27.1h45.7L44.3,38.6H21.4v40H61.4z M44.3,10H90v45.7L78.6,50V32.4l-32,31.9l-8.1-8.1 l34.8-34.9H50L44.3,10z"/></svg>
<h4><?php _e( 'Log out everywhere' ); ?></h4>
<p><?php printf( ( 'There&#8217;s a new tool on <a href="%s">your profile</a> that logs you out everywhere, for those times you forget to log off a shared computer.' ), get_edit_profile_url() ); ?></p>
</div>
<div class="last-feature">
<h4><?php _e( 'Vine embeds' ); ?></h4>
<p><?php printf( ( 'Embedding videos from Vine is as simple as pasting a URL onto its own line in a post. For more, see the Codex article on <a href="%s">Embeds</a>.' ), 'http://codex.wordpress.org/Embeds' ); ?></p>
<svg viewBox="-30 -30 160 160"><path d="M35.1,30.1l4.7-5.8l46.4,46.4L80,75c-1.7,1.7-4.6,3.1-8.6,4.3c-4,1.1-7.7,1.7-11,1.7h-20L34,87.4 c-1.5,1.5-3.3,2.3-5.5,2.3c-2.1,0-3.9-0.8-5.5-2.3c-1.5-1.5-2.3-3.3-2.3-5.4c0-2.1,0.8-4,2.3-5.5l6.4-6.4v-20 c0-3.3,0.5-7,1.6-11.2C32.1,34.7,33.4,31.8,35.1,30.1z M76.2,21L59.6,37.7L49.9,28l16.7-16.7c0.9-0.9,2.1-1.2,3.7-0.8 c1.6,0.3,3,1.2,4.3,2.5c1.3,1.3,2.2,2.7,2.5,4.3C77.4,18.9,77.1,20.1,76.2,21z M72.4,50.5l16.7-16.7c0.9-0.9,2.1-1.2,3.7-0.9 c1.6,0.3,3,1.1,4.3,2.5c1.3,1.3,2.2,2.7,2.5,4.3c0.3,1.6,0,2.8-0.9,3.7L82,60.1L72.4,50.5z"/><path d="M10.9,40.4l3.4,6.8L21,48l-4.7,5.2l1.3,7.5l-6.8-3.4l-6.8,3.4l1.3-7.5L0.7,48l6.8-0.8L10.9,40.4z"/></svg>
<h4><?php _e( 'Plugin recommendations' ); ?></h4>
<p><?php
$string = ( 'The <a href="%s">plugin installer</a> now offers a list of plugins you may want to try, based on others who have similar plugins installed as you.' );
@ -112,8 +125,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<hr />
<div class="changelog under-the-hood">
<h3><?php _e( 'Under the Hood' ); ?></h3>
<div class="changelog feature-list">
<h2><?php _e( 'Under the Hood' ); ?></h3>
<div class="feature-section col two-col">
<div>
@ -148,7 +161,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<a href="<?php echo esc_url( self_admin_url() ); ?>"><?php
is_blog_admin() ? _e( 'Go to Dashboard &rarr; Home' ) : _e( 'Go to Dashboard' ); ?></a>
</div>
</div>
</div>

View File

@ -1,12 +1,24 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms
1.1 Typography
1.2 Structure
1.3 Point Releases
2.0 About Page
2.1 Typography
2.2 Structure
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms
------------------------------------------------------------------------------*/
.about-wrap {
position: relative;
margin: 25px 20px 0 40px;
max-width: 1050px; /* readability */
font-size: 15px;
}
@ -29,109 +41,6 @@
vertical-align: middle;
}
/* Typography */
.about-wrap p {
line-height: 1.6em;
font-size: 14px;
}
.about-wrap h1 {
margin: 0.2em 0 0 200px;
color: #333;
line-height: 1.2em;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap h4 {
color: #222;
}
.about-wrap .about-text,
.about-wrap p.about-description,
.about-wrap li.wp-person a.web {
font-weight: normal;
line-height: 1.6em;
font-size: 19px;
}
.about-description {
margin-top: 1.4em;
}
.about-text {
margin: 1em 0 1em 200px;
min-height: 60px;
color: #777;
font-size: 24px;
}
.about-wrap .changelog h2.about-headline-callout {
margin: 1.1em 0 0.2em;
font-size: 2.4em;
font-weight: 300;
line-height: 1.3;
text-align: center;
}
.about-wrap h3 {
margin: 1em 0 .6em;
font-size: 1.5em;
line-height: 1.5em;
}
.about-wrap h3.higher {
margin-top: .5em;
}
.customize h3 {
margin-top: 1.75em;
text-align: center;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1.2em;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
}
.about-wrap .button.button-large {
padding: 8px 20px 10px !important;
height: 46px !important;
font-size: 14px;
line-height: 28px !important;
}
/* 3.8 Images */
.about-wrap .about-overview-img {
margin: 0;
}
/* Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
border-bottom: 1px solid #dfdfdf;
}
.about-wrap .changelog.point-releases h3 {
padding-top: 35px;
}
.about-wrap .changelog.point-releases h3:first-child {
padding-top: 7px;
}
/* WordPress Version Badge */
.wp-badge {
@ -175,91 +84,189 @@
border-width: 1px;
}
/* Changelog / Update screen */
/* 1.1 - Typography */
.about-overview {
margin-top: 40px;
margin-bottom: 40px;
text-align: center;
.about-wrap p {
line-height: 1.6em;
font-size: 14px;
}
.about-overview p {
margin: 1em auto 50px;
max-width: 770px;
font-size: 18px;
line-height: 1.5;
text-align: center;
.about-wrap h1 {
margin: 0.2em 0 0 200px;
color: #333;
line-height: 1.2em;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap .feature-section {
margin-top: 40px;
padding-bottom: 20px;
.about-wrap h3 {
margin: 2em 0 .6em;
font-size: 1.25em;
line-height: 1.5em;
}
.about-wrap .feature-section.two-col > div {
.about-wrap h4 {
color: #222;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
font-weight: normal;
line-height: 1.6em;
font-size: 19px;
}
.about-wrap .about-text {
margin: 1em 0 1em 200px;
min-height: 60px;
color: #777;
}
/* 1.2 - Structure */
.about-wrap .two-col > div {
position: relative;
width: 47.6%;
margin-left: 4.799999999%;
float: right;
}
.about-wrap .feature-section.three-col > div {
.about-wrap .three-col > div {
position: relative;
width: 29.95%;
margin-left: 4.999999999%;
float: right;
}
.about-wrap .feature-section.col .last-feature {
.about-wrap .col .last-feature {
margin-left: 0;
}
.about-wrap .under-the-hood .feature-section {
/* 1.3 - Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
border-bottom: 1px solid #dfdfdf;
}
.about-wrap .changelog.point-releases h3 {
padding-top: 35px;
}
.about-wrap .changelog.point-releases h3:first-child {
padding-top: 7px;
}
/*------------------------------------------------------------------------------
2.0 - About Page
------------------------------------------------------------------------------*/
/* 2.1 - Typography */
.about-wrap .headline-feature h2 {
margin: 1.1em 0 0.2em;
font-size: 2.4em;
font-weight: 300;
line-height: 1.3;
text-align: center;
}
.about-wrap .feature-list h2 {
margin: 30px 0 15px;
text-align: center;
}
.about-wrap .dfw h3 {
margin-top: 1em;
text-align: center;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1.2em;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
.about-wrap .dfw p {
max-width: 70%;
margin: 0 auto 20px;
}
/* 2.2 - Structure */
.about-wrap .featured-image {
text-align: center;
}
.about-wrap .feature-section {
overflow: hidden;
padding-bottom: 20px;
}
.about-wrap .headline-feature .feature-section {
margin: 0 auto;
max-width: 82%;
}
.about-wrap .headline-feature .feature-section .col:first-child {
float: right;
margin: 15px 0 0 5%;
width: 55%;
}
.about-wrap .headline-feature .feature-section .col:last-child {
float: left;
margin: 15px 0 40px;
width: 40%;
}
.about-wrap .feature-list .feature-section {
margin-top: 0;
}
.about-wrap .changelog .feature-section {
overflow: hidden;
.about-wrap .dfw .feature-section {
overflow: visible;
}
.about-wrap .feature-section.two-col div p {
margin-left: 3%;
}
.about-wrap .feature-section div p img {
float: left;
margin-right: 10px;
max-width: 20%;
}
/* responsive videos for 4.0 */
.about-video {
.about-wrap .dfw-container {
position: relative;
width: 100%;
height: 0;
overflow: hidden;
margin-top: 50px;
box-shadow: 0 0 10px rgba( 0, 0, 0, 0.25 );
}
.about-video-embed {
padding-bottom: 70.4%; /* 352 / 500 */
}
.about-video-focus {
padding-bottom: 56.2%; /* 281 / 500 */
}
.about-video .wp-video,
.about-video .mejs-container,
.about-video video {
.about-wrap .dfw-container .overlay-image {
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
/* Cubic Bezier to speed up the slide-out of the full-width sidebar image */
transition: 0.8s transform cubic-bezier(.9,.03,1,.61),
0.65s opacity linear;
}
.about-wrap .changelog li {
list-style-type: disc;
margin-right: 3em;
.about-wrap .dfw-container .overlay-image.fade-in {
opacity: 0;
}
.about-wrap .dfw-container .overlay-image.from-left {
transform: translate3d(-100%, 0, 0);
}
.about-wrap .dfw-container:hover .overlay-image {
opacity: 1;
transform: translate3d(0, 0, 0);
/* Cubic Bezier to speed up the slide-in of the full-width sidebar image */
transition: 0.7s transform cubic-bezier( 0, 0.8, 0.8, 1 ),
0.8s opacity linear;
}
/* Return to Dashboard Home link */
@ -275,6 +282,28 @@
padding: 0 5px;
}
/* SVGs */
.about-wrap .feature-list svg {
float: right;
clear: right;
margin: 15px 0 0 15px ;
height: 90px;
width: 90px;
background-color: #cccccc;
border-radius: 50%;
fill: #999;
border: 1px solid #c1c1c1;
}
.about-wrap .feature-list.finer-points h4,
.about-wrap .feature-list.finer-points p {
margin-right: 115px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/* Credits */
.about-wrap h4.wp-people-group {
@ -296,6 +325,16 @@
display: inline-block;
vertical-align: top;
margin-left: 10px;
padding-bottom: 15px;
height: 70px;
width: 280px;
}
.about-wrap ul.compact li.wp-person {
height: auto;
width: 180px;
padding-bottom: 0;
margin-bottom: 0;
}
.about-wrap li.wp-person img.gravatar {
@ -311,31 +350,19 @@
height: 30px;
}
/* @todo: combine this */
.about-wrap li.wp-person {
height: 70px;
width: 280px;
padding-bottom: 15px;
}
.about-wrap ul.compact li.wp-person {
height: auto;
width: 180px;
padding-bottom: 0;
margin-bottom: 0;
}
.about-wrap #wp-people-group-validators + p.wp-credits-list {
margin-top: 0;
}
.about-wrap li.wp-person a.web {
display: block;
margin: 6px 0 2px;
font-size: 16px;
font-weight: normal;
line-height: 1.6em;
text-decoration: none;
}
.about-wrap #wp-people-group-validators + p.wp-credits-list {
margin-top: 0;
}
.about-wrap p.wp-credits-list a {
white-space: nowrap;
}
@ -356,44 +383,33 @@
margin: 0.6em 0;
}
/* =Media Queries
-------------------------------------------------------------- */
/*------------------------------------------------------------------------------
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and ( max-width: 782px ) {
.about-wrap .feature-section.one-col > div,
.about-wrap .feature-section.two-col > div,
.about-wrap .feature-section.three-col > div {
.about-wrap .one-col > div,
.about-wrap .two-col > div,
.about-wrap .three-col > div {
width: 100%;
margin: 0 0 40px;
padding: 0 0 40px;
float: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap .under-the-hood .feature-section > div,
.about-wrap .feature-section.col > div.last-feature {
.about-wrap .feature-list div,
.about-wrap .col > div.last-feature {
margin: 0;
padding: 0;
border-bottom: none;
}
.about-wrap .headline-feature .feature-section {
max-width: 100%;
}
/* Responsive release video */
@media screen and ( max-width: 710px ) {
.about-overview {
position: relative;
padding-bottom: 56.25%; /* 360 / 640 */
width: 100%;
height: 0;
}
.about-overview embed {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
.about-wrap .feature-list .feature-section {
padding: 0 0 40px;
}
}
@ -404,11 +420,11 @@
}
.about-wrap h1,
.about-text {
.about-wrap .about-text {
margin-left: 0;
}
.about-text {
.about-wrap .about-text {
margin-bottom: 0.25em;
}
@ -429,19 +445,25 @@
border-bottom: 1px solid #ccc;
}
.about-wrap .feature-section.three-col div {
width: 100%;
float: none;
.about-wrap .three-col div,
.about-wrap .headline-feature .feature-section div {
width: 100% !important;
float: none !important;
}
.about-wrap .three-col.about-updates .col-1 {
padding: 0;
float: none;
.about-wrap .dfw p {
max-width: 90%;
}
}
.about-wrap .three-col.about-updates .col-2 {
margin: 0 0 20px;
width: 100%;
float: none;
@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;
}
}

View File

@ -1,12 +1,24 @@
/*------------------------------------------------------------------------------
22.0 - About Pages
1.0 Global: About, Credits, Freedoms
1.1 Typography
1.2 Structure
1.3 Point Releases
2.0 About Page
2.1 Typography
2.2 Structure
3.0 Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
1.0 - Global: About, Credits, Freedoms
------------------------------------------------------------------------------*/
.about-wrap {
position: relative;
margin: 25px 40px 0 20px;
max-width: 1050px; /* readability */
font-size: 15px;
}
@ -29,109 +41,6 @@
vertical-align: middle;
}
/* Typography */
.about-wrap p {
line-height: 1.6em;
font-size: 14px;
}
.about-wrap h1 {
margin: 0.2em 200px 0 0;
color: #333;
line-height: 1.2em;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap h4 {
color: #222;
}
.about-wrap .about-text,
.about-wrap p.about-description,
.about-wrap li.wp-person a.web {
font-weight: normal;
line-height: 1.6em;
font-size: 19px;
}
.about-description {
margin-top: 1.4em;
}
.about-text {
margin: 1em 200px 1em 0;
min-height: 60px;
color: #777;
font-size: 24px;
}
.about-wrap .changelog h2.about-headline-callout {
margin: 1.1em 0 0.2em;
font-size: 2.4em;
font-weight: 300;
line-height: 1.3;
text-align: center;
}
.about-wrap h3 {
margin: 1em 0 .6em;
font-size: 1.5em;
line-height: 1.5em;
}
.about-wrap h3.higher {
margin-top: .5em;
}
.customize h3 {
margin-top: 1.75em;
text-align: center;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1.2em;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
}
.about-wrap .button.button-large {
padding: 8px 20px 10px !important;
height: 46px !important;
font-size: 14px;
line-height: 28px !important;
}
/* 3.8 Images */
.about-wrap .about-overview-img {
margin: 0;
}
/* Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
border-bottom: 1px solid #dfdfdf;
}
.about-wrap .changelog.point-releases h3 {
padding-top: 35px;
}
.about-wrap .changelog.point-releases h3:first-child {
padding-top: 7px;
}
/* WordPress Version Badge */
.wp-badge {
@ -175,91 +84,189 @@
border-width: 1px;
}
/* Changelog / Update screen */
/* 1.1 - Typography */
.about-overview {
margin-top: 40px;
margin-bottom: 40px;
text-align: center;
.about-wrap p {
line-height: 1.6em;
font-size: 14px;
}
.about-overview p {
margin: 1em auto 50px;
max-width: 770px;
font-size: 18px;
line-height: 1.5;
text-align: center;
.about-wrap h1 {
margin: 0.2em 200px 0 0;
color: #333;
line-height: 1.2em;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap .feature-section {
margin-top: 40px;
padding-bottom: 20px;
.about-wrap h3 {
margin: 2em 0 .6em;
font-size: 1.25em;
line-height: 1.5em;
}
.about-wrap .feature-section.two-col > div {
.about-wrap h4 {
color: #222;
}
.about-wrap code,
.about-wrap ol li p {
font-size: 14px;
}
.about-wrap .about-description,
.about-wrap .about-text {
margin-top: 1.4em;
font-weight: normal;
line-height: 1.6em;
font-size: 19px;
}
.about-wrap .about-text {
margin: 1em 200px 1em 0;
min-height: 60px;
color: #777;
}
/* 1.2 - Structure */
.about-wrap .two-col > div {
position: relative;
width: 47.6%;
margin-right: 4.799999999%;
float: left;
}
.about-wrap .feature-section.three-col > div {
.about-wrap .three-col > div {
position: relative;
width: 29.95%;
margin-right: 4.999999999%;
float: left;
}
.about-wrap .feature-section.col .last-feature {
.about-wrap .col .last-feature {
margin-right: 0;
}
.about-wrap .under-the-hood .feature-section {
/* 1.3 - Point Releases */
.about-wrap .point-releases {
margin-top: 5px;
border-bottom: 1px solid #dfdfdf;
}
.about-wrap .changelog.point-releases h3 {
padding-top: 35px;
}
.about-wrap .changelog.point-releases h3:first-child {
padding-top: 7px;
}
/*------------------------------------------------------------------------------
2.0 - About Page
------------------------------------------------------------------------------*/
/* 2.1 - Typography */
.about-wrap .headline-feature h2 {
margin: 1.1em 0 0.2em;
font-size: 2.4em;
font-weight: 300;
line-height: 1.3;
text-align: center;
}
.about-wrap .feature-list h2 {
margin: 30px 0 15px;
text-align: center;
}
.about-wrap .dfw h3 {
margin-top: 1em;
text-align: center;
}
.about-wrap .feature-section h4 {
margin: 1.4em 0 0.6em 0;
font-size: 1.2em;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
.about-wrap .dfw p {
max-width: 70%;
margin: 0 auto 20px;
}
/* 2.2 - Structure */
.about-wrap .featured-image {
text-align: center;
}
.about-wrap .feature-section {
overflow: hidden;
padding-bottom: 20px;
}
.about-wrap .headline-feature .feature-section {
margin: 0 auto;
max-width: 82%;
}
.about-wrap .headline-feature .feature-section .col:first-child {
float: left;
margin: 15px 5% 0 0;
width: 55%;
}
.about-wrap .headline-feature .feature-section .col:last-child {
float: right;
margin: 15px 0 40px;
width: 40%;
}
.about-wrap .feature-list .feature-section {
margin-top: 0;
}
.about-wrap .changelog .feature-section {
overflow: hidden;
.about-wrap .dfw .feature-section {
overflow: visible;
}
.about-wrap .feature-section.two-col div p {
margin-right: 3%;
}
.about-wrap .feature-section div p img {
float: right;
margin-left: 10px;
max-width: 20%;
}
/* responsive videos for 4.0 */
.about-video {
.about-wrap .dfw-container {
position: relative;
width: 100%;
height: 0;
overflow: hidden;
margin-top: 50px;
box-shadow: 0 0 10px rgba( 0, 0, 0, 0.25 );
}
.about-video-embed {
padding-bottom: 70.4%; /* 352 / 500 */
}
.about-video-focus {
padding-bottom: 56.2%; /* 281 / 500 */
}
.about-video .wp-video,
.about-video .mejs-container,
.about-video video {
.about-wrap .dfw-container .overlay-image {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
/* Cubic Bezier to speed up the slide-out of the full-width sidebar image */
transition: 0.8s transform cubic-bezier(.9,.03,1,.61),
0.65s opacity linear;
}
.about-wrap .changelog li {
list-style-type: disc;
margin-left: 3em;
.about-wrap .dfw-container .overlay-image.fade-in {
opacity: 0;
}
.about-wrap .dfw-container .overlay-image.from-left {
transform: translate3d(-100%, 0, 0);
}
.about-wrap .dfw-container:hover .overlay-image {
opacity: 1;
transform: translate3d(0, 0, 0);
/* Cubic Bezier to speed up the slide-in of the full-width sidebar image */
transition: 0.7s transform cubic-bezier( 0, 0.8, 0.8, 1 ),
0.8s opacity linear;
}
/* Return to Dashboard Home link */
@ -275,6 +282,28 @@
padding: 0 5px;
}
/* SVGs */
.about-wrap .feature-list svg {
float: left;
clear: left;
margin: 15px 15px 0 0 ;
height: 90px;
width: 90px;
background-color: #cccccc;
border-radius: 50%;
fill: #999;
border: 1px solid #c1c1c1;
}
.about-wrap .feature-list.finer-points h4,
.about-wrap .feature-list.finer-points p {
margin-left: 115px;
}
/*------------------------------------------------------------------------------
3.0 - Credits & Freedoms Pages
------------------------------------------------------------------------------*/
/* Credits */
.about-wrap h4.wp-people-group {
@ -296,6 +325,16 @@
display: inline-block;
vertical-align: top;
margin-right: 10px;
padding-bottom: 15px;
height: 70px;
width: 280px;
}
.about-wrap ul.compact li.wp-person {
height: auto;
width: 180px;
padding-bottom: 0;
margin-bottom: 0;
}
.about-wrap li.wp-person img.gravatar {
@ -311,31 +350,19 @@
height: 30px;
}
/* @todo: combine this */
.about-wrap li.wp-person {
height: 70px;
width: 280px;
padding-bottom: 15px;
}
.about-wrap ul.compact li.wp-person {
height: auto;
width: 180px;
padding-bottom: 0;
margin-bottom: 0;
}
.about-wrap #wp-people-group-validators + p.wp-credits-list {
margin-top: 0;
}
.about-wrap li.wp-person a.web {
display: block;
margin: 6px 0 2px;
font-size: 16px;
font-weight: normal;
line-height: 1.6em;
text-decoration: none;
}
.about-wrap #wp-people-group-validators + p.wp-credits-list {
margin-top: 0;
}
.about-wrap p.wp-credits-list a {
white-space: nowrap;
}
@ -356,44 +383,33 @@
margin: 0.6em 0;
}
/* =Media Queries
-------------------------------------------------------------- */
/*------------------------------------------------------------------------------
4.0 - Media Queries
------------------------------------------------------------------------------*/
@media screen and ( max-width: 782px ) {
.about-wrap .feature-section.one-col > div,
.about-wrap .feature-section.two-col > div,
.about-wrap .feature-section.three-col > div {
.about-wrap .one-col > div,
.about-wrap .two-col > div,
.about-wrap .three-col > div {
width: 100%;
margin: 0 0 40px;
padding: 0 0 40px;
float: none;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.about-wrap .under-the-hood .feature-section > div,
.about-wrap .feature-section.col > div.last-feature {
.about-wrap .feature-list div,
.about-wrap .col > div.last-feature {
margin: 0;
padding: 0;
border-bottom: none;
}
.about-wrap .headline-feature .feature-section {
max-width: 100%;
}
/* Responsive release video */
@media screen and ( max-width: 710px ) {
.about-overview {
position: relative;
padding-bottom: 56.25%; /* 360 / 640 */
width: 100%;
height: 0;
}
.about-overview embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
.about-wrap .feature-list .feature-section {
padding: 0 0 40px;
}
}
@ -404,11 +420,11 @@
}
.about-wrap h1,
.about-text {
.about-wrap .about-text {
margin-right: 0;
}
.about-text {
.about-wrap .about-text {
margin-bottom: 0.25em;
}
@ -429,19 +445,25 @@
border-bottom: 1px solid #ccc;
}
.about-wrap .feature-section.three-col div {
width: 100%;
float: none;
.about-wrap .three-col div,
.about-wrap .headline-feature .feature-section div {
width: 100% !important;
float: none !important;
}
.about-wrap .three-col.about-updates .col-1 {
padding: 0;
float: none;
.about-wrap .dfw p {
max-width: 90%;
}
}
.about-wrap .three-col.about-updates .col-2 {
margin: 0 0 20px;
width: 100%;
float: none;
@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;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long