diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index f3bd95c597..29e0352823 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -44,36 +44,45 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
-

-

-

you in mind.' ); ?>

-

three new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?>

+
+

+

+

you in mind.' ); ?>

+

three new media widgets covering images, audio, and video, an updated text widget that supports visual editing, and an upgraded news section in your dashboard which brings in nearby and upcoming WordPress events.' ); ?>

+

-
+ +
-
-

-

-
-
-
-

-

+ + + + + + + +
-
+

+

+
+
+

+

+
+

-

@@ -90,7 +99,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); 'https://s.w.org/images/core/4.7/starter-content-v1.mp4', - 'poster' => 'https://s.w.org/images/core/4.7/starter-content.jpg?v2', + 'poster' => 'https://cldup.com/ZS8FEi0AE9.png', 'width' => 1140, 'height' => 624, // 'class' => 'wp-video-shortcode feature-video', @@ -102,7 +111,6 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
-

@@ -110,6 +118,9 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

+
+ +

@@ -136,15 +147,12 @@ include( ABSPATH . 'wp-admin/admin-header.php' );

is_super_admin(). Additionally, new hooks, network-specific site functions, and user count controls have been added.' ); ?>

-
- -

-

+

diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index 2dc72f53a6..debc8c9435 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -161,45 +161,41 @@ /* 1.2 - Structure */ -.about-wrap [class$=col] .col { - float: left; - position: relative; +.about-wrap [class$="-col"] { + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; +} + +.about-wrap .feature-section.one-col { + margin: 0 auto; + max-width: 700px; +} + +.about-wrap [class$="-col"] .col { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; } .about-wrap .two-col .col { - margin-right: 4.799999999%; - width: 47.6%; + min-width: 47%; + max-width: 47%; +} + +.about-wrap .three-col .col { + align-self: flex-start; + min-width: 31%; + max-width: 31%; } .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: top; -} - -.about-wrap .three-col .col { - margin-right: 4.999999999%; - width: 29.95%; -} - -.about-wrap .two-col .col:nth-of-type(2n), -.about-wrap .three-col .col:nth-of-type(3n) { - margin-right: 0; -} - -.about-wrap .under-the-hood { - clear: both; - overflow: hidden; -} - .about-wrap .feature-video .mejs-controls { display: none !important; } @@ -298,9 +294,8 @@ padding-top: 35px; } -.about-wrap .headline-feature { - margin: 0 auto; - max-width: 80%; +.about-wrap .headline-feature img { + border: none; } .about-wrap .feature-section .media-container { @@ -446,6 +441,11 @@ column-count: 1; } + .about-wrap .two-col .col, + .about-wrap .three-col .col { + min-width: 48% !important; + } + .about-wrap .three-col img { display: block; margin: 0 auto; @@ -475,8 +475,7 @@ .about-wrap .two-col .col, .about-wrap .three-col .col { - width: 100% !important; - float: none !important; + min-width: 100% !important; } .about-wrap .under-the-hood.three-col .col,