From 5bf914bb9641bca31d5dea333c5bcf905fa73c0c Mon Sep 17 00:00:00 2001 From: Mel Choyce Date: Wed, 7 Jun 2017 22:06:16 +0000 Subject: [PATCH] About: Swap out images and videos for CDN versions, and add responsive images. Props: joemcgill, pento. See #40721. git-svn-id: https://develop.svn.wordpress.org/trunk@40881 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 61 +++++++++++++++++++++++++++++++++----- src/wp-admin/css/about.css | 5 ---- 2 files changed, 54 insertions(+), 12 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 990833e9c1..47524fc0b1 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -59,11 +59,42 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
- + - + - +
@@ -71,7 +102,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

-

+

@@ -97,8 +128,8 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
'https://cldup.com/LHwC1lL_jC.mp4', - 'poster' => 'https://cldup.com/wx7uMMXJor.png', + 'mp4' => 'https://s.w.org/images/core/4.8/link-boundaries.mp4', + 'poster' => 'https://s.w.org/images/core/4.8/link-boundaries.png', 'width' => 1140, 'height' => 624, // 'class' => 'wp-video-shortcode feature-video', @@ -120,7 +151,23 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

- +
diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index debc8c9435..04d2ddcda4 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -40,7 +40,6 @@ max-width: 100%; height: auto; vertical-align: middle; - border: 1px solid rgba(0, 0, 0, 0.1); } .about-wrap .jetpack-video-wrapper { @@ -294,10 +293,6 @@ padding-top: 35px; } -.about-wrap .headline-feature img { - border: none; -} - .about-wrap .feature-section .media-container { overflow: hidden; }