kollapsminoriteten/wp-admin/css/about.css

1398 lines
26 KiB
CSS
Raw Normal View History

2019-11-02 10:38:58 +01:00
/*------------------------------------------------------------------------------
22.0 - About Pages
2023-09-26 10:33:34 +02:00
1.0 Global: About, Credits, Freedoms, Privacy, Get Involved
2019-11-15 22:59:44 +01:00
1.1 Layout
1.2 Typography & Elements
1.3 Header
2.0 Credits Page
3.0 Freedoms Page
2022-12-15 17:47:31 +01:00
4.0 Privacy Page
2019-11-15 22:59:44 +01:00
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
2019-11-02 10:38:58 +01:00
------------------------------------------------------------------------------*/
2019-11-15 22:59:44 +01:00
.about__container {
/* Section backgrounds */
2023-09-26 10:33:34 +02:00
--background: #151515;
2022-12-15 17:47:31 +01:00
--subtle-background: #eff2ff;
2020-12-10 14:06:04 +01:00
2019-11-15 22:59:44 +01:00
/* Main text color */
2023-09-26 10:33:34 +02:00
--text: #1e1e1e;
2020-12-10 14:06:04 +01:00
--text-light: #fff;
2020-09-15 14:29:22 +02:00
/* Accent colors: used in header, on special classes. */
2023-09-26 10:33:34 +02:00
--accent-1: #3858e9; /* Link color */
--accent-2: #c7b9f2; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
2020-12-10 14:06:04 +01:00
2019-11-15 22:59:44 +01:00
/* Navigation colors. */
2021-07-23 11:58:50 +02:00
--nav-background: #fff;
--nav-border: transparent;
2021-04-27 08:32:47 +02:00
--nav-color: var(--text);
2021-07-23 11:58:50 +02:00
--nav-current: var(--accent-1);
--gap: 2rem;
2019-11-15 22:59:44 +01:00
}
/*------------------------------------------------------------------------------
2023-09-26 10:33:34 +02:00
1.0 - Global: About, Credits, Freedoms, Privacy, Get Involved
2019-11-15 22:59:44 +01:00
------------------------------------------------------------------------------*/
.about-php,
.credits-php,
.freedoms-php,
2023-09-26 10:33:34 +02:00
.privacy-php,
.contribute-php {
2022-06-16 14:03:35 +02:00
background: #fff;
2019-11-15 22:59:44 +01:00
}
.about-php #wpcontent,
.credits-php #wpcontent,
.freedoms-php #wpcontent,
2023-09-26 10:33:34 +02:00
.privacy-php #wpcontent,
.contribute-php #wpcontent {
2022-06-16 14:03:35 +02:00
background: #fff;
2019-11-15 22:59:44 +01:00
padding: 0 24px;
}
@media screen and (max-width: 782px) {
.about-php.auto-fold #wpcontent,
.credits-php.auto-fold #wpcontent,
.freedoms-php.auto-fold #wpcontent,
2023-09-26 10:33:34 +02:00
.privacy-php.auto-fold #wpcontent,
.contribute-php.auto-fold #wpcontent {
2019-11-15 22:59:44 +01:00
padding-left: 24px;
}
}
.about__container {
max-width: 1000px;
margin: 24px auto;
clear: both;
}
.about__container .alignleft {
float: left;
}
.about__container .alignright {
float: right;
}
.about__container .aligncenter {
text-align: center;
}
.about__container .is-vertically-aligned-top {
align-self: start;
}
.about__container .is-vertically-aligned-center {
align-self: center;
}
.about__container .is-vertically-aligned-bottom {
align-self: end;
}
.about__section {
2022-12-15 17:47:31 +01:00
background: transparent;
2020-05-06 17:23:38 +02:00
clear: both;
2019-11-15 22:59:44 +01:00
}
.about__container .has-accent-background-color {
2022-12-15 17:47:31 +01:00
background-color: var(--accent-2);
2019-11-15 22:59:44 +01:00
}
2020-09-15 14:29:22 +02:00
.about__container .has-transparent-background-color {
background-color: transparent;
}
.about__container .has-accent-color {
2022-12-15 17:47:31 +01:00
color: var(--accent-2);
2020-12-10 14:06:04 +01:00
}
.about__container .has-border {
border: 3px solid currentColor;
2020-09-15 14:29:22 +02:00
}
2019-11-15 22:59:44 +01:00
.about__container .has-subtle-background-color {
background-color: var(--subtle-background);
2020-12-10 14:06:04 +01:00
}
.about__container .has-background-image {
background-size: contain;
background-repeat: no-repeat;
background-position: center;
2019-11-15 22:59:44 +01:00
}
/* 1.1 - Layout */
.about__section {
2022-12-15 17:47:31 +01:00
margin: 0;
2019-11-15 22:59:44 +01:00
}
2022-04-02 10:26:41 +02:00
.about__section .column:not(.is-edge-to-edge) {
2021-07-23 11:58:50 +02:00
padding: var(--gap);
2019-11-15 22:59:44 +01:00
}
2021-04-27 08:32:47 +02:00
.about__section + .about__section .is-section-header {
2021-07-23 11:58:50 +02:00
padding-bottom: var(--gap);
2021-04-27 08:32:47 +02:00
}
2022-12-15 17:47:31 +01:00
.about__section .column[class*="background-color"]:not(.is-edge-to-edge),
.about__section:where([class*="background-color"]) .column:not(.is-edge-to-edge),
.about__section .column.has-border:not(.is-edge-to-edge) {
2021-07-23 11:58:50 +02:00
padding-top: var(--gap);
2022-04-02 10:26:41 +02:00
padding-bottom: var(--gap);
2019-11-15 22:59:44 +01:00
}
2020-05-06 17:23:38 +02:00
.about__section .column p:first-of-type {
margin-top: 0;
}
2019-11-15 22:59:44 +01:00
.about__section .column p:last-of-type {
margin-bottom: 0;
}
2020-09-15 14:29:22 +02:00
.about__section .has-text-columns {
columns: 2;
2021-07-23 11:58:50 +02:00
column-gap: calc(var(--gap) * 2);
2020-09-15 14:29:22 +02:00
}
2019-11-15 22:59:44 +01:00
.about__section .is-section-header {
margin-bottom: 0;
2021-07-23 11:58:50 +02:00
padding: var(--gap) var(--gap) 0;
2019-11-15 22:59:44 +01:00
}
2020-09-15 14:29:22 +02:00
.about__section .is-section-header p:last-child {
margin-bottom: 0;
}
2020-05-06 17:23:38 +02:00
/* Section header is alone in a container. */
.about__section .is-section-header:first-child:last-child {
padding: 0;
}
2019-11-15 22:59:44 +01:00
.about__section.is-feature {
2021-07-23 11:58:50 +02:00
padding: var(--gap);
2019-11-15 22:59:44 +01:00
}
.about__section.is-feature p {
margin: 0;
}
2020-05-06 17:23:38 +02:00
.about__section.is-feature p + p {
2021-07-23 11:58:50 +02:00
margin-top: calc(var(--gap) / 2);
2020-05-06 17:23:38 +02:00
}
2020-09-15 14:29:22 +02:00
.about__section.has-1-column {
margin-left: auto;
margin-right: auto;
max-width: 36em;
}
2019-11-15 22:59:44 +01:00
.about__section.has-2-columns,
.about__section.has-3-columns,
2020-12-10 14:06:04 +01:00
.about__section.has-4-columns,
.about__section.has-overlap-style {
2019-11-15 22:59:44 +01:00
display: grid;
}
2020-12-10 14:06:04 +01:00
.about__section.has-gutters {
2022-04-02 10:26:41 +02:00
gap: var(--gap);
2022-12-15 17:47:31 +01:00
margin-bottom: var(--gap);
2020-12-10 14:06:04 +01:00
}
2019-11-15 22:59:44 +01:00
.about__section.has-2-columns {
grid-template-columns: 1fr 1fr;
}
.about__section.has-2-columns.is-wider-right {
2022-04-02 10:26:41 +02:00
grid-template-columns: 2fr 3fr;
2019-11-15 22:59:44 +01:00
}
.about__section.has-2-columns.is-wider-left {
2022-04-02 10:26:41 +02:00
grid-template-columns: 3fr 2fr;
2019-11-15 22:59:44 +01:00
}
2023-04-26 17:39:43 +02:00
.about__section .is-section-header {
2019-11-15 22:59:44 +01:00
grid-column-start: 1;
2023-04-26 17:39:43 +02:00
grid-column-end: -1;
2019-11-15 22:59:44 +01:00
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
2020-12-10 14:06:04 +01:00
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
.about__section.has-overlap-style .column {
grid-row-start: 1;
}
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column.is-top-layer {
z-index: 1;
}
2019-11-15 22:59:44 +01:00
@media screen and (max-width: 782px) {
2020-09-15 14:29:22 +02:00
.about__section.has-2-columns.is-wider-right,
.about__section.has-2-columns.is-wider-left,
2020-12-10 14:06:04 +01:00
.about__section.has-3-columns {
2019-11-15 22:59:44 +01:00
display: block;
2022-04-02 10:26:41 +02:00
margin-bottom: calc(var(--gap) / 2);
}
.about__section .column:not(.is-edge-to-edge) {
padding-top: var(--gap);
padding-bottom: var(--gap);
}
.about__section.has-2-columns.has-gutters.is-wider-right,
.about__section.has-2-columns.has-gutters.is-wider-left,
.about__section.has-3-columns.has-gutters {
margin-bottom: calc(var(--gap) * 2);
2019-11-15 22:59:44 +01:00
}
2020-12-10 14:06:04 +01:00
.about__section.has-2-columns.has-gutters .column,
.about__section.has-2-columns.has-gutters .column,
.about__section.has-3-columns.has-gutters .column {
2022-04-02 10:26:41 +02:00
margin-bottom: var(--gap);
2020-12-10 14:06:04 +01:00
}
.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) {
2021-07-23 11:58:50 +02:00
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
2019-11-15 22:59:44 +01:00
}
2020-12-10 14:06:04 +01:00
.about__section.has-4-columns {
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
grid-column-end: 2;
grid-row-start: 1;
grid-row-end: 2;
}
2019-11-15 22:59:44 +01:00
}
@media screen and (max-width: 600px) {
.about__section.has-2-columns {
2020-12-10 14:06:04 +01:00
display: block;
2022-04-02 10:26:41 +02:00
margin-bottom: var(--gap);
}
.about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) {
padding-top: calc(var(--gap) / 2);
2021-07-23 11:58:50 +02:00
padding-bottom: calc(var(--gap) / 2);
2019-11-15 22:59:44 +01:00
}
2022-04-02 10:26:41 +02:00
.about__section.has-2-columns.has-gutters {
margin-bottom: calc(var(--gap) * 2);
}
2020-12-10 14:06:04 +01:00
.about__section.has-2-columns.has-gutters .column {
2022-04-02 10:26:41 +02:00
margin-bottom: var(--gap);
2020-12-10 14:06:04 +01:00
}
.about__section.has-2-columns.has-gutters .column:last-child {
margin-bottom: 0;
}
}
@media screen and (max-width: 480px) {
2021-04-27 08:32:47 +02:00
.about__section.is-feature .column {
padding: 0;
}
2020-12-10 14:06:04 +01:00
.about__section.has-4-columns {
display: block;
2021-07-23 11:58:50 +02:00
padding-bottom: calc(var(--gap) / 2);
2020-12-10 14:06:04 +01:00
}
.about__section.has-4-columns.has-gutters .column {
2021-07-23 11:58:50 +02:00
margin-bottom: calc(var(--gap) / 2);
2020-12-10 14:06:04 +01:00
}
2019-11-15 22:59:44 +01:00
2020-12-10 14:06:04 +01:00
.about__section.has-4-columns.has-gutters .column:last-child {
margin-bottom: 0;
}
.about__section.has-4-columns .column:nth-of-type(n) {
2021-07-23 11:58:50 +02:00
padding-top: calc(var(--gap) / 2);
padding-bottom: calc(var(--gap) / 2);
2019-11-15 22:59:44 +01:00
}
}
/* 1.2 - Typography & Elements */
.about__container {
line-height: 1.4;
2020-12-10 14:06:04 +01:00
color: var(--text);
2019-11-15 22:59:44 +01:00
}
.about__container h1 {
2020-05-06 17:23:38 +02:00
padding: 0;
color: inherit;
2019-11-15 22:59:44 +01:00
}
2020-05-06 17:23:38 +02:00
.about__container h1,
2020-12-10 14:06:04 +01:00
.about__container h2,
.about__container h3.is-larger-heading {
2019-11-15 22:59:44 +01:00
margin-top: 0;
2020-12-10 14:06:04 +01:00
margin-bottom: 0.5em;
2022-06-16 14:03:35 +02:00
font-size: 2rem;
2021-07-23 11:58:50 +02:00
font-weight: 700;
2022-06-16 14:03:35 +02:00
line-height: 1.16;
2019-11-15 22:59:44 +01:00
}
2020-05-06 17:23:38 +02:00
.about__container h3,
2021-04-27 08:32:47 +02:00
.about__container h1.is-smaller-heading,
2020-05-06 17:23:38 +02:00
.about__container h2.is-smaller-heading {
2019-11-15 22:59:44 +01:00
margin-top: 0;
2022-06-16 14:03:35 +02:00
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
2019-11-15 22:59:44 +01:00
}
2022-12-15 17:47:31 +01:00
.about__container h4,
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
2023-04-26 17:39:43 +02:00
font-weight: 600;
2022-12-15 17:47:31 +01:00
line-height: 1.6;
}
2019-11-15 22:59:44 +01:00
.about__container p {
font-size: inherit;
line-height: inherit;
}
2022-04-02 10:26:41 +02:00
.about__container p.is-subheading {
margin-top: 0;
2022-06-16 14:03:35 +02:00
font-size: 1.5rem;
font-weight: 300;
line-height: 160%;
2022-04-02 10:26:41 +02:00
}
2020-01-26 12:53:20 +01:00
.about__section a {
2021-04-27 08:32:47 +02:00
color: var(--accent-1);
2020-01-26 12:53:20 +01:00
text-decoration: underline;
}
2019-11-15 22:59:44 +01:00
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
2021-04-27 08:32:47 +02:00
color: var(--accent-1);
2020-01-26 12:53:20 +01:00
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;
2019-11-15 22:59:44 +01:00
}
.about__container ul {
list-style: disc;
2021-07-23 11:58:50 +02:00
margin-left: calc(var(--gap) / 2);
2019-11-15 22:59:44 +01:00
}
2022-06-16 14:03:35 +02:00
.about__container li {
2022-12-15 17:47:31 +01:00
margin-bottom: 0.5rem;
2022-06-16 14:03:35 +02:00
}
2019-11-15 22:59:44 +01:00
.about__container img {
margin: 0;
2020-09-15 14:29:22 +02:00
max-width: 100%;
2019-11-15 22:59:44 +01:00
vertical-align: middle;
}
.about__container .about__image {
2020-09-15 14:29:22 +02:00
margin: 0;
2019-11-15 22:59:44 +01:00
}
.about__container .about__image img {
max-width: 100%;
width: 100%;
height: auto;
}
2021-04-27 08:32:47 +02:00
.about__container .about__image figcaption {
margin-top: 0.5em;
text-align: center;
}
2020-09-15 14:29:22 +02:00
.about__container .about__image .wp-video {
margin-left: auto;
margin-right: auto;
}
2023-04-26 17:39:43 +02:00
.about__container .about__image svg {
vertical-align: middle;
}
2020-09-15 14:29:22 +02:00
.about__container .about__image + h3 {
margin-top: 1.5em;
}
2019-11-15 22:59:44 +01:00
.about__container hr {
2023-09-26 10:33:34 +02:00
margin: calc(var(--gap) / 2) var(--gap);
height: 0;
2019-11-15 22:59:44 +01:00
border: none;
2023-09-26 10:33:34 +02:00
border-top: 4px solid var(--accent-3);
2019-11-15 22:59:44 +01:00
}
2020-05-06 17:23:38 +02:00
.about__container hr.is-small {
2023-09-26 10:33:34 +02:00
margin-top: 0;
margin-bottom: 0;
2020-05-06 17:23:38 +02:00
}
2020-12-10 14:06:04 +01:00
.about__container hr.is-large {
2023-09-26 10:33:34 +02:00
margin: var(--gap) auto;
2020-12-10 14:06:04 +01:00
}
2019-11-15 22:59:44 +01:00
.about__container div.updated,
.about__container div.error,
.about__container .notice {
display: none !important;
}
.about__section {
2022-06-16 14:03:35 +02:00
font-size: 1.125rem;
line-height: 1.55;
2019-11-15 22:59:44 +01:00
}
.about__section.is-feature {
font-size: 1.6em;
}
2023-04-26 17:39:43 +02:00
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
2019-11-15 22:59:44 +01:00
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
}
2020-12-10 14:06:04 +01:00
.about__container h1,
.about__container h2,
.about__container h3.is-larger-heading {
font-size: 2em;
}
2019-11-15 22:59:44 +01:00
}
/* 1.3 - Header */
.about__header {
2022-04-02 10:26:41 +02:00
position: relative;
2023-04-26 17:39:43 +02:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
2022-12-15 17:47:31 +01:00
color: var(--text-light);
2023-09-26 10:33:34 +02:00
background: var(--background) url('../images/about-header-about.svg?ver=6.3') no-repeat;
2023-04-26 17:39:43 +02:00
background-size: cover;
background-position: center;
2023-09-26 10:33:34 +02:00
border-radius: 5px;
2019-11-15 22:59:44 +01:00
}
2022-06-16 14:03:35 +02:00
.credits-php .about__header {
2023-09-26 10:33:34 +02:00
background-image: url('../images/about-header-credits.svg?ver=6.3');
2021-07-23 11:58:50 +02:00
}
2022-06-16 14:03:35 +02:00
.freedoms-php .about__header {
2023-09-26 10:33:34 +02:00
background-image: url('../images/about-header-freedoms.svg?ver=6.3');
2021-07-23 11:58:50 +02:00
}
2022-06-16 14:03:35 +02:00
.privacy-php .about__header {
2023-09-26 10:33:34 +02:00
background-image: url('../images/about-header-privacy.svg?ver=6.3');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.3');
2021-07-23 11:58:50 +02:00
}
2020-12-10 14:06:04 +01:00
.about__header-image {
2021-07-23 11:58:50 +02:00
margin: 0 var(--gap) 3em;
2020-12-10 14:06:04 +01:00
}
2019-11-15 22:59:44 +01:00
.about__header-title {
2022-04-02 10:26:41 +02:00
box-sizing: border-box;
2022-12-15 17:47:31 +01:00
margin: 0 var(--gap);
2023-04-26 17:39:43 +02:00
padding: 0;
2022-12-15 17:47:31 +01:00
text-align: center;
2019-11-15 22:59:44 +01:00
}
2021-07-23 11:58:50 +02:00
.about__header-title h1 {
2022-06-16 14:03:35 +02:00
margin: 0 0 1rem;
2019-11-15 22:59:44 +01:00
padding: 0;
2022-12-15 17:47:31 +01:00
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
2019-11-15 22:59:44 +01:00
line-height: 1;
2023-04-26 17:39:43 +02:00
font-weight: 600;
2019-11-15 22:59:44 +01:00
}
2022-12-15 17:47:31 +01:00
.credits-php .about__header-title h1,
2023-09-26 10:33:34 +02:00
.freedoms-php .about__header-title h1,
2022-12-15 17:47:31 +01:00
.privacy-php .about__header-title h1,
2023-09-26 10:33:34 +02:00
.contribute-php .about__header-title h1 {
2022-12-15 17:47:31 +01:00
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
2019-11-15 22:59:44 +01:00
.about__header-text {
2022-04-02 10:26:41 +02:00
box-sizing: border-box;
2023-09-26 10:33:34 +02:00
max-width: 26em;
2023-04-26 17:39:43 +02:00
margin: 0 auto;
2022-12-15 17:47:31 +01:00
padding: 0;
2022-04-02 10:26:41 +02:00
font-size: 1.6rem;
2021-07-23 11:58:50 +02:00
line-height: 1.15;
2022-12-15 17:47:31 +01:00
text-align: center;
2020-12-10 14:06:04 +01:00
}
2019-11-15 22:59:44 +01:00
.about__header-navigation {
2022-04-02 10:26:41 +02:00
position: relative;
z-index: 1;
2021-07-23 11:58:50 +02:00
display: flex;
justify-content: center;
2019-11-15 22:59:44 +01:00
padding-top: 0;
2023-04-26 17:39:43 +02:00
margin-bottom: var(--gap);
2019-11-15 22:59:44 +01:00
background: var(--nav-background);
color: var(--nav-color);
2020-05-06 17:23:38 +02:00
border-bottom: 3px solid var(--nav-border);
2019-11-15 22:59:44 +01:00
}
.about__header-navigation .nav-tab {
margin-left: 0;
2021-07-23 11:58:50 +02:00
padding: calc(var(--gap) * 0.75) var(--gap);
float: none;
2019-11-15 22:59:44 +01:00
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 {
2021-04-27 08:32:47 +02:00
background-color: var(--nav-current);
2020-09-15 14:29:22 +02:00
color: var(--text-light);
2019-11-15 22:59:44 +01:00
}
.about__header-navigation .nav-tab-active {
margin-bottom: -3px;
2020-12-10 14:06:04 +01:00
color: var(--nav-current);
2019-11-15 22:59:44 +01:00
border-width: 0 0 6px;
2020-09-15 14:29:22 +02:00
border-color: var(--nav-current);
2019-11-15 22:59:44 +01:00
}
.about__header-navigation .nav-tab-active:hover,
.about__header-navigation .nav-tab-active:active {
2021-04-27 08:32:47 +02:00
background-color: var(--nav-current);
2020-09-15 14:29:22 +02:00
color: var(--text-light);
border-color: var(--nav-current);
2019-11-15 22:59:44 +01:00
}
2022-06-16 14:03:35 +02:00
@media screen and (max-width: 960px) {
2021-07-23 11:58:50 +02:00
.about__header-title h1 {
2022-12-15 17:47:31 +01:00
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.credits-php .about__header-title h1,
2023-09-26 10:33:34 +02:00
.freedoms-php .about__header-title h1,
2022-12-15 17:47:31 +01:00
.privacy-php .about__header-title h1,
2023-09-26 10:33:34 +02:00
.contribute-php .about__header-title h1 {
2022-12-15 17:47:31 +01:00
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
2021-04-27 08:32:47 +02:00
}
2023-09-26 10:33:34 +02:00
.about__header-navigation .nav-tab {
padding: calc(var(--gap) * 0.75) calc(var(--gap) * 0.5);
}
2021-04-27 08:32:47 +02:00
}
2019-11-15 22:59:44 +01:00
@media screen and (max-width: 782px) {
.about__container .about__header-text {
font-size: 1.4em;
}
2020-12-10 14:06:04 +01:00
.about__header-container {
display: block;
}
.about__header-title,
2021-04-27 08:32:47 +02:00
.about__header-image {
2021-07-23 11:58:50 +02:00
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
2020-12-10 14:06:04 +01:00
}
2022-04-02 10:26:41 +02:00
.about__header-text {
margin-top: 0;
}
2019-11-15 22:59:44 +01:00
.about__header-navigation .nav-tab {
margin-top: 0;
margin-right: 0;
2021-07-23 11:58:50 +02:00
padding-left: calc(var(--gap) / 2);
padding-right: calc(var(--gap) / 2);
2019-11-15 22:59:44 +01:00
}
}
2022-04-02 10:26:41 +02:00
@media screen and (max-width: 600px) {
2022-12-15 17:47:31 +01:00
.about__header {
2023-04-26 17:39:43 +02:00
min-height: auto;
2022-12-15 17:47:31 +01:00
}
2022-06-16 14:03:35 +02:00
.about__header,
.credits-php .about__header,
2023-09-26 10:33:34 +02:00
.freedoms-php .about__header,
2022-06-16 14:03:35 +02:00
.privacy-php .about__header,
2023-09-26 10:33:34 +02:00
.contribute-php .about__header {
2022-06-16 14:03:35 +02:00
background-image: none;
2022-04-02 10:26:41 +02:00
}
2020-05-06 17:23:38 +02:00
.about__header-title p {
2021-04-27 08:32:47 +02:00
font-size: 2.4em;
}
2023-04-26 17:39:43 +02:00
.about__header-text {
2022-12-15 17:47:31 +01:00
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
2020-05-06 17:23:38 +02:00
}
2021-07-23 11:58:50 +02:00
.about__header-navigation {
display: block;
}
2019-11-15 22:59:44 +01:00
.about__header-navigation .nav-tab {
display: block;
margin-bottom: 0;
2021-07-23 11:58:50 +02:00
padding: calc(var(--gap) / 2);
2020-05-06 17:23:38 +02:00
border-left-width: 6px;
2019-11-15 22:59:44 +01:00
border-bottom: none;
}
.about__header-navigation .nav-tab-active {
border-bottom: none;
2020-05-06 17:23:38 +02:00
border-left-width: 6px;
2019-11-15 22:59:44 +01:00
}
}
/*------------------------------------------------------------------------------
2.0 - Credits Page
------------------------------------------------------------------------------*/
2021-07-23 11:58:50 +02:00
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
text-align: center;
}
2019-11-15 22:59:44 +01:00
.about__section .wp-people-group {
margin: 0;
2021-07-23 11:58:50 +02:00
display: flex;
flex-wrap: wrap;
2019-11-15 22:59:44 +01:00
}
.about__section .wp-person {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
2021-07-23 11:58:50 +02:00
margin-bottom: var(--gap);
width: 25%;
text-align: center;
2019-11-15 22:59:44 +01:00
}
.about__section .compact .wp-person {
height: auto;
2021-07-23 11:58:50 +02:00
width: 20%;
2019-11-15 22:59:44 +01:00
}
2021-07-23 11:58:50 +02:00
.about__section .wp-person-avatar {
display: block;
margin: 0 auto calc(var(--gap) / 2);
width: 140px;
height: 140px;
2019-11-15 22:59:44 +01:00
border-radius: 100%;
2021-07-23 11:58:50 +02:00
overflow: hidden;
}
.about__section .wp-person .gravatar {
width: 140px;
height: 140px;
filter: grayscale(100%);
2019-11-15 22:59:44 +01:00
}
2021-07-23 11:58:50 +02:00
.about__section .compact .wp-person-avatar,
2019-11-15 22:59:44 +01:00
.about__section .compact .wp-person .gravatar {
2021-07-23 11:58:50 +02:00
width: 80px;
height: 80px;
2019-11-15 22:59:44 +01:00
}
.about__section .wp-person .web {
font-size: 1.4em;
font-weight: 600;
text-decoration: none;
}
.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;
}
2021-07-23 11:58:50 +02:00
@media screen and (max-width: 782px) {
2019-11-15 22:59:44 +01:00
.about__section .wp-person {
2021-07-23 11:58:50 +02:00
width: 33%;
2019-11-15 22:59:44 +01:00
}
2021-07-23 11:58:50 +02:00
.about__section .compact .wp-person {
width: 25%;
}
.about__section .wp-person-avatar,
2019-11-15 22:59:44 +01:00
.about__section .wp-person .gravatar {
2021-07-23 11:58:50 +02:00
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%;
2019-11-15 22:59:44 +01:00
}
.about__section .wp-person .web {
font-size: 1em;
}
.about__section .compact .wp-person .web {
font-size: 1em;
}
}
/*------------------------------------------------------------------------------
3.0 - Freedoms Page
------------------------------------------------------------------------------*/
2021-07-23 11:58:50 +02:00
.about__section .column .freedom-image {
margin-bottom: var(--gap);
2022-12-15 17:47:31 +01:00
max-height: 180px;
}
/*------------------------------------------------------------------------------
4.0 - Privacy Page
------------------------------------------------------------------------------*/
.about__section .column .privacy-image {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 25rem;
2019-11-15 22:59:44 +01:00
}
2019-11-02 10:38:58 +01:00
/*------------------------------------------------------------------------------
2019-11-15 22:59:44 +01:00
x.2.0 - Legacy About Styles: Global
2019-11-02 10:38:58 +01:00
------------------------------------------------------------------------------*/
.about-wrap {
position: relative;
margin: 25px 40px 0 20px;
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;
right: 0;
}
/* Tabs */
.about-wrap .nav-tab {
padding-right: 15px;
padding-left: 15px;
font-size: 18px;
line-height: 1.33333333;
}
2019-11-15 22:59:44 +01:00
/* x.2.1 - Typography */
2019-11-02 10:38:58 +01:00
.about-wrap h1 {
margin: 0.2em 200px 0 0;
padding: 0;
color: #32373c;
line-height: 1.2;
font-size: 2.8em;
font-weight: 400;
}
.about-wrap h2 {
2019-11-15 22:59:44 +01:00
margin: 40px 0 0.6em;
2019-11-02 10:38:58 +01:00
font-size: 2.7em;
line-height: 1.3;
font-weight: 300;
text-align: center;
}
.about-wrap h3 {
2019-11-15 22:59:44 +01:00
margin: 1.25em 0 0.6em;
2019-11-02 10:38:58 +01:00
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 200px 1em 0;
color: #555d66;
}
2019-11-15 22:59:44 +01:00
/* x.2.2 - Structure */
2019-11-02 10:38:58 +01:00
.about-wrap .has-1-columns,
.about-wrap .has-2-columns,
.about-wrap .has-3-columns,
.about-wrap .has-4-columns {
display: grid;
max-width: 800px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
}
.about-wrap .column {
margin-right: 20px;
margin-left: 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 {
grid-template-columns: 1fr 1fr;
}
.about-wrap .has-2-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about-wrap .has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about-wrap .has-2-columns.is-wider-right {
grid-template-columns: 1fr 2fr;
}
.about-wrap .has-2-columns.is-wider-left {
grid-template-columns: 2fr 1fr;
}
.about-wrap .has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about-wrap .has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about-wrap .has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about-wrap .has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about-wrap .has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about-wrap .has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about-wrap .has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about-wrap .has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about-wrap .has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
.about-wrap .column :first-child {
margin-top: 0;
}
.about-wrap .aligncenter {
text-align: center;
}
.about-wrap .alignleft {
float: left;
margin-right: 40px;
}
.about-wrap .alignright {
float: right;
margin-left: 40px;
}
.about-wrap .is-vertically-aligned-top {
align-self: start;
}
.about-wrap .is-vertically-aligned-center {
align-self: center;
}
.about-wrap .is-vertically-aligned-bottom {
align-self: end;
}
2019-11-15 22:59:44 +01:00
/* x.2.3 - Point Releases */
2019-11-02 10:38:58 +01:00
.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;
}
/*------------------------------------------------------------------------------
2019-11-15 22:59:44 +01:00
x.3.0 - Legacy About Styles: About Page
2019-11-02 10:38:58 +01:00
------------------------------------------------------------------------------*/
2019-11-15 22:59:44 +01:00
/* x.3.1 - Typography */
2019-11-02 10:38:58 +01:00
.about-wrap .lead-description {
font-size: 1.5em;
text-align: center;
}
.about-wrap .feature-section p {
margin-top: 0.6em;
}
2019-11-15 22:59:44 +01:00
/* x.3.2 - Structure */
2019-11-02 10:38:58 +01:00
.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%;
}
2020-12-10 14:06:04 +01:00
/* Go to Dashboard Home link */
2019-11-02 10:38:58 +01:00
.about-wrap .return-to-dashboard {
margin: 30px 0 0 -5px;
font-size: 14px;
font-weight: 600;
}
.about-wrap .return-to-dashboard a {
text-decoration: none;
padding: 0 5px;
}
/*------------------------------------------------------------------------------
2019-11-15 22:59:44 +01:00
x.4.0 - Legacy About Styles: Credits & Freedoms Pages
2019-11-02 10:38:58 +01:00
------------------------------------------------------------------------------*/
/* 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: left;
}
.about-wrap .wp-people-group {
padding: 0 5px;
margin: 0 -15px 0 -5px;
}
.about-wrap .compact {
margin-bottom: 0;
}
.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 .wp-person .gravatar {
float: left;
margin: 0 10px 10px 0;
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 {
2020-12-10 14:06:04 +01:00
background-image: url('../images/freedoms.png');
2019-11-02 10:38:58 +01:00
background-size: 100%;
padding-top: 100%;
}
.freedoms-php .column:nth-of-type(2) .freedoms-image {
background-position: 0 34%;
}
.freedoms-php .column:nth-of-type(3) .freedoms-image {
background-position: 0 66%;
}
.freedoms-php .column:nth-of-type(4) .freedoms-image {
background-position: 0 100%;
}
/*------------------------------------------------------------------------------
2019-11-15 22:59:44 +01:00
x.5.0 - Legacy About Styles: Media Queries
2019-11-02 10:38:58 +01:00
------------------------------------------------------------------------------*/
@media screen and (max-width: 782px) {
.about-wrap .has-3-columns,
.about-wrap .has-4-columns {
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) {
grid-column-start: 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) {
grid-column-start: 2;
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) {
grid-column-start: 1;
grid-row-start: 2;
}
.about-wrap .has-4-columns .column:nth-of-type(4n) {
grid-column-start: 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-right: 0;
margin-left: 0;
}
.about-wrap .has-2-columns.is-wider-right,
.about-wrap .has-2-columns.is-wider-left {
display: grid;
}
}
@media only screen and (max-width: 500px) {
.about-wrap {
margin-right: 20px;
margin-left: 10px;
}
.about-wrap h1,
.about-wrap .about-text {
margin-right: 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-right: 0;
margin-left: 0;
}
.about-wrap .has-2-columns.is-wider-right img,
.about-wrap .has-2-columns.is-wider-left img {
max-width: 160px;
}
}