mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Help/About: Update the 5.3 About page for RC3.
Previously [46556], [46572]. Props ryelle, SergeyBiryukov, afercia, desrosj, davidbaumwald, azaozz. See #47708. git-svn-id: https://develop.svn.wordpress.org/trunk@46616 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+594
-17
@@ -1,18 +1,592 @@
|
||||
/*------------------------------------------------------------------------------
|
||||
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, Privacy
|
||||
1.1 Layout
|
||||
1.2 Typography & Elements
|
||||
1.3 Header
|
||||
2.0 Credits Page
|
||||
3.0 Freedoms Page
|
||||
x.2.0 Legacy About Styles: Global
|
||||
x.2.1 Typography
|
||||
x.2.2 Structure
|
||||
x.2.3 Point Releases
|
||||
x.3.0 Legacy About Styles: About Page
|
||||
x.3.1 Typography
|
||||
x.3.2 Structure
|
||||
x.4.0 Legacy About Styles: Credits & Freedoms Pages
|
||||
x.5.0 Legacy About Styles: Media Queries
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
:root {
|
||||
/* Beiges, used as text backgrounds. */
|
||||
--base-1: #FEFCF7;
|
||||
--base-2: #F4EFE1;
|
||||
--base-3: #D7D2C5;
|
||||
--base-4: #7B776C;
|
||||
--text: #413E38;
|
||||
/* Reds, used as accents, backgrounds, etc */
|
||||
--accent-1: #BD3854;
|
||||
--accent-2: #5F1B29;
|
||||
--accent-3: #321017;
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
1.0 - Global: About, Credits, Freedoms
|
||||
1.0 - Global: About, Credits, Freedoms, Privacy
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about-php #wpcontent,
|
||||
.credits-php #wpcontent,
|
||||
.freedoms-php #wpcontent,
|
||||
.privacy-php #wpcontent {
|
||||
background: white;
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about-php.auto-fold #wpcontent,
|
||||
.credits-php.auto-fold #wpcontent,
|
||||
.freedoms-php.auto-fold #wpcontent,
|
||||
.privacy-php.auto-fold #wpcontent {
|
||||
padding-left: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.about__container {
|
||||
max-width: 1000px;
|
||||
margin: 24px auto;
|
||||
}
|
||||
|
||||
.about__container .alignleft {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.about__container .alignright {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.about__container .aligncenter {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about__container .is-vertically-aligned-top {
|
||||
-ms-grid-row-align: start;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
.about__container .is-vertically-aligned-center {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.about__container .is-vertically-aligned-bottom {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
.about__section {
|
||||
background: #F4EFE1;
|
||||
background: var(--base-2);
|
||||
}
|
||||
|
||||
.about__container .has-accent-background-color {
|
||||
background-color: #BD3854;
|
||||
background-color: var(--accent-1);
|
||||
}
|
||||
|
||||
.about__container .has-subtle-background-color {
|
||||
background-color: #D7D2C5;
|
||||
background-color: var(--base-3);
|
||||
}
|
||||
|
||||
/* 1.1 - Layout */
|
||||
|
||||
.about__section {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about__section .column {
|
||||
padding: 32px;
|
||||
}
|
||||
|
||||
.about__section .column.is-edge-to-edge {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.about__section .column p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.about__section .is-section-header {
|
||||
margin-bottom: 0;
|
||||
padding: 32px 32px 0;
|
||||
}
|
||||
|
||||
.about__section.is-feature {
|
||||
padding: 32px;
|
||||
}
|
||||
|
||||
.about__section.is-feature p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns,
|
||||
.about__section.has-3-columns,
|
||||
.about__section.has-4-columns {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns {
|
||||
-ms-grid-columns: 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns.is-wider-right {
|
||||
-ms-grid-columns: 1fr 2fr;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns.is-wider-left {
|
||||
-ms-grid-columns: 2fr 1fr;
|
||||
grid-template-columns: 2fr 1fr;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns .is-section-header {
|
||||
-ms-grid-column: 1;
|
||||
grid-column-start: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
grid-column-end: span 2;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns .column:nth-of-type(2n+1) {
|
||||
-ms-grid-column: 1;
|
||||
grid-column-start: 1;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns .column:nth-of-type(2n) {
|
||||
-ms-grid-column: 2;
|
||||
grid-column-start: 2;
|
||||
}
|
||||
|
||||
.about__section.has-3-columns {
|
||||
-ms-grid-columns: (1fr)[3];
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
.about__section.has-3-columns .is-section-header {
|
||||
-ms-grid-column: 1;
|
||||
grid-column-start: 1;
|
||||
-ms-grid-column-span: 3;
|
||||
grid-column-end: span 3;
|
||||
}
|
||||
|
||||
.about__section.has-3-columns .column:nth-of-type(3n+1) {
|
||||
-ms-grid-column: 1;
|
||||
grid-column-start: 1;
|
||||
}
|
||||
|
||||
.about__section.has-3-columns .column:nth-of-type(3n+2) {
|
||||
-ms-grid-column: 2;
|
||||
grid-column-start: 2;
|
||||
}
|
||||
|
||||
.about__section.has-3-columns .column:nth-of-type(3n) {
|
||||
-ms-grid-column: 3;
|
||||
grid-column-start: 3;
|
||||
}
|
||||
|
||||
.about__section.has-4-columns {
|
||||
-ms-grid-columns: (1fr)[4];
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
|
||||
.about__section.has-4-columns .is-section-header {
|
||||
-ms-grid-column: 1;
|
||||
grid-column-start: 1;
|
||||
-ms-grid-column-span: 4;
|
||||
grid-column-end: span 4;
|
||||
}
|
||||
|
||||
.about__section.has-4-columns .column:nth-of-type(4n+1) {
|
||||
-ms-grid-column: 1;
|
||||
grid-column-start: 1;
|
||||
}
|
||||
|
||||
.about__section.has-4-columns .column:nth-of-type(4n+2) {
|
||||
-ms-grid-column: 2;
|
||||
grid-column-start: 2;
|
||||
}
|
||||
|
||||
.about__section.has-4-columns .column:nth-of-type(4n+3) {
|
||||
-ms-grid-column: 3;
|
||||
grid-column-start: 3;
|
||||
}
|
||||
|
||||
.about__section.has-4-columns .column:nth-of-type(4n) {
|
||||
-ms-grid-column: 4;
|
||||
grid-column-start: 4;
|
||||
}
|
||||
|
||||
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
|
||||
.about__section.has-2-columns .is-section-header ~ .column,
|
||||
.about__section.has-3-columns .is-section-header ~ .column,
|
||||
.about__section.has-4-columns .is-section-header ~ .column {
|
||||
-ms-grid-row: 2;
|
||||
grid-row-start: 2;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about__section.has-3-columns,
|
||||
.about__section.has-4-columns {
|
||||
display: block;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.about__section.has-3-columns .column:nth-of-type(n),
|
||||
.about__section.has-4-columns .column:nth-of-type(n) {
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.about__section.has-2-columns {
|
||||
display: flex; /* This is flex, not block, so we can use order below. */
|
||||
flex-wrap: wrap;
|
||||
align-content: stretch;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns .column:nth-of-type(n) {
|
||||
padding-top: 16px;
|
||||
padding-bottom: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.about__section.has-2-columns .is-edge-to-edge {
|
||||
order: -1;
|
||||
}
|
||||
}
|
||||
|
||||
/* 1.2 - Typography & Elements */
|
||||
|
||||
.about__container {
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about__container h1 {
|
||||
font-size: 5em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.about__container h2 {
|
||||
margin-top: 0;
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.about__container h3 {
|
||||
margin-top: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.about__container p {
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.about__container ul {
|
||||
list-style: disc;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
.about__container img {
|
||||
margin: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.about__container .about__image {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.about__container .about__image img {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about__container hr {
|
||||
margin: 0;
|
||||
height: 32px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.about__section {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.about__section.is-feature {
|
||||
font-size: 1.6em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about__container h1 {
|
||||
font-size: 4em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.about__container h1 {
|
||||
font-size: 3.2em;
|
||||
}
|
||||
|
||||
.about__section.is-feature {
|
||||
font-size: 1.4em;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
|
||||
/* 1.3 - Header */
|
||||
|
||||
.about__header {
|
||||
display: -ms-grid;
|
||||
display: grid;
|
||||
-ms-grid-columns: 1fr 1fr;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
-ms-grid-rows: 1fr 1fr;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
min-height: 28em;
|
||||
max-height: 36em;
|
||||
height: 90vh;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.about__header > div {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.about__header > div > * {
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
.about__header-title {
|
||||
-ms-grid-column: 1;
|
||||
grid-column: 1;
|
||||
-ms-grid-row: 1;
|
||||
-ms-grid-row-span: 2;
|
||||
grid-row: 1/span 2;
|
||||
padding: 32px;
|
||||
background-color: #BD3854;
|
||||
background-color: var(--accent-1);
|
||||
color: white;
|
||||
padding: 32px;
|
||||
}
|
||||
|
||||
.about__header-title h1 {
|
||||
padding: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.about__header-title h1 span {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
font-size: 1.2em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.about__header-badge {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 1;
|
||||
grid-row: 1;
|
||||
background-color: #5F1B29;
|
||||
background-color: var(--accent-2);
|
||||
margin: 0;
|
||||
padding: 32px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.about__header-badge img {
|
||||
align-self: flex-start;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.about__header-text {
|
||||
-ms-grid-column: 2;
|
||||
grid-column: 2;
|
||||
-ms-grid-row: 2;
|
||||
grid-row: 2;
|
||||
padding: 32px;
|
||||
background-color: #321017;
|
||||
background-color: var(--accent-3);
|
||||
color: white;
|
||||
font-size: 1.6em;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about__header-text p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.about__header-navigation {
|
||||
-ms-grid-column: 1;
|
||||
-ms-grid-column-span: 2;
|
||||
grid-column: 1/span 2;
|
||||
-ms-grid-row: 3;
|
||||
grid-row: 3;
|
||||
padding-top: 0;
|
||||
background: #FEFCF7;
|
||||
background: var(--base-1);
|
||||
color: #7B776C;
|
||||
color: var(--base-4);
|
||||
border-bottom: 3px solid currentColor;
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab {
|
||||
margin-left: 0;
|
||||
margin-bottom: -3px;
|
||||
padding: 24px 32px;
|
||||
font-size: 1.4em;
|
||||
line-height: 1;
|
||||
border-width: 0 0 3px;
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab-active {
|
||||
color: #BD3854;
|
||||
color: var(--accent-1);
|
||||
border-color: currentColor;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
.about__container .about__header-text {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
.about__header {
|
||||
display: block;
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.about__header-badge {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab {
|
||||
margin-top: 0;
|
||||
margin-right: 0;
|
||||
padding: 24px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 480px) {
|
||||
.about__header-navigation .nav-tab {
|
||||
float: none;
|
||||
display: block;
|
||||
margin-bottom: 0;
|
||||
padding: 16px 16px;
|
||||
border-left-width: 3px;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.about__header-navigation .nav-tab-active {
|
||||
border-bottom: none;
|
||||
border-left-width: 3px;
|
||||
background: #F4EFE1;
|
||||
background: var(--base-2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
2.0 - Credits Page
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about__section .wp-people-group-title {
|
||||
margin-bottom: 2em;
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.about__section .wp-people-group {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person {
|
||||
height: auto;
|
||||
width: calc( 25% - 4px );
|
||||
min-width: 220px;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.about__section .wp-person .gravatar {
|
||||
float: left;
|
||||
margin: -4px 0.85em 0.85em 0;
|
||||
padding: 1px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person .gravatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.about__section .wp-person .web {
|
||||
font-size: 1.4em;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
color: #413E38;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.about__section .wp-person .web:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.about__section .compact .wp-person .web {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.about__section .wp-person .title {
|
||||
display: block;
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
3.0 - Freedoms Page
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about__section .column .freedoms-image {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
x.2.0 - Legacy About Styles: Global
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about-wrap {
|
||||
@@ -98,7 +672,7 @@
|
||||
line-height: 1.33333333;
|
||||
}
|
||||
|
||||
/* 1.1 - Typography */
|
||||
/* x.2.1 - Typography */
|
||||
|
||||
.about-wrap h1 {
|
||||
margin: 0.2em 200px 0 0;
|
||||
@@ -159,7 +733,7 @@
|
||||
color: #555d66;
|
||||
}
|
||||
|
||||
/* 1.2 - Structure */
|
||||
/* x.2.2 - Structure */
|
||||
|
||||
.about-wrap .has-1-columns,
|
||||
.about-wrap .has-2-columns,
|
||||
@@ -281,18 +855,21 @@
|
||||
}
|
||||
|
||||
.about-wrap .is-vertically-aligned-top {
|
||||
-ms-grid-row-align: start;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
.about-wrap .is-vertically-aligned-center {
|
||||
-ms-grid-row-align: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.about-wrap .is-vertically-aligned-bottom {
|
||||
-ms-grid-row-align: end;
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
/* 1.3 - Point Releases */
|
||||
/* x.2.3 - Point Releases */
|
||||
|
||||
.about-wrap .point-releases {
|
||||
margin-top: 5px;
|
||||
@@ -316,10 +893,10 @@
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
2.0 - About Page
|
||||
x.3.0 - Legacy About Styles: About Page
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
/* 2.1 - Typography */
|
||||
/* x.3.1 - Typography */
|
||||
|
||||
.about-wrap .lead-description {
|
||||
font-size: 1.5em;
|
||||
@@ -330,7 +907,7 @@
|
||||
margin-top: 0.6em;
|
||||
}
|
||||
|
||||
/* 2.2 - Structure */
|
||||
/* x.3.2 - Structure */
|
||||
|
||||
.about-wrap .headline-feature {
|
||||
margin: 0 auto 40px;
|
||||
@@ -360,7 +937,7 @@
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
3.0 - Credits & Freedoms Pages
|
||||
x.4.0 - Legacy About Styles: Credits & Freedoms Pages
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
/* Credits */
|
||||
@@ -471,7 +1048,7 @@
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
4.0 - Media Queries
|
||||
x.5.0 - Legacy About Styles: Media Queries
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
@media screen and (max-width: 782px) {
|
||||
|
||||
Reference in New Issue
Block a user