mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 18:18:01 +01:00
6214f61cb1
This change introduces the new About page for WordPress 5.6. Props elmastudio, ryelle, melchoyce, karmatosed, webcommsat, marybaum, meher, OGlekler, lmurillom, vimes1984, sabrinazeidan, nalininonstopnewsuk, afshanadiya, michelleames, bmcdede, yvettesonneveld, sarahricker, isabel_brison, helen, hellofromtonya, poena, chanthaboune, cbringmann, joedolson, sabernhardt, garrett-eclipse, audrasjb, marks99. See #51415. Built from https://develop.svn.wordpress.org/trunk@49640 git-svn-id: http://core.svn.wordpress.org/trunk@49378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1428 lines
26 KiB
CSS
1428 lines
26 KiB
CSS
/*! This file is auto-generated */
|
|
/*------------------------------------------------------------------------------
|
|
22.0 - About 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
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.about__container {
|
|
/* Colors from Twenty Twenty-One, will be removed after 5.6 */
|
|
--global--color-green: #d1e4dd;
|
|
--global--color-blue: #d1dfe4;
|
|
--global--color-purple: #d1d1e4;
|
|
--global--color-red: #e4d1d1;
|
|
--global--color-orange: #e4dad1;
|
|
--global--color-yellow: #eeeadd;
|
|
|
|
/* Section backgrounds */
|
|
--background: #fff;
|
|
--subtle-background: var(--global--color-yellow);
|
|
|
|
/* Main text color */
|
|
--text: #000;
|
|
--text-light: #fff;
|
|
|
|
/* Accent colors: used in header, on special classes. */
|
|
--accent-1: var(--global--color-green); /* Accent background */
|
|
--accent-2: var(--text); /* Link color */
|
|
|
|
/* Navigation colors. */
|
|
--nav-background: var(--background);
|
|
--nav-border: #767676;
|
|
--nav-color: #767676;
|
|
--nav-current: #000;
|
|
}
|
|
|
|
/*------------------------------------------------------------------------------
|
|
1.0 - Global: About, Credits, Freedoms, Privacy
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.about-php,
|
|
.credits-php,
|
|
.freedoms-php,
|
|
.privacy-php {
|
|
background: #fff;
|
|
}
|
|
|
|
.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-right: 24px;
|
|
}
|
|
}
|
|
|
|
.about__container {
|
|
max-width: 1000px;
|
|
margin: 24px auto;
|
|
clear: both;
|
|
}
|
|
|
|
.about__container .alignleft {
|
|
float: right;
|
|
}
|
|
|
|
.about__container .alignright {
|
|
float: left;
|
|
}
|
|
|
|
.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: #fff;
|
|
background: var(--background);
|
|
clear: both;
|
|
}
|
|
|
|
.about__container .has-accent-background-color {
|
|
background-color: #d1e4dd;
|
|
background-color: var(--accent-1);
|
|
}
|
|
|
|
.about__container .has-transparent-background-color {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.about__container .has-accent-color {
|
|
color: #000;
|
|
color: var(--text);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.about__container .has-border {
|
|
border: 3px solid currentColor;
|
|
}
|
|
|
|
.about__container .has-subtle-background-color {
|
|
background-color: #eeeadd;
|
|
background-color: var(--subtle-background);
|
|
}
|
|
|
|
.about__container .has-background-image {
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
/* 1.1 - Layout */
|
|
|
|
.about__section {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.about__section .column {
|
|
padding: 32px;
|
|
}
|
|
|
|
.about__section + .about__section .column {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.about__section .column[class*="background-color"],
|
|
.about__section .column.has-border {
|
|
padding-top: 32px;
|
|
}
|
|
|
|
.about__section .column.is-edge-to-edge {
|
|
padding: 0;
|
|
}
|
|
|
|
.about__section .column p:first-of-type {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.about__section .column p:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.about__section .has-text-columns {
|
|
columns: 2;
|
|
column-gap: 64px;
|
|
}
|
|
|
|
.about__section .is-section-header {
|
|
margin-bottom: 0;
|
|
padding: 32px 32px 0;
|
|
}
|
|
|
|
.about__section .is-section-header p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Section header is alone in a container. */
|
|
.about__section .is-section-header:first-child:last-child {
|
|
padding: 0;
|
|
}
|
|
|
|
.about__section.is-feature {
|
|
padding: 32px;
|
|
}
|
|
|
|
.about__section.is-feature p {
|
|
margin: 0;
|
|
}
|
|
|
|
.about__section.is-feature p + p {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.about__section.has-1-column {
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
max-width: 36em;
|
|
}
|
|
|
|
.about__section.has-2-columns,
|
|
.about__section.has-3-columns,
|
|
.about__section.has-4-columns,
|
|
.about__section.has-overlap-style {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
}
|
|
|
|
.about__section.has-gutters {
|
|
gap: 16px;
|
|
}
|
|
|
|
.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,
|
|
.about__section.has-overlap-style .is-section-header ~ .column {
|
|
-ms-grid-row: 2;
|
|
grid-row-start: 2;
|
|
}
|
|
|
|
.about__section.has-overlap-style {
|
|
-ms-grid-columns: (1fr)[7];
|
|
grid-template-columns: repeat(7, 1fr);
|
|
}
|
|
|
|
.about__section.has-overlap-style .column {
|
|
-ms-grid-row: 1;
|
|
grid-row-start: 1;
|
|
}
|
|
|
|
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
-ms-grid-column-span: 3;
|
|
grid-column-end: span 3;
|
|
}
|
|
|
|
.about__section.has-overlap-style .column:nth-of-type(2n) {
|
|
-ms-grid-column: 4;
|
|
grid-column-start: 4;
|
|
-ms-grid-column-span: 3;
|
|
grid-column-end: span 3;
|
|
}
|
|
|
|
.about__section.has-overlap-style .column.is-top-layer {
|
|
z-index: 1;
|
|
}
|
|
|
|
@media screen and (max-width: 782px) {
|
|
.about__section.has-2-columns.is-wider-right,
|
|
.about__section.has-2-columns.is-wider-left,
|
|
.about__section.has-3-columns {
|
|
display: block;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.about__section.has-2-columns.has-gutters .column:last-child,
|
|
.about__section.has-2-columns.has-gutters .column:last-child,
|
|
.about__section.has-3-columns.has-gutters .column:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.about__section.has-3-columns .column:nth-of-type(n) {
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.about__section.has-4-columns {
|
|
-ms-grid-columns: (1fr)[2];
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.about__section.has-4-columns .column:nth-of-type(2n+1) {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
}
|
|
|
|
.about__section.has-4-columns .column:nth-of-type(2n) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
}
|
|
|
|
.about__section.has-4-columns .column:nth-of-type(4n+3),
|
|
.about__section.has-4-columns .column:nth-of-type(4n) {
|
|
-ms-grid-row: 2;
|
|
grid-row-start: 2;
|
|
}
|
|
|
|
.about__section.has-4-columns .is-section-header {
|
|
-ms-grid-column-span: 2;
|
|
grid-column-end: span 2;
|
|
}
|
|
|
|
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
|
|
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
|
|
-ms-grid-row: 3;
|
|
grid-row-start: 3;
|
|
}
|
|
|
|
.about__section.has-overlap-style {
|
|
-ms-grid-columns: 1fr;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
/* At this size, the two columns fully overlap */
|
|
.about__section.has-overlap-style .column.column {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
-ms-grid-column-span: 1;
|
|
grid-column-end: 2;
|
|
-ms-grid-row: 1;
|
|
grid-row-start: 1;
|
|
-ms-grid-row-span: 1;
|
|
grid-row-end: 2;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.about__section.has-2-columns {
|
|
display: block;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.about__section.has-2-columns.has-gutters .column {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.about__section.has-2-columns.has-gutters .column:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.about__section.has-2-columns .column:nth-of-type(n) {
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.about__section.has-4-columns {
|
|
display: block;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.about__section.has-4-columns.has-gutters .column {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.about__section.has-4-columns.has-gutters .column:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.about__section.has-4-columns .column:nth-of-type(n) {
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
}
|
|
}
|
|
|
|
/* 1.2 - Typography & Elements */
|
|
|
|
.about__container {
|
|
line-height: 1.4;
|
|
color: #000;
|
|
color: var(--text);
|
|
}
|
|
|
|
.about__container h1 {
|
|
margin: 0 0 1em;
|
|
padding: 0;
|
|
font-weight: 600;
|
|
color: inherit;
|
|
}
|
|
|
|
.about__container h1,
|
|
.about__container h2,
|
|
.about__container h3.is-larger-heading {
|
|
margin-top: 0;
|
|
margin-bottom: 0.5em;
|
|
font-size: 2.9em;
|
|
line-height: 1.2;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.about__container h3,
|
|
.about__container h2.is-smaller-heading {
|
|
margin-top: 0;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.about__container p {
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.about__section a {
|
|
color: #000;
|
|
color: var(--accent-2);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.about__section a:hover,
|
|
.about__section a:active,
|
|
.about__section a:focus {
|
|
color: #000;
|
|
color: var(--accent-2);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-credits-list a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wp-credits-list a:hover,
|
|
.wp-credits-list a:active,
|
|
.wp-credits-list a:focus {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.about__container ul {
|
|
list-style: disc;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.about__container img {
|
|
margin: 0;
|
|
max-width: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.about__container .about__image {
|
|
margin: 0;
|
|
}
|
|
|
|
.about__container .about__image img {
|
|
max-width: 100%;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.about__container .about__image .wp-video {
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.about__container .about__image + h3 {
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.about__container hr {
|
|
margin: 0;
|
|
height: 32px;
|
|
border: none;
|
|
}
|
|
|
|
.about__container hr.is-small {
|
|
height: 8px;
|
|
}
|
|
|
|
.about__container hr.is-large {
|
|
height: 64px;
|
|
width: 2px;
|
|
margin: 16px auto;
|
|
background: currentColor;
|
|
}
|
|
|
|
.about__container div.updated,
|
|
.about__container div.error,
|
|
.about__container .notice {
|
|
display: none !important;
|
|
}
|
|
|
|
.about__section {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.about__section.is-feature {
|
|
font-size: 1.6em;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.about__section.is-feature {
|
|
font-size: 1.4em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.about__container h1,
|
|
.about__container h2,
|
|
.about__container h3.is-larger-heading {
|
|
font-size: 2em;
|
|
}
|
|
}
|
|
|
|
/* 1.3 - Header */
|
|
|
|
.about__header {
|
|
margin-bottom: 32px;
|
|
padding-top: 3em;
|
|
background-color: #d1e4dd;
|
|
background-color: var(--accent-1);
|
|
color: #000;
|
|
color: var(--text);
|
|
}
|
|
|
|
.about__header-image {
|
|
margin: 0 32px 3em;
|
|
}
|
|
|
|
.about__header-container {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-ms-grid-columns: 3fr 1fr;
|
|
grid-template-columns: 3fr 1fr;
|
|
-ms-grid-rows: auto auto;
|
|
grid-template-rows: auto auto;
|
|
justify-items: start;
|
|
}
|
|
|
|
.about__header-title {
|
|
display: inline-block;
|
|
padding: 1em 0;
|
|
margin: 0 32px 4em;
|
|
text-align: center;
|
|
border-width: 3px 0;
|
|
border-style: solid;
|
|
border-color: currentColor;
|
|
-ms-grid-column: 1;
|
|
grid-column: 1;
|
|
-ms-grid-row: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.about__header-title p {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 6em;
|
|
line-height: 1;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.about__header-text {
|
|
margin: 0 32px 3em;
|
|
max-width: 13em;
|
|
font-size: 1.5em;
|
|
line-height: 1.4;
|
|
-ms-grid-column: 1;
|
|
grid-column: 1;
|
|
-ms-grid-row: 2;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.about__header-text p {
|
|
margin: 0;
|
|
}
|
|
|
|
.about__header-badge {
|
|
-ms-grid-column: 2;
|
|
grid-column: 2;
|
|
-ms-grid-row: 1;
|
|
-ms-grid-row-span: 2;
|
|
grid-row: 1 / span 2;
|
|
-ms-grid-row-align: center;
|
|
align-self: center;
|
|
}
|
|
|
|
.about__header-navigation {
|
|
clear: both;
|
|
padding-top: 0;
|
|
background: #fff;
|
|
background: var(--nav-background);
|
|
color: #767676;
|
|
color: var(--nav-color);
|
|
border-bottom: 3px solid #767676;
|
|
border-bottom: 3px solid var(--nav-border);
|
|
}
|
|
|
|
.about__header-navigation .nav-tab {
|
|
margin-right: 0;
|
|
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:hover,
|
|
.about__header-navigation .nav-tab:active {
|
|
background-color: #000;
|
|
background-color: var(--text);
|
|
color: #fff;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.about__header-navigation .nav-tab-active {
|
|
margin-bottom: -3px;
|
|
color: #000;
|
|
color: var(--nav-current);
|
|
border-width: 0 0 6px;
|
|
border-color: #000;
|
|
border-color: var(--nav-current);
|
|
}
|
|
|
|
.about__header-navigation .nav-tab-active:hover,
|
|
.about__header-navigation .nav-tab-active:active {
|
|
background-color: #000;
|
|
background-color: var(--text);
|
|
color: #fff;
|
|
color: var(--text-light);
|
|
border-color: #000;
|
|
border-color: var(--nav-current);
|
|
}
|
|
|
|
@media screen and (max-width: 782px) {
|
|
.about__container .about__header-text {
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
.about__header-container {
|
|
display: block;
|
|
}
|
|
|
|
.about__header-title,
|
|
.about__header-text,
|
|
.about__header-image,
|
|
.about__header-badge {
|
|
margin-right: 16px;
|
|
margin-left: 16px;
|
|
}
|
|
|
|
.about__header-text {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.about__header-badge {
|
|
margin-bottom: 3em;
|
|
}
|
|
|
|
.about__header-navigation .nav-tab {
|
|
margin-top: 0;
|
|
margin-left: 0;
|
|
padding: 24px 16px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.about__header-title p {
|
|
font-size: 3.2em;
|
|
}
|
|
|
|
.about__header-navigation .nav-tab {
|
|
float: none;
|
|
display: block;
|
|
margin-bottom: 0;
|
|
padding: 16px 16px;
|
|
border-right-width: 6px;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.about__header-navigation .nav-tab-active {
|
|
border-bottom: none;
|
|
border-right-width: 6px;
|
|
}
|
|
}
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
2.0 - Credits Page
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.about__section .wp-people-group {
|
|
margin: 0;
|
|
}
|
|
|
|
.about__section .wp-person {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
box-sizing: border-box;
|
|
padding: 0 0 1em 1em;
|
|
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: right;
|
|
margin: -4px 0 0.85em 0.85em;
|
|
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: 600;
|
|
text-decoration: none;
|
|
color: #000;
|
|
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;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
.about__section .compact .wp-person .web {
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
3.0 - Freedoms Page
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.about__section .column .freedoms-image {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
x.2.0 - Legacy About Styles: Global
|
|
------------------------------------------------------------------------------*/
|
|
|
|
.about-wrap {
|
|
position: relative;
|
|
margin: 25px 20px 0 40px;
|
|
max-width: 1050px; /* readability */
|
|
font-size: 15px;
|
|
}
|
|
|
|
.about-wrap.full-width-layout {
|
|
max-width: 1200px;
|
|
}
|
|
|
|
.about-wrap-content {
|
|
max-width: 1050px;
|
|
}
|
|
|
|
.about-wrap div.updated,
|
|
.about-wrap div.error,
|
|
.about-wrap .notice {
|
|
display: none !important;
|
|
}
|
|
|
|
.about-wrap hr {
|
|
border: 0;
|
|
height: 0;
|
|
margin: 3em 0 0;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.about-wrap img {
|
|
margin: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.about-wrap .inline-svg img {
|
|
max-width: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
|
|
.about-wrap video {
|
|
margin: 1.5em auto;
|
|
}
|
|
|
|
/* WordPress Version Badge */
|
|
|
|
.wp-badge {
|
|
background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
|
|
background-position: center 25px;
|
|
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;
|
|
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;
|
|
left: 0;
|
|
}
|
|
|
|
/* Tabs */
|
|
|
|
.about-wrap .nav-tab {
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
font-size: 18px;
|
|
line-height: 1.33333333;
|
|
}
|
|
|
|
/* x.2.1 - Typography */
|
|
|
|
.about-wrap h1 {
|
|
margin: 0.2em 0 0 200px;
|
|
padding: 0;
|
|
color: #32373c;
|
|
line-height: 1.2;
|
|
font-size: 2.8em;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.about-wrap h2 {
|
|
margin: 40px 0 0.6em;
|
|
font-size: 2.7em;
|
|
line-height: 1.3;
|
|
font-weight: 300;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-wrap h3 {
|
|
margin: 1.25em 0 0.6em;
|
|
font-size: 1.4em;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.about-wrap h4 {
|
|
font-size: 16px;
|
|
color: #23282d;
|
|
}
|
|
|
|
.about-wrap p {
|
|
line-height: 1.5;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.about-wrap code,
|
|
.about-wrap ol li p {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.about-wrap figcaption {
|
|
font-size: 13px;
|
|
text-align: center;
|
|
color: white;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.about-wrap .about-description,
|
|
.about-wrap .about-text {
|
|
margin-top: 1.4em;
|
|
font-weight: 400;
|
|
line-height: 1.6;
|
|
font-size: 19px;
|
|
}
|
|
|
|
.about-wrap .about-text {
|
|
margin: 1em 0 1em 200px;
|
|
color: #555d66;
|
|
}
|
|
|
|
/* x.2.2 - Structure */
|
|
|
|
.about-wrap .has-1-columns,
|
|
.about-wrap .has-2-columns,
|
|
.about-wrap .has-3-columns,
|
|
.about-wrap .has-4-columns {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
max-width: 800px;
|
|
margin-top: 40px;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.about-wrap .column {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.about-wrap .is-wide {
|
|
max-width: 760px;
|
|
}
|
|
|
|
.about-wrap .is-fullwidth {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.about-wrap .has-1-columns {
|
|
display: block;
|
|
max-width: 680px;
|
|
margin: 0 auto 40px;
|
|
}
|
|
|
|
.about-wrap .has-2-columns {
|
|
-ms-grid-columns: 1fr 1fr;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.about-wrap .has-2-columns .column:nth-of-type(2n+1) {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
}
|
|
|
|
.about-wrap .has-2-columns .column:nth-of-type(2n) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
}
|
|
|
|
.about-wrap .has-2-columns.is-wider-right {
|
|
-ms-grid-columns: 1fr 2fr;
|
|
grid-template-columns: 1fr 2fr;
|
|
}
|
|
|
|
.about-wrap .has-2-columns.is-wider-left {
|
|
-ms-grid-columns: 2fr 1fr;
|
|
grid-template-columns: 2fr 1fr;
|
|
}
|
|
|
|
.about-wrap .has-3-columns {
|
|
-ms-grid-columns: (1fr)[3];
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.about-wrap .has-3-columns .column:nth-of-type(3n+1) {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
}
|
|
|
|
.about-wrap .has-3-columns .column:nth-of-type(3n+2) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
}
|
|
|
|
.about-wrap .has-3-columns .column:nth-of-type(3n) {
|
|
-ms-grid-column: 3;
|
|
grid-column-start: 3;
|
|
}
|
|
|
|
.about-wrap .has-4-columns {
|
|
-ms-grid-columns: (1fr)[4];
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
}
|
|
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
}
|
|
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
|
|
-ms-grid-column: 3;
|
|
grid-column-start: 3;
|
|
}
|
|
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n) {
|
|
-ms-grid-column: 4;
|
|
grid-column-start: 4;
|
|
}
|
|
|
|
.about-wrap .column :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.about-wrap .aligncenter {
|
|
text-align: center;
|
|
}
|
|
|
|
.about-wrap .alignleft {
|
|
float: right;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
.about-wrap .alignright {
|
|
float: left;
|
|
margin-right: 40px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* x.2.3 - Point Releases */
|
|
|
|
.about-wrap .point-releases {
|
|
margin-top: 5px;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.about-wrap .changelog {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.about-wrap .changelog.point-releases h3 {
|
|
padding-top: 35px;
|
|
}
|
|
|
|
.about-wrap .changelog.point-releases h3:first-child {
|
|
padding-top: 7px;
|
|
}
|
|
|
|
.about-wrap .changelog.feature-section .col {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
/*------------------------------------------------------------------------------
|
|
x.3.0 - Legacy About Styles: About Page
|
|
------------------------------------------------------------------------------*/
|
|
|
|
/* x.3.1 - Typography */
|
|
|
|
.about-wrap .lead-description {
|
|
font-size: 1.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
.about-wrap .feature-section p {
|
|
margin-top: 0.6em;
|
|
}
|
|
|
|
/* x.3.2 - Structure */
|
|
|
|
.about-wrap .headline-feature {
|
|
margin: 0 auto 40px;
|
|
max-width: 680px;
|
|
}
|
|
|
|
.about-wrap .headline-feature h2 {
|
|
margin: 50px 0 0;
|
|
}
|
|
|
|
.about-wrap .headline-feature img {
|
|
max-width: 600px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Go to Dashboard Home link */
|
|
|
|
.about-wrap .return-to-dashboard {
|
|
margin: 30px -5px 0 0;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.about-wrap .return-to-dashboard a {
|
|
text-decoration: none;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
/*------------------------------------------------------------------------------
|
|
x.4.0 - Legacy About Styles: Credits & Freedoms Pages
|
|
------------------------------------------------------------------------------*/
|
|
|
|
/* Credits */
|
|
|
|
.about-wrap h2.wp-people-group {
|
|
margin: 2.6em 0 1.33em;
|
|
padding: 0;
|
|
font-size: 16px;
|
|
line-height: inherit;
|
|
font-weight: 600;
|
|
text-align: right;
|
|
}
|
|
|
|
.about-wrap .wp-people-group {
|
|
padding: 0 5px;
|
|
margin: 0 -5px 0 -15px;
|
|
}
|
|
|
|
.about-wrap .compact {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.about-wrap .wp-person {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
margin-left: 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 .wp-person .gravatar {
|
|
float: right;
|
|
margin: 0 0 10px 10px;
|
|
padding: 1px;
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.about-wrap .compact .wp-person .gravatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
|
|
.about-wrap .wp-person .web {
|
|
margin: 6px 0 2px;
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
line-height: 2;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.about-wrap .wp-person .title {
|
|
display: block;
|
|
}
|
|
|
|
.about-wrap #wp-people-group-validators + p.wp-credits-list {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.about-wrap p.wp-credits-list a {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Freedoms */
|
|
|
|
.freedoms-php .about-wrap ol {
|
|
margin: 40px 60px;
|
|
}
|
|
|
|
.freedoms-php .about-wrap ol li {
|
|
list-style-type: decimal;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.freedoms-php .about-wrap ol p {
|
|
font-weight: 400;
|
|
margin: 0.6em 0;
|
|
}
|
|
|
|
.freedoms-php .column .freedoms-image {
|
|
background-image: url('../images/freedoms.png');
|
|
background-size: 100%;
|
|
padding-top: 100%;
|
|
}
|
|
|
|
.freedoms-php .column:nth-of-type(2) .freedoms-image {
|
|
background-position: 100% 34%;
|
|
}
|
|
|
|
.freedoms-php .column:nth-of-type(3) .freedoms-image {
|
|
background-position: 100% 66%;
|
|
}
|
|
|
|
.freedoms-php .column:nth-of-type(4) .freedoms-image {
|
|
background-position: 100% 100%;
|
|
}
|
|
|
|
/*------------------------------------------------------------------------------
|
|
x.5.0 - Legacy About Styles: Media Queries
|
|
------------------------------------------------------------------------------*/
|
|
|
|
@media screen and (max-width: 782px) {
|
|
.about-wrap .has-3-columns,
|
|
.about-wrap .has-4-columns {
|
|
-ms-grid-columns: 1fr 1fr;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.about-wrap .has-3-columns .column:nth-of-type(3n+1),
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
-ms-grid-row: 1;
|
|
grid-row-start: 1;
|
|
}
|
|
|
|
.about-wrap .has-3-columns .column:nth-of-type(3n+2),
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
-ms-grid-row: 1;
|
|
grid-row-start: 1;
|
|
}
|
|
|
|
.about-wrap .has-3-columns .column:nth-of-type(3n),
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
|
|
-ms-grid-column: 1;
|
|
grid-column-start: 1;
|
|
-ms-grid-row: 2;
|
|
grid-row-start: 2;
|
|
}
|
|
|
|
.about-wrap .has-4-columns .column:nth-of-type(4n) {
|
|
-ms-grid-column: 2;
|
|
grid-column-start: 2;
|
|
-ms-grid-row: 2;
|
|
grid-row-start: 2;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.about-wrap .has-2-columns,
|
|
.about-wrap .has-3-columns,
|
|
.about-wrap .has-4-columns {
|
|
display: block;
|
|
}
|
|
|
|
.about-wrap :not(.is-wider-right):not(.is-wider-left) .column {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.about-wrap .has-2-columns.is-wider-right,
|
|
.about-wrap .has-2-columns.is-wider-left {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 500px) {
|
|
.about-wrap {
|
|
margin-left: 20px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.about-wrap h1,
|
|
.about-wrap .about-text {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.about-wrap .about-text {
|
|
margin-bottom: 0.25em;
|
|
}
|
|
|
|
.about-wrap .wp-badge {
|
|
position: relative;
|
|
margin-bottom: 1.5em;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
.about-wrap .has-2-columns.is-wider-right,
|
|
.about-wrap .has-2-columns.is-wider-left {
|
|
display: block;
|
|
}
|
|
|
|
.about-wrap .column {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.about-wrap .has-2-columns.is-wider-right img,
|
|
.about-wrap .has-2-columns.is-wider-left img {
|
|
max-width: 160px;
|
|
}
|
|
}
|