Help/About: Minor updates.

- Updated the various images.
- Added new "developer happiness" images.
- Fixed the responsive figcaption styles.
- Added a link to wporg plugin favorites as a shortcode to get to the classic plugin.
- Renamed "cover image" to "cover."
- Updated CSS to account for small-screen issues.

Props desrosj, audrasjb, antpb, jjj, elrae, Otto42, afercia, karmatosed, kjellr, alexislloyd, melchoyce.
See #45178.

Built from https://develop.svn.wordpress.org/branches/5.0@43946


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mel Choyce 2018-11-28 17:31:47 +00:00
parent 07ebb6262c
commit 625cae3537
6 changed files with 71 additions and 38 deletions

View File

@ -67,7 +67,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
</div>
<div class="full-width">
<img src="https://wordpress.org/gutenberg/files/2018/11/Gutenberg-3.png" alt="">
<img src="https://wordpress.org/gutenberg/files/2018/11/Gutenberg-copy-2.jpg" alt="">
</div>
<div class="feature-section one-col">
@ -79,25 +79,25 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="feature-section four-col">
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Plugin-1-1.gif" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Plugins-copy.jpg" alt=""/>
<figcaption><?php _e( 'Do more with fewer plugins.' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Layout-3.gif" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Layout.jpg" alt=""/>
<figcaption><?php _e( 'Create modern, multimedia-heavy layouts.' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Devices-1-1.gif" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Responsive.jpg" alt=""/>
<figcaption><?php _e( 'Work across all screen sizes and devices.' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Visual-1.gif" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Editor-Styles-copy.jpg" alt=""/>
<figcaption><?php _e( 'Trust that your editor looks like your website.' ); ?></figcaption>
</figure>
</div>
@ -119,97 +119,97 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="feature-section eight-col">
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Paragraph.jpg" alt=""/>
<figcaption><?php _e( 'Paragraph' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Heading.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Heading.jpg" alt=""/>
<figcaption><?php _e( 'Heading' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Subheading.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Preformatted.jpg" alt=""/>
<figcaption><?php _e( 'Preformatted' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Quote.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Quote.jpg" alt=""/>
<figcaption><?php _e( 'Quote' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Image.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Image.jpg" alt=""/>
<figcaption><?php _e( 'Image' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Gallery.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Gallery.jpg" alt=""/>
<figcaption><?php _e( 'Gallery' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Cover-Image.png" alt=""/>
<figcaption><?php _e( 'Cover Image' ); ?></figcaption>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Cover-Image.jpg" alt=""/>
<figcaption><?php _e( 'Cover' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Video.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Video.jpg" alt=""/>
<figcaption><?php _e( 'Video' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Audio.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Audio.jpg" alt=""/>
<figcaption><?php _e( 'Audio' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Column.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Column.jpg" alt=""/>
<figcaption><?php _e( 'Columns' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-File.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-File.jpg" alt=""/>
<figcaption><?php _e( 'File' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Code.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Code.jpg" alt=""/>
<figcaption><?php _e( 'Code' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-List.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-List.jpg" alt=""/>
<figcaption><?php _e( 'List' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Button.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Button.jpg" alt=""/>
<figcaption><?php _e( 'Button' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-Embeds.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-Embeds.jpg" alt=""/>
<figcaption><?php _e( 'Embeds' ); ?></figcaption>
</figure>
</div>
<div class="col">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/07/Block-Icon-More.png" alt=""/>
<img src="https://wordpress.org/gutenberg/files/2018/11/Block-Icon-More.jpg" alt=""/>
<figcaption><?php _e( 'More' ); ?></figcaption>
</figure>
</div>
@ -246,7 +246,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="full-width">
<figure>
<img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen.png" alt="">
<img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-copy.jpg" alt="">
<figcaption><?php _e( 'The front-end of Twenty Nineteen on the left, and how it looks in the editor on the right.' ); ?></figcaption>
</figure>
</div>
@ -264,7 +264,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<p><?php _e( 'Twenty Nineteen features custom styles for the blocks available by default in 5.0. It makes extensive use of editor styles throughout the theme. That way, what you create in your content editor is what you see on the front of your site.' ); ?></p>
</div>
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/twenty-nineteen-type.png" alt="">
<img src="https://wordpress.org/gutenberg/files/2018/11/typography-copy.jpg" alt="">
<h3><?php _e( 'Simple, type-driven layout' ); ?></h3>
<p><?php _e( 'Featuring ample whitespace, and modern sans-serif headlines paired with classic serif body text, Twenty Nineteen is built to be beautiful on the go. It uses system fonts to increase loading speed. No more long waits on slow networks!' ); ?></p>
</div>
@ -293,14 +293,17 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="under-the-hood feature-section three-col">
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/Protect-copy.jpg" alt=""/>
<h3><?php _e( 'Protect' ); ?></h3>
<p><?php _e( 'Blocks provide a comfortable way for users to change content directly, while also ensuring the content structure cannot be easily disturbed by accidental code edits. This allows the developer to control the output, building polished and semantic markup that is preserved through edits and not easily broken.' ); ?></p>
</div>
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/Compose-copy.jpg" alt=""/>
<h3><?php _e( 'Compose' ); ?></h3>
<p><?php _e( 'Take advantage of a wide collection of APIs and interface components to easily create blocks with intuitive controls for your clients. Utilizing these components not only speeds up development work but also provide a more consistent, usable, and accessible interface to all users.' ); ?></p>
</div>
<div class="col">
<img src="https://wordpress.org/gutenberg/files/2018/11/Create-copy.jpg" alt=""/>
<h3><?php _e( 'Create' ); ?></h3>
<p><?php _e( 'The new block paradigm opens up a path of exploration and imagination when it comes to solving user needs. With the unified block insertion flow, it&#8217;s easier for your clients and customers to find and use blocks for all types of content. Developers can focus on executing their vision and providing rich editing experiences, rather than fussing with difficult APIs.' ); ?></p>
</div>
@ -331,7 +334,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<p><?php _e( 'Note to users of assistive technology: if you experience usability issues with the block editor, we recommend you continue to use the Classic Editor.' ); ?></p>
<?php if ( current_user_can( 'install_plugins' ) ) { ?>
<div class="col cta">
<a class="button button-primary button-hero" href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a>
<a class="button button-primary button-hero" href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg' ), 'save_wporg_username_' . get_current_user_id() ) ); ?>"><?php _e( 'Install the Classic Editor' ); ?></a>
</div>
<?php } ?>
</div>

View File

@ -163,6 +163,7 @@
font-size: 13px;
text-align: center;
color: white;
text-overflow: ellipsis;
}
.about-wrap .about-description,
@ -316,6 +317,10 @@
margin-bottom: 3em;
}
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
/* 2.2 - Structure */
.about-wrap .headline-feature.feature-video {
@ -537,8 +542,11 @@
.about-wrap figcaption {
position: relative;
margin-top: 10px;
padding-top: 0;
margin-bottom: 15px;
padding: 0;
background: none;
color: #40464D;
text-shadow: none;
}
.about-wrap .floating-header-section {
@ -576,12 +584,20 @@
margin-bottom: 1.5em;
width: 100%;
}
.about-wrap .feature-section .col {
margin-top: 1em;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .eight-col .col {
min-width: 48% !important;
}
.about-wrap .under-the-hood.four-col .col,
.about-wrap .under-the-hood.three-col .col,
@ -595,10 +611,9 @@
.about-wrap .under-the-hood:nth-of-type(3n) {
margin-top: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) h3,
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
.about-wrap .floating-header-section {

File diff suppressed because one or more lines are too long

View File

@ -163,6 +163,7 @@
font-size: 13px;
text-align: center;
color: white;
text-overflow: ellipsis;
}
.about-wrap .about-description,
@ -316,6 +317,10 @@
margin-bottom: 3em;
}
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
/* 2.2 - Structure */
.about-wrap .headline-feature.feature-video {
@ -537,8 +542,11 @@
.about-wrap figcaption {
position: relative;
margin-top: 10px;
padding-top: 0;
margin-bottom: 15px;
padding: 0;
background: none;
color: #40464D;
text-shadow: none;
}
.about-wrap .floating-header-section {
@ -576,12 +584,20 @@
margin-bottom: 1.5em;
width: 100%;
}
.about-wrap .feature-section .col {
margin-top: 1em;
}
.about-wrap .two-col .col,
.about-wrap .three-col .col,
.about-wrap .three-col .col {
min-width: 100% !important;
}
.about-wrap .eight-col .col {
min-width: 48% !important;
}
.about-wrap .under-the-hood.four-col .col,
.about-wrap .under-the-hood.three-col .col,
@ -595,10 +611,9 @@
.about-wrap .under-the-hood:nth-of-type(3n) {
margin-top: 0;
}
.about-wrap .under-the-hood:nth-of-type(2n) h3,
.about-wrap .under-the-hood:nth-of-type(3n) h3 {
margin-top: 0;
.about-wrap .under-the-hood img + h3 {
margin-top: 1.25em;
}
.about-wrap .floating-header-section {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-RC1-43945';
$wp_version = '5.0-RC1-43946';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.