X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/dc1231b7312fbdca99e9e887cc2bb35a28f85cdc..refs/tags/wordpress-4.4:/wp-admin/css/about-rtl.css diff --git a/wp-admin/css/about-rtl.css b/wp-admin/css/about-rtl.css index d7ae1bcc..be288e59 100644 --- a/wp-admin/css/about-rtl.css +++ b/wp-admin/css/about-rtl.css @@ -79,17 +79,10 @@ /* Tabs */ -.about-wrap h2.nav-tab-wrapper { - padding-right: 6px; -} - -.about-wrap h2 .nav-tab { - padding: 4px 15px 6px; - margin: 0 0 -1px 3px; +.about-wrap .nav-tab { + padding-left: 15px; + padding-right: 15px; font-size: 18px; - vertical-align: top; - border-width: 1px; - white-space: nowrap; } /* 1.1 - Typography */ @@ -148,6 +141,13 @@ margin-left: 4.799999999%; width: 47.6%; } +.about-wrap .feature-section.two-col .col { + display: inline-block; + float: none; + margin-left: 4.799999999%; + width: calc( 47.6% - 4px ); + vertical-align: middle; +} .about-wrap .three-col .col { margin-left: 4.999999999%; @@ -181,16 +181,20 @@ /* 2.1 - Typography */ .about-wrap .headline-feature h2 { - margin: 50px 0 30px; + margin: 30px 0 30px; font-size: 2.2em; font-weight: 300; line-height: 1.3; - text-align: right; + text-align: center; } .about-wrap .headline-feature h3 { - margin-top: 30px; - text-align: center; + margin-top: 0; + text-align: right; +} + +.about-wrap .feature-section.two-col h3 { + margin-top: 0; } .about-wrap .feature-list h2 { @@ -207,13 +211,27 @@ margin-top: 0.6em; } +.about-wrap .two-col-text { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; + -webkit-column-gap: 40px; + -moz-column-gap: 40px; + column-gap: 40px; +} + +.about-wrap .two-col-text p:first-of-type { + margin-top: 0; +} + /* 2.2 - Structure */ -.about-wrap .feature-video { +.about-wrap .headline-feature.feature-video { position: relative; margin: 40px 0; - padding-bottom: 56.25%; /* video is 1280 x 720 */ + padding-bottom: 56.25%; width: 100%; + max-width: 100%; height: 0; text-align: center; } @@ -233,27 +251,46 @@ .about-wrap .feature-section { overflow: hidden; padding: 0 0 40px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); } -.about-wrap .headline-feature .feature-section { +.about-wrap .headline-feature { margin: 0 auto; - max-width: 95%; + max-width: 80%; } .about-wrap .feature-section .media-container { - border: 1px solid #ddd; overflow: hidden; } -.about-wrap .feature-section .svg-container { - padding: 50px 0; +.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; - background-color: #e1e1e3; } -.about-wrap .feature-section .svg-container img { - max-width: 150px; +.about-wrap .embed-container iframe { + max-width: 100%; +} + +.about-wrap .wp-embedded-content { + max-width: 100%; } .about-wrap .feature-section:not(.under-the-hood) .col { @@ -292,9 +329,10 @@ /* Credits */ -.about-wrap h4.wp-people-group { - margin-top: 2.6em; +.about-wrap h3.wp-people-group { + margin: 2.6em 0 1.33em; font-size: 16px; + line-height: inherit; } .about-wrap ul.wp-people-group { @@ -384,7 +422,47 @@ width: 100%; margin: 40px 0 0; padding: 0 0 40px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); + } + + .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; + column-count: 1; } .about-wrap .three-col img { @@ -428,27 +506,21 @@ width: 100%; } - .about-wrap h2.nav-tab-wrapper { - padding-right: 0; - border-bottom: 0; - } - - .about-wrap h2 .nav-tab { - margin-top: 10px; - margin-left: 10px; - border-bottom: 1px solid #ccc; - } - - .about-wrap .feature-section .svg-container { - padding-top: 20px; - padding-bottom: 20px; - } - + .about-wrap .feature-section.two-col .col, .about-wrap .three-col .col, .about-wrap .headline-feature .feature-section .col { width: 100% !important; float: none !important; } + + .about-wrap .feature-section.two-col .col:last-of-type { + 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) {