X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4713a14935b83517997f3c88f808eb41da55033d..b925718b4bf2dd47a8429f844d0a255ca6e35bd1:/wp-admin/css/about.css diff --git a/wp-admin/css/about.css b/wp-admin/css/about.css index 44c85c8d..aad606fb 100644 --- a/wp-admin/css/about.css +++ b/wp-admin/css/about.css @@ -1,17 +1,30 @@ /*------------------------------------------------------------------------------ 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; } .about-wrap div.updated, -.about-wrap div.error { +.about-wrap div.error, +.about-wrap .notice { display: none !important; } @@ -25,10 +38,54 @@ .about-wrap img { margin: 0; max-width: 100%; + height: auto; vertical-align: middle; } -/* Typography */ +.about-wrap .jetpack-video-wrapper { + margin-bottom: 0; +} + +/* WordPress Version Badge */ + +.wp-badge { + background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat; + background-position: center 25px; + -webkit-background-size: 80px 80px; + background-size: 80px 80px; + color: #fff; + font-size: 14px; + text-align: center; + font-weight: 600; + margin: 5px 0 0; + padding-top: 120px; + height: 40px; + display: inline-block; + width: 140px; + text-rendering: optimizeLegibility; + -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); + box-shadow: 0 1px 3px rgba(0,0,0,0.2); +} + +.svg .wp-badge { + background-image: url(../images/wordpress-logo-white.svg?ver=20160308); +} + +.about-wrap .wp-badge { + position: absolute; + top: 0; + right: 0; +} + +/* Tabs */ + +.about-wrap .nav-tab { + padding-right: 15px; + padding-left: 15px; + font-size: 18px; +} + +/* 1.1 - Typography */ .about-wrap p { line-height: 1.6em; @@ -37,86 +94,115 @@ .about-wrap h1 { margin: 0.2em 200px 0 0; - color: #333; + padding: 0; + color: #32373c; line-height: 1.2em; font-size: 2.8em; font-weight: 400; } +.about-wrap h2 { + margin: 50px 0 1em; + font-size: 1.8em; + line-height: 1.3; + font-weight: 300; + text-align: center; +} + +.about-wrap .changelog h2, +.about-wrap h3 { + margin: 1.25em 0 .6em; + font-size: 1.25em; + line-height: 1.5em; +} + +.about-wrap .changelog h2 { + margin-top: 40px; + font-weight: 600; + text-align: left; +} + .about-wrap h4 { - color: #222; + color: #23282d; +} + +.about-wrap .changelog h3 { + margin: 1.33em 0; + font-size: 1em; + line-height: inherit; + color: #23282d; } -.about-wrap .about-text, -.about-wrap p.about-description, -.about-wrap li.wp-person a.web { +.about-wrap code, +.about-wrap ol li p { + font-size: 14px; font-weight: normal; - line-height: 1.6em; - font-size: 19px; } -.about-description { +.about-wrap .about-description, +.about-wrap .about-text { margin-top: 1.4em; + font-weight: normal; + line-height: 1.6em; + font-size: 19px; } -.about-text { +.about-wrap .about-text { margin: 1em 200px 1em 0; min-height: 60px; - color: #777; - font-size: 24px; + color: #555d66; } -.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; -} +/* 1.2 - Structure */ -.about-wrap h3 { - margin: 1em 0 .6em; - font-size: 1.5em; - line-height: 1.5em; +.about-wrap [class$=col] .col { + float: left; + position: relative; } -.customize h3 { - margin-top: 1.75em; - text-align: center; +.about-wrap .two-col .col { + margin-right: 4.799999999%; + width: 47.6%; } -.about-wrap .feature-section h4 { - margin: 1.4em 0 0.6em 0; - font-size: 1.2em; +.about-wrap .two-col img { + margin-bottom: 1.5em; } -.about-wrap .feature-section p { - margin-top: 0.6em; +.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 code, -.about-wrap ol li p { - font-size: 14px; +.about-wrap .three-col .col { + margin-right: 4.999999999%; + width: 29.95%; } -.about-wrap .button.button-large { - padding: 8px 20px 10px !important; - height: 46px !important; - font-size: 14px; - line-height: 28px !important; +.about-wrap .two-col .col:nth-of-type(2n), +.about-wrap .three-col .col:nth-of-type(3n) { + margin-right: 0; } -/* 3.8 Images */ +.about-wrap .under-the-hood { + clear: both; + overflow: hidden; +} -.about-wrap .about-overview-img { - margin: 0; +.about-wrap .under-the-hood:nth-of-type(2n) { + margin-top: 3em; } -/* Point Releases */ +/* 1.3 - Point Releases */ .about-wrap .point-releases { margin-top: 5px; - border-bottom: 1px solid #dfdfdf; + border-bottom: 1px solid #ddd; } .about-wrap .changelog.point-releases h3 { @@ -127,110 +213,111 @@ padding-top: 7px; } -/* WordPress Version Badge */ +/*------------------------------------------------------------------------------ + 2.0 - About Page +------------------------------------------------------------------------------*/ -.wp-badge { - background: #0074a2 url(../images/w-logo-white.png?ver=20131202) no-repeat; - background: #0074a2, url(../images/wordpress-logo-white.svg?ver=20131110) no-repeat; /* multiple backgrounds are ignored by browsers that don't support SVGs */ - background-position: center 24px; - -webkit-background-size: 85px 85px; - background-size: 85px 85px; - color: #78c8e6; - font-size: 14px; +/* 2.1 - Typography */ + +.about-wrap .headline-feature h2 { + margin: 30px 0 30px; + font-size: 2.2em; + font-weight: 300; + line-height: 1.3; text-align: center; - font-weight: 600; - margin: 5px 0 0; - padding-top: 120px; - height: 40px; - display: inline-block; - width: 150px; - text-rendering: optimizeLegibility; - -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); - box-shadow: 0 1px 3px rgba(0,0,0,0.2); } +.about-wrap .headline-feature h3 { + margin-top: 0; + text-align: left; +} -.about-wrap .wp-badge { - position: absolute; - top: 0; - right: 0; +.about-wrap .feature-section.two-col h3 { + margin-top: 0; } -/* Tabs */ +.about-wrap .feature-section h4 { + margin: 1.4em 0 0.6em 0; + font-size: 1em; +} -.about-wrap h2.nav-tab-wrapper { - padding-left: 6px; +.about-wrap .feature-section p { + margin-top: 0.6em; } -.about-wrap h2 .nav-tab { - padding: 4px 15px 6px; - margin: 0 3px -1px 0; - font-size: 18px; - vertical-align: top; - border-width: 1px; +.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; } -/* Changelog / Update screen */ +.about-wrap .two-col-text p:first-of-type { + margin-top: 0; +} -.about-overview { - margin-top: 40px; +/* 2.2 - Structure */ + +.about-wrap .headline-feature.feature-video { + position: relative; + margin: 40px 0; + padding-bottom: 56.25%; + width: 100%; + max-width: 100%; + height: 0; text-align: center; } -.about-overview .wp-video { - margin: 0 auto; +.about-wrap .feature-video embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; } -.changelog .wp-playlist .wp-playlist-current-item img { - height: 64px; - width: auto; - max-width: 100%; +.about-wrap .featured-image { + text-align: center; } .about-wrap .feature-section { - margin-top: 40px; - padding-bottom: 20px; + overflow: hidden; + padding: 0 0 40px; } -.about-wrap .feature-section.two-col > div { - position: relative; - width: 47.5%; - margin-right: 4.999999999%; - float: left; +.about-wrap .headline-feature { + margin: 0 auto; + max-width: 80%; } -.about-wrap .feature-section.three-col > div { - position: relative; - width: 29.95%; - margin-right: 4.999999999%; - float: left; +.about-wrap .feature-section .media-container { + overflow: hidden; } -.about-wrap .feature-section.col .last-feature { - margin-right: 0; +.about-wrap .embed-container { + text-align: center; } -.about-wrap .under-the-hood .feature-section { - margin-top: 0; +.about-wrap .embed-container iframe { + max-width: 100%; } -.about-wrap .changelog .feature-section { - overflow: hidden; +.about-wrap .wp-embedded-content { + max-width: 100%; } -.about-wrap .feature-section.two-col div p { - margin-right: 3%; +.about-wrap .feature-section .col { + margin-top: 40px; } -.about-wrap .feature-section div p img { - float: right; - margin-left: 10px; - max-width: 20%; +.about-wrap .changelog { + margin-bottom: 40px; } -.about-wrap .changelog li { - list-style-type: disc; - margin-left: 3em; +.about-wrap .changelog.feature-section .col { + margin-top: 40px; } /* Return to Dashboard Home link */ @@ -246,66 +333,73 @@ padding: 0 5px; } +/*------------------------------------------------------------------------------ + 3.0 - Credits & Freedoms Pages +------------------------------------------------------------------------------*/ + /* Credits */ -.about-wrap h4.wp-people-group { - margin-top: 2.6em; +.about-wrap h3.wp-people-group { + margin: 2.6em 0 1.33em; + padding: 0; font-size: 16px; + line-height: inherit; } -.about-wrap ul.wp-people-group { - overflow: hidden; +.about-wrap .wp-people-group { padding: 0 5px; margin: 0 -15px 0 -5px; } -.about-wrap ul.compact { +.about-wrap .compact { margin-bottom: 0 } -.about-wrap li.wp-person { - float: left; +.about-wrap .wp-person { + display: inline-block; + vertical-align: top; margin-right: 10px; + padding-bottom: 15px; + height: 70px; + width: 280px; +} + +.about-wrap .compact .wp-person { + height: auto; + width: 180px; + padding-bottom: 0; + margin-bottom: 0; } -.about-wrap li.wp-person img.gravatar { +.about-wrap .wp-person .gravatar { float: left; margin: 0 10px 10px 0; - padding: 2px; + padding: 1px; width: 60px; height: 60px; } -.about-wrap ul.compact li.wp-person img.gravatar { +.about-wrap .compact .wp-person .gravatar { width: 30px; height: 30px; } -/* @todo: combine this */ -.about-wrap li.wp-person { - height: 70px; - width: 280px; - padding-bottom: 15px; +.about-wrap .wp-person .web { + margin: 6px 0 2px; + font-size: 16px; + font-weight: normal; + line-height: 2em; + text-decoration: none; } -.about-wrap ul.compact li.wp-person { - height: auto; - width: 180px; - padding-bottom: 0; - margin-bottom: 0; +.about-wrap .wp-person .title { + display: block; } .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; - text-decoration: none; -} - .about-wrap p.wp-credits-list a { white-space: nowrap; } @@ -326,27 +420,21 @@ 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 { - width: 100%; - margin: 0 0 40px; - padding: 0 0 40px; - float: none; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); + .about-wrap .two-col-text { + -webkit-column-count: 1; + -moz-column-count: 1; + column-count: 1; } - .about-wrap .under-the-hood .feature-section > div, - .about-wrap .feature-section.col > div.last-feature { - margin: 0; - padding: 0; - border-bottom: none; + .about-wrap .three-col img { + display: block; + margin: 0 auto; } - } @media only screen and (max-width: 500px) { @@ -356,11 +444,11 @@ } .about-wrap h1, - .about-text { + .about-wrap .about-text { margin-right: 0; } - .about-text { + .about-wrap .about-text { margin-bottom: 0.25em; } @@ -370,19 +458,24 @@ width: 100%; } - .about-wrap .feature-section.three-col div { - width: 100%; - float: none; + .about-wrap .two-col .col, + .about-wrap .three-col .col { + width: 100% !important; + float: none !important; } - .about-wrap .three-col.about-updates .col-1 { - padding: 0; - float: none; + .about-wrap .under-the-hood.three-col .col, + .about-wrap .under-the-hood.two-col .col, + .about-wrap .under-the-hood.one-col .col { + margin-bottom: 2em; + padding-bottom: 0; } - .about-wrap .three-col.about-updates .col-2 { - margin: 0 0 20px; - width: 100%; - float: none; + .about-wrap .under-the-hood:nth-of-type(2n) { + margin-top: 0; } -} \ No newline at end of file + + .about-wrap .under-the-hood:nth-of-type(2n) h4 { + margin-top: 0; + } +}