mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Help/About: WordPress 5.8 About Page.
This is the start of the WordPress 5.8 about page, introducing new content and a first pass of the new style. Props chanthaboune, cbringmann, webcommsat, marybaum, melchoyce, shaunandrews, desrosj, ryelle, oglekler, yvettesonneveld, nalininonstopnewsuk, meher, femkreations, alanjacobmathew, courane01, annezazu, matveb, milana_cap, javiarce, ryokuhi, audrasjb. See #52775. git-svn-id: https://develop.svn.wordpress.org/trunk@51264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+147
-122
@@ -20,22 +20,24 @@
|
||||
|
||||
.about__container {
|
||||
/* Section backgrounds */
|
||||
--background: #fff;
|
||||
--subtle-background: #fde4bf;
|
||||
--background: transparent;
|
||||
--subtle-background: #def;
|
||||
|
||||
/* Main text color */
|
||||
--text: #00131c;
|
||||
--text: #000;
|
||||
--text-light: #fff;
|
||||
|
||||
/* Accent colors: used in header, on special classes. */
|
||||
--accent-1: #0a5b89; /* Accent background */
|
||||
--accent-2: #fde4bf; /* Heading subtitle */
|
||||
--accent-1: #3858e9; /* Accent background, link color */
|
||||
--accent-2: #2d46ba; /* Header background */
|
||||
|
||||
/* Navigation colors. */
|
||||
--nav-background: var(--background);
|
||||
--nav-border: #fcc36f;
|
||||
--nav-background: #fff;
|
||||
--nav-border: transparent;
|
||||
--nav-color: var(--text);
|
||||
--nav-current: #0a5b88;
|
||||
--nav-current: var(--accent-1);
|
||||
|
||||
--gap: 2rem;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
@@ -46,14 +48,14 @@
|
||||
.credits-php,
|
||||
.freedoms-php,
|
||||
.privacy-php {
|
||||
background: #fff;
|
||||
background: #f0f7ff;
|
||||
}
|
||||
|
||||
.about-php #wpcontent,
|
||||
.credits-php #wpcontent,
|
||||
.freedoms-php #wpcontent,
|
||||
.privacy-php #wpcontent {
|
||||
background: white;
|
||||
background: linear-gradient(180deg, #fff 50%, #f0f7ff 100%);
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
@@ -97,20 +99,16 @@
|
||||
}
|
||||
|
||||
.about__section {
|
||||
background: #fff;
|
||||
background: var(--background);
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.about__container .has-accent-background-color {
|
||||
background-color: #0a5b89;
|
||||
background-color: var(--accent-1);
|
||||
color: #fff;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.about__container .has-accent-background-color a {
|
||||
color: #fff;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
@@ -119,9 +117,7 @@
|
||||
}
|
||||
|
||||
.about__container .has-accent-color {
|
||||
color: #00131c;
|
||||
color: var(--text);
|
||||
font-weight: bold;
|
||||
color: var(--accent-1);
|
||||
}
|
||||
|
||||
.about__container .has-border {
|
||||
@@ -129,7 +125,6 @@
|
||||
}
|
||||
|
||||
.about__container .has-subtle-background-color {
|
||||
background-color: #fde4bf;
|
||||
background-color: var(--subtle-background);
|
||||
}
|
||||
|
||||
@@ -142,11 +137,11 @@
|
||||
/* 1.1 - Layout */
|
||||
|
||||
.about__section {
|
||||
margin: 0;
|
||||
margin: 0 0 var(--gap);
|
||||
}
|
||||
|
||||
.about__section .column {
|
||||
padding: 32px;
|
||||
padding: var(--gap);
|
||||
}
|
||||
|
||||
.about__section + .about__section .column {
|
||||
@@ -154,12 +149,12 @@
|
||||
}
|
||||
|
||||
.about__section + .about__section .is-section-header {
|
||||
padding-bottom: 32px;
|
||||
padding-bottom: var(--gap);
|
||||
}
|
||||
|
||||
.about__section .column[class*="background-color"],
|
||||
.about__section .column.has-border {
|
||||
padding-top: 32px;
|
||||
padding-top: var(--gap);
|
||||
}
|
||||
|
||||
.about__section .column.is-edge-to-edge {
|
||||
@@ -176,12 +171,12 @@
|
||||
|
||||
.about__section .has-text-columns {
|
||||
columns: 2;
|
||||
column-gap: 64px;
|
||||
column-gap: calc(var(--gap) * 2);
|
||||
}
|
||||
|
||||
.about__section .is-section-header {
|
||||
margin-bottom: 0;
|
||||
padding: 32px 32px 0;
|
||||
padding: var(--gap) var(--gap) 0;
|
||||
}
|
||||
|
||||
.about__section .is-section-header p:last-child {
|
||||
@@ -194,7 +189,7 @@
|
||||
}
|
||||
|
||||
.about__section.is-feature {
|
||||
padding: 32px;
|
||||
padding: var(--gap);
|
||||
}
|
||||
|
||||
.about__section.is-feature p {
|
||||
@@ -202,7 +197,7 @@
|
||||
}
|
||||
|
||||
.about__section.is-feature p + p {
|
||||
margin-top: 1rem;
|
||||
margin-top: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-1-column {
|
||||
@@ -219,7 +214,7 @@
|
||||
}
|
||||
|
||||
.about__section.has-gutters {
|
||||
gap: 16px;
|
||||
gap: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-2-columns {
|
||||
@@ -333,13 +328,13 @@
|
||||
.about__section.has-2-columns.is-wider-left,
|
||||
.about__section.has-3-columns {
|
||||
display: block;
|
||||
padding-bottom: 16px;
|
||||
padding-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-2-columns.has-gutters .column,
|
||||
.about__section.has-2-columns.has-gutters .column,
|
||||
.about__section.has-3-columns.has-gutters .column {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-2-columns.has-gutters .column:last-child,
|
||||
@@ -349,8 +344,8 @@
|
||||
}
|
||||
|
||||
.about__section.has-3-columns .column:nth-of-type(n) {
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
padding-top: calc(var(--gap) / 2);
|
||||
padding-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-4-columns {
|
||||
@@ -398,11 +393,11 @@
|
||||
@media screen and (max-width: 600px) {
|
||||
.about__section.has-2-columns {
|
||||
display: block;
|
||||
padding-bottom: 16px;
|
||||
padding-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-2-columns.has-gutters .column {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-2-columns.has-gutters .column:last-child {
|
||||
@@ -410,8 +405,8 @@
|
||||
}
|
||||
|
||||
.about__section.has-2-columns .column:nth-of-type(n) {
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
padding-top: calc(var(--gap) / 2);
|
||||
padding-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -422,11 +417,11 @@
|
||||
|
||||
.about__section.has-4-columns {
|
||||
display: block;
|
||||
padding-bottom: 16px;
|
||||
padding-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-4-columns.has-gutters .column {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__section.has-4-columns.has-gutters .column:last-child {
|
||||
@@ -434,8 +429,8 @@
|
||||
}
|
||||
|
||||
.about__section.has-4-columns .column:nth-of-type(n) {
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
padding-top: calc(var(--gap) / 2);
|
||||
padding-bottom: calc(var(--gap) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -443,14 +438,11 @@
|
||||
|
||||
.about__container {
|
||||
line-height: 1.4;
|
||||
color: #00131c;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.about__container h1 {
|
||||
margin: 0 0 1em;
|
||||
padding: 0;
|
||||
font-weight: 600;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@@ -459,17 +451,18 @@
|
||||
.about__container h3.is-larger-heading {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 2.9em;
|
||||
font-size: 2em;
|
||||
line-height: 1.2;
|
||||
font-weight: 400;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.about__container h3,
|
||||
.about__container h1.is-smaller-heading,
|
||||
.about__container h2.is-smaller-heading {
|
||||
margin-top: 0;
|
||||
font-size: 1.5em;
|
||||
font-weight: 700;
|
||||
font-size: 1.6em;
|
||||
line-height: 1.3;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.about__container p {
|
||||
@@ -478,7 +471,6 @@
|
||||
}
|
||||
|
||||
.about__section a {
|
||||
color: #0a5b89;
|
||||
color: var(--accent-1);
|
||||
text-decoration: underline;
|
||||
}
|
||||
@@ -486,7 +478,6 @@
|
||||
.about__section a:hover,
|
||||
.about__section a:active,
|
||||
.about__section a:focus {
|
||||
color: #0a5b89;
|
||||
color: var(--accent-1);
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -503,7 +494,7 @@
|
||||
|
||||
.about__container ul {
|
||||
list-style: disc;
|
||||
margin-left: 16px;
|
||||
margin-left: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__container img {
|
||||
@@ -561,7 +552,6 @@
|
||||
|
||||
.about__container .about__image-comparison.no-js .about__image-comparison-resize {
|
||||
overflow: hidden;
|
||||
border-right: 2px solid #007cba;
|
||||
border-right: 2px solid var(--wp-admin-theme-color);
|
||||
}
|
||||
|
||||
@@ -579,17 +569,17 @@
|
||||
|
||||
.about__container hr {
|
||||
margin: 0;
|
||||
height: 32px;
|
||||
height: var(--gap);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.about__container hr.is-small {
|
||||
height: 8px;
|
||||
height: calc(var(--gap) / 4);
|
||||
}
|
||||
|
||||
.about__container hr.is-large {
|
||||
height: 64px;
|
||||
margin: 16px auto;
|
||||
height: calc(var(--gap) * 2);
|
||||
margin: calc(var(--gap) / 2) auto;
|
||||
}
|
||||
|
||||
.about__container div.updated,
|
||||
@@ -621,62 +611,66 @@
|
||||
/* 1.3 - Header */
|
||||
|
||||
.about__header {
|
||||
margin-bottom: 32px;
|
||||
padding-top: 3em;
|
||||
background-position: bottom center;
|
||||
margin-bottom: var(--gap);
|
||||
padding-top: 0;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-image: url('../images/about-header-brushes.svg');
|
||||
background-color: #0a5b89;
|
||||
background-color: var(--accent-1);
|
||||
color: #fff;
|
||||
background-image: url('../images/about-header-about.svg');
|
||||
background-color: var(--accent-2);
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.credits-php .about__header {
|
||||
background-image: url('../images/about-header-credits.svg');
|
||||
}
|
||||
|
||||
.freedoms-php .about__header {
|
||||
background-image: url('../images/about-header-freedoms.svg');
|
||||
}
|
||||
|
||||
.privacy-php .about__header {
|
||||
background-image: url('../images/about-header-privacy.svg');
|
||||
}
|
||||
|
||||
.about__header-image {
|
||||
margin: 0 32px 3em;
|
||||
margin: 0 var(--gap) 3em;
|
||||
}
|
||||
|
||||
.about__header-title {
|
||||
padding: 1em 0;
|
||||
margin: 0 32px;
|
||||
text-align: center;
|
||||
padding: 2rem 0 0;
|
||||
margin: 0 2rem;
|
||||
}
|
||||
|
||||
.about__header-title p {
|
||||
margin: 0;
|
||||
.about__header-title h1 {
|
||||
margin: 0 0 0.5rem;
|
||||
padding: 0;
|
||||
font-size: 6em;
|
||||
font-size: 4.5rem;
|
||||
line-height: 1;
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.about__header-text {
|
||||
max-width: 25em;
|
||||
margin: 0 auto 8em;
|
||||
padding: 0 16px;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.4;
|
||||
color: #fde4bf;
|
||||
color: var(--accent-2);
|
||||
text-align: center;
|
||||
max-width: 42rem;
|
||||
margin: 0 0 5em;
|
||||
padding: 0 2rem;
|
||||
font-size: 2rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.about__header-navigation {
|
||||
clear: both;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding-top: 0;
|
||||
background: #fff;
|
||||
background: var(--nav-background);
|
||||
color: #00131c;
|
||||
color: var(--nav-color);
|
||||
border-bottom: 3px solid #fcc36f;
|
||||
border-bottom: 3px solid var(--nav-border);
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab {
|
||||
margin-left: 0;
|
||||
padding: 24px 32px;
|
||||
padding: calc(var(--gap) * 0.75) var(--gap);
|
||||
float: none;
|
||||
font-size: 1.4em;
|
||||
line-height: 1;
|
||||
border-width: 0 0 3px;
|
||||
@@ -688,33 +682,26 @@
|
||||
|
||||
.about__header-navigation .nav-tab:hover,
|
||||
.about__header-navigation .nav-tab:active {
|
||||
background-color: #0a5b88;
|
||||
background-color: var(--nav-current);
|
||||
color: #fff;
|
||||
color: var(--text-light);
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab-active {
|
||||
margin-bottom: -3px;
|
||||
color: #0a5b88;
|
||||
color: var(--nav-current);
|
||||
border-width: 0 0 6px;
|
||||
border-color: #0a5b88;
|
||||
border-color: var(--nav-current);
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab-active:hover,
|
||||
.about__header-navigation .nav-tab-active:active {
|
||||
background-color: #0a5b88;
|
||||
background-color: var(--nav-current);
|
||||
color: #fff;
|
||||
color: var(--text-light);
|
||||
border-color: #0a5b88;
|
||||
border-color: var(--nav-current);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 960px){
|
||||
.about__header-title p {
|
||||
.about__header-title h1 {
|
||||
font-size: 4.8em;
|
||||
}
|
||||
}
|
||||
@@ -730,22 +717,20 @@
|
||||
|
||||
.about__header-title,
|
||||
.about__header-image {
|
||||
margin-left: 16px;
|
||||
margin-right: 16px;
|
||||
margin-left: calc(var(--gap) / 2);
|
||||
margin-right: calc(var(--gap) / 2);
|
||||
}
|
||||
|
||||
.about__header-text,
|
||||
.about__header-navigation .nav-tab {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
padding: 24px 16px;
|
||||
padding-left: calc(var(--gap) / 2);
|
||||
padding-right: calc(var(--gap) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.about__header {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.about__header-title p {
|
||||
font-size: 2.4em;
|
||||
}
|
||||
@@ -754,11 +739,14 @@
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.about__header-navigation {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab {
|
||||
float: none;
|
||||
display: block;
|
||||
margin-bottom: 0;
|
||||
padding: 16px 16px;
|
||||
padding: calc(var(--gap) / 2);
|
||||
border-left-width: 6px;
|
||||
border-bottom: none;
|
||||
}
|
||||
@@ -774,47 +762,59 @@
|
||||
2.0 - Credits Page
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about__section .wp-people-group-title {
|
||||
margin-bottom: calc(var(--gap) * 2);
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.about__section .wp-people-group {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.about__section .wp-person {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
box-sizing: border-box;
|
||||
padding: 0 1em 1em 0;
|
||||
height: 6em;
|
||||
width: calc( 33% - 4px );
|
||||
min-width: 280px;
|
||||
margin-bottom: var(--gap);
|
||||
width: 25%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person {
|
||||
height: auto;
|
||||
width: calc( 25% - 4px );
|
||||
min-width: 220px;
|
||||
padding-bottom: 0.5em;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.about__section .wp-person-avatar {
|
||||
display: block;
|
||||
margin: 0 auto calc(var(--gap) / 2);
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
border-radius: 100%;
|
||||
overflow: hidden;
|
||||
background: var(--accent-1);
|
||||
}
|
||||
|
||||
.about__section .wp-person .gravatar {
|
||||
float: left;
|
||||
margin: -4px 0.85em 0.85em 0;
|
||||
padding: 1px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 100%;
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
filter: grayscale(100%);
|
||||
mix-blend-mode: screen;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person-avatar,
|
||||
.about__section .compact .wp-person .gravatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.about__section .wp-person .web {
|
||||
font-size: 1.4em;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
color: #00131c;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.about__section .wp-person .web:hover {
|
||||
@@ -830,16 +830,41 @@
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about__section .wp-person {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.about__section .wp-person-avatar,
|
||||
.about__section .wp-person .gravatar {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.about__section .wp-person {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person {
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.about__section .wp-person .web {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.about__section .wp-person {
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.about__section .wp-person .gravatar {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.about__section .wp-person .web {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user