about.css 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479
  1. /*------------------------------------------------------------------------------
  2. 22.0 - About Pages
  3. 1.0 Global: About, Credits, Freedoms, Privacy
  4. 1.1 Layout
  5. 1.2 Typography & Elements
  6. 1.3 Header
  7. 2.0 Credits Page
  8. 3.0 Freedoms Page
  9. x.2.0 Legacy About Styles: Global
  10. x.2.1 Typography
  11. x.2.2 Structure
  12. x.2.3 Point Releases
  13. x.3.0 Legacy About Styles: About Page
  14. x.3.1 Typography
  15. x.3.2 Structure
  16. x.4.0 Legacy About Styles: Credits & Freedoms Pages
  17. x.5.0 Legacy About Styles: Media Queries
  18. ------------------------------------------------------------------------------*/
  19. .about__container {
  20. /* Section backgrounds */
  21. --background: transparent;
  22. --subtle-background: #f0f0f0;
  23. /* Main text color */
  24. --text: #000;
  25. --text-light: #fff;
  26. /* Accent colors: used in header, on special classes. */
  27. --accent-1: #3858e9; /* Accent background, link color */
  28. --accent-2: #3858e9; /* Header background */
  29. /* Navigation colors. */
  30. --nav-background: #fff;
  31. --nav-border: transparent;
  32. --nav-color: var(--text);
  33. --nav-current: var(--accent-1);
  34. --gap: 2rem;
  35. }
  36. /*------------------------------------------------------------------------------
  37. 1.0 - Global: About, Credits, Freedoms, Privacy
  38. ------------------------------------------------------------------------------*/
  39. .about-php,
  40. .credits-php,
  41. .freedoms-php,
  42. .privacy-php {
  43. background: #fff;
  44. }
  45. .about-php #wpcontent,
  46. .credits-php #wpcontent,
  47. .freedoms-php #wpcontent,
  48. .privacy-php #wpcontent {
  49. background: #fff;
  50. padding: 0 24px;
  51. }
  52. @media screen and (max-width: 782px) {
  53. .about-php.auto-fold #wpcontent,
  54. .credits-php.auto-fold #wpcontent,
  55. .freedoms-php.auto-fold #wpcontent,
  56. .privacy-php.auto-fold #wpcontent {
  57. padding-left: 24px;
  58. }
  59. }
  60. .about__container {
  61. max-width: 1000px;
  62. margin: 24px auto;
  63. clear: both;
  64. }
  65. .about__container .alignleft {
  66. float: left;
  67. }
  68. .about__container .alignright {
  69. float: right;
  70. }
  71. .about__container .aligncenter {
  72. text-align: center;
  73. }
  74. .about__container .is-vertically-aligned-top {
  75. align-self: start;
  76. }
  77. .about__container .is-vertically-aligned-center {
  78. align-self: center;
  79. }
  80. .about__container .is-vertically-aligned-bottom {
  81. align-self: end;
  82. }
  83. .about__section {
  84. background: var(--background);
  85. clear: both;
  86. }
  87. .about__container .has-accent-background-color {
  88. background-color: var(--accent-1);
  89. color: var(--text-light);
  90. }
  91. .about__container .has-accent-background-color a {
  92. color: var(--text-light);
  93. }
  94. .about__container .has-transparent-background-color {
  95. background-color: transparent;
  96. }
  97. .about__container .has-accent-color {
  98. color: var(--accent-1);
  99. }
  100. .about__container .has-border {
  101. border: 3px solid currentColor;
  102. }
  103. .about__container .has-subtle-background-color {
  104. background-color: var(--subtle-background);
  105. }
  106. .about__container .has-background-image {
  107. background-size: contain;
  108. background-repeat: no-repeat;
  109. background-position: center;
  110. }
  111. /* 1.1 - Layout */
  112. .about__section {
  113. margin: 0 0 var(--gap);
  114. }
  115. .about__section .column:not(.is-edge-to-edge) {
  116. padding: var(--gap);
  117. }
  118. .about__section + .about__section .is-section-header {
  119. padding-bottom: var(--gap);
  120. }
  121. .about__section .column[class*="background-color"],
  122. .about__section:where([class*="background-color"]) .column,
  123. .about__section .column.has-border {
  124. padding-top: var(--gap);
  125. padding-bottom: var(--gap);
  126. }
  127. .about__section .column p:first-of-type {
  128. margin-top: 0;
  129. }
  130. .about__section .column p:last-of-type {
  131. margin-bottom: 0;
  132. }
  133. .about__section .has-text-columns {
  134. columns: 2;
  135. column-gap: calc(var(--gap) * 2);
  136. }
  137. .about__section .is-section-header {
  138. margin-bottom: 0;
  139. padding: var(--gap) var(--gap) 0;
  140. }
  141. .about__section .is-section-header p:last-child {
  142. margin-bottom: 0;
  143. }
  144. /* Section header is alone in a container. */
  145. .about__section .is-section-header:first-child:last-child {
  146. padding: 0;
  147. }
  148. .about__section.is-feature {
  149. padding: var(--gap);
  150. }
  151. .about__section.is-feature p {
  152. margin: 0;
  153. }
  154. .about__section.is-feature p + p {
  155. margin-top: calc(var(--gap) / 2);
  156. }
  157. .about__section.has-1-column {
  158. margin-left: auto;
  159. margin-right: auto;
  160. max-width: 36em;
  161. }
  162. .about__section.has-2-columns,
  163. .about__section.has-3-columns,
  164. .about__section.has-4-columns,
  165. .about__section.has-overlap-style {
  166. display: grid;
  167. }
  168. .about__section.has-gutters {
  169. gap: var(--gap);
  170. margin-bottom: calc(var(--gap) * 2);
  171. }
  172. .about__section.has-2-columns {
  173. grid-template-columns: 1fr 1fr;
  174. }
  175. .about__section.has-2-columns.is-wider-right {
  176. grid-template-columns: 2fr 3fr;
  177. }
  178. .about__section.has-2-columns.is-wider-left {
  179. grid-template-columns: 3fr 2fr;
  180. }
  181. .about__section.has-2-columns .is-section-header {
  182. grid-column-start: 1;
  183. -ms-grid-column-span: 2;
  184. grid-column-end: span 2;
  185. }
  186. .about__section.has-2-columns .column:nth-of-type(2n+1) {
  187. grid-column-start: 1;
  188. }
  189. .about__section.has-2-columns .column:nth-of-type(2n) {
  190. grid-column-start: 2;
  191. }
  192. .about__section.has-3-columns {
  193. grid-template-columns: repeat(3, 1fr);
  194. }
  195. .about__section.has-3-columns .is-section-header {
  196. grid-column-start: 1;
  197. -ms-grid-column-span: 3;
  198. grid-column-end: span 3;
  199. }
  200. .about__section.has-3-columns .column:nth-of-type(3n+1) {
  201. grid-column-start: 1;
  202. }
  203. .about__section.has-3-columns .column:nth-of-type(3n+2) {
  204. grid-column-start: 2;
  205. }
  206. .about__section.has-3-columns .column:nth-of-type(3n) {
  207. grid-column-start: 3;
  208. }
  209. .about__section.has-4-columns {
  210. grid-template-columns: repeat(4, 1fr);
  211. }
  212. .about__section.has-4-columns .is-section-header {
  213. grid-column-start: 1;
  214. -ms-grid-column-span: 4;
  215. grid-column-end: span 4;
  216. }
  217. .about__section.has-4-columns .column:nth-of-type(4n+1) {
  218. grid-column-start: 1;
  219. }
  220. .about__section.has-4-columns .column:nth-of-type(4n+2) {
  221. grid-column-start: 2;
  222. }
  223. .about__section.has-4-columns .column:nth-of-type(4n+3) {
  224. grid-column-start: 3;
  225. }
  226. .about__section.has-4-columns .column:nth-of-type(4n) {
  227. grid-column-start: 4;
  228. }
  229. /* Any columns following a section header need to be expicitly put into the second row, for IE support. */
  230. .about__section.has-2-columns .is-section-header ~ .column,
  231. .about__section.has-3-columns .is-section-header ~ .column,
  232. .about__section.has-4-columns .is-section-header ~ .column,
  233. .about__section.has-overlap-style .is-section-header ~ .column {
  234. grid-row-start: 2;
  235. }
  236. .about__section.has-overlap-style {
  237. grid-template-columns: repeat(7, 1fr);
  238. }
  239. .about__section.has-overlap-style .column {
  240. grid-row-start: 1;
  241. }
  242. .about__section.has-overlap-style .column:nth-of-type(2n+1) {
  243. grid-column-start: 2;
  244. -ms-grid-column-span: 3;
  245. grid-column-end: span 3;
  246. }
  247. .about__section.has-overlap-style .column:nth-of-type(2n) {
  248. grid-column-start: 4;
  249. -ms-grid-column-span: 3;
  250. grid-column-end: span 3;
  251. }
  252. .about__section.has-overlap-style .column.is-top-layer {
  253. z-index: 1;
  254. }
  255. @media screen and (max-width: 782px) {
  256. .about__section.has-2-columns.is-wider-right,
  257. .about__section.has-2-columns.is-wider-left,
  258. .about__section.has-3-columns {
  259. display: block;
  260. margin-bottom: calc(var(--gap) / 2);
  261. }
  262. .about__section .column:not(.is-edge-to-edge) {
  263. padding-top: var(--gap);
  264. padding-bottom: var(--gap);
  265. }
  266. .about__section.has-2-columns.has-gutters.is-wider-right,
  267. .about__section.has-2-columns.has-gutters.is-wider-left,
  268. .about__section.has-3-columns.has-gutters {
  269. margin-bottom: calc(var(--gap) * 2);
  270. }
  271. .about__section.has-2-columns.has-gutters .column,
  272. .about__section.has-2-columns.has-gutters .column,
  273. .about__section.has-3-columns.has-gutters .column {
  274. margin-bottom: var(--gap);
  275. }
  276. .about__section.has-2-columns.has-gutters .column:last-child,
  277. .about__section.has-2-columns.has-gutters .column:last-child,
  278. .about__section.has-3-columns.has-gutters .column:last-child {
  279. margin-bottom: 0;
  280. }
  281. .about__section.has-3-columns .column:nth-of-type(n) {
  282. padding-top: calc(var(--gap) / 2);
  283. padding-bottom: calc(var(--gap) / 2);
  284. }
  285. .about__section.has-4-columns {
  286. grid-template-columns: repeat(2, 1fr);
  287. }
  288. .about__section.has-4-columns .column:nth-of-type(2n+1) {
  289. grid-column-start: 1;
  290. }
  291. .about__section.has-4-columns .column:nth-of-type(2n) {
  292. grid-column-start: 2;
  293. }
  294. .about__section.has-4-columns .column:nth-of-type(4n+3),
  295. .about__section.has-4-columns .column:nth-of-type(4n) {
  296. grid-row-start: 2;
  297. }
  298. .about__section.has-4-columns .is-section-header {
  299. -ms-grid-column-span: 2;
  300. grid-column-end: span 2;
  301. }
  302. .about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
  303. .about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
  304. grid-row-start: 3;
  305. }
  306. .about__section.has-overlap-style {
  307. grid-template-columns: 1fr;
  308. }
  309. /* At this size, the two columns fully overlap */
  310. .about__section.has-overlap-style .column.column {
  311. grid-column-start: 1;
  312. -ms-grid-column-span: 1;
  313. grid-column-end: 2;
  314. grid-row-start: 1;
  315. -ms-grid-row-span: 1;
  316. grid-row-end: 2;
  317. }
  318. }
  319. @media screen and (max-width: 600px) {
  320. .about__section.has-2-columns {
  321. display: block;
  322. margin-bottom: var(--gap);
  323. }
  324. .about__section.has-2-columns:not(.has-gutters) .column:nth-of-type(n) {
  325. padding-top: calc(var(--gap) / 2);
  326. padding-bottom: calc(var(--gap) / 2);
  327. }
  328. .about__section.has-2-columns.has-gutters {
  329. margin-bottom: calc(var(--gap) * 2);
  330. }
  331. .about__section.has-2-columns.has-gutters .column {
  332. margin-bottom: var(--gap);
  333. }
  334. .about__section.has-2-columns.has-gutters .column:last-child {
  335. margin-bottom: 0;
  336. }
  337. }
  338. @media screen and (max-width: 480px) {
  339. .about__section.is-feature .column {
  340. padding: 0;
  341. }
  342. .about__section.has-4-columns {
  343. display: block;
  344. padding-bottom: calc(var(--gap) / 2);
  345. }
  346. .about__section.has-4-columns.has-gutters .column {
  347. margin-bottom: calc(var(--gap) / 2);
  348. }
  349. .about__section.has-4-columns.has-gutters .column:last-child {
  350. margin-bottom: 0;
  351. }
  352. .about__section.has-4-columns .column:nth-of-type(n) {
  353. padding-top: calc(var(--gap) / 2);
  354. padding-bottom: calc(var(--gap) / 2);
  355. }
  356. }
  357. /* 1.2 - Typography & Elements */
  358. .about__container {
  359. line-height: 1.4;
  360. color: var(--text);
  361. }
  362. .about__container h1 {
  363. padding: 0;
  364. color: inherit;
  365. }
  366. .about__container h1,
  367. .about__container h2,
  368. .about__container h3.is-larger-heading {
  369. margin-top: 0;
  370. margin-bottom: 0.5em;
  371. font-size: 2rem;
  372. font-weight: 700;
  373. line-height: 1.16;
  374. }
  375. .about__container h3,
  376. .about__container h1.is-smaller-heading,
  377. .about__container h2.is-smaller-heading {
  378. margin-top: 0;
  379. font-size: 1.625rem;
  380. font-weight: 700;
  381. line-height: 1.4;
  382. }
  383. .about__container p {
  384. font-size: inherit;
  385. line-height: inherit;
  386. }
  387. .about__container p.is-subheading {
  388. margin-top: 0;
  389. font-size: 1.5rem;
  390. font-weight: 300;
  391. line-height: 160%;
  392. }
  393. .about__section a {
  394. color: var(--accent-1);
  395. text-decoration: underline;
  396. }
  397. .about__section a:hover,
  398. .about__section a:active,
  399. .about__section a:focus {
  400. color: var(--accent-1);
  401. text-decoration: none;
  402. }
  403. .wp-credits-list a {
  404. text-decoration: none;
  405. }
  406. .wp-credits-list a:hover,
  407. .wp-credits-list a:active,
  408. .wp-credits-list a:focus {
  409. text-decoration: underline;
  410. }
  411. .about__container ul {
  412. list-style: disc;
  413. margin-left: calc(var(--gap) / 2);
  414. }
  415. .about__container li {
  416. margin-bottom: 0.75rem;
  417. }
  418. .about__container img {
  419. margin: 0;
  420. max-width: 100%;
  421. vertical-align: middle;
  422. }
  423. .about__container .about__image {
  424. margin: 0;
  425. }
  426. .about__container .about__image img {
  427. max-width: 100%;
  428. width: 100%;
  429. height: auto;
  430. }
  431. .about__container .about__image figcaption {
  432. margin-top: 0.5em;
  433. text-align: center;
  434. }
  435. .about__container .about__image .wp-video {
  436. margin-left: auto;
  437. margin-right: auto;
  438. }
  439. .about__container .about__image + h3 {
  440. margin-top: 1.5em;
  441. }
  442. .about__container .column .about__image {
  443. margin-bottom: calc(var(--gap) / 2);
  444. }
  445. .about__container hr {
  446. margin: 0;
  447. height: var(--gap);
  448. border: none;
  449. }
  450. .about__container hr.is-small {
  451. height: calc(var(--gap) / 4);
  452. }
  453. .about__container hr.is-large {
  454. height: calc(var(--gap) * 2);
  455. margin: calc(var(--gap) / 2) auto;
  456. }
  457. .about__container div.updated,
  458. .about__container div.error,
  459. .about__container .notice {
  460. display: none !important;
  461. }
  462. .about__section {
  463. font-size: 1.125rem;
  464. line-height: 1.55;
  465. }
  466. .about__section.is-feature {
  467. font-size: 1.6em;
  468. }
  469. @media screen and (max-width: 480px) {
  470. .about__section.is-feature {
  471. font-size: 1.4em;
  472. }
  473. .about__container h1,
  474. .about__container h2,
  475. .about__container h3.is-larger-heading {
  476. font-size: 2em;
  477. }
  478. }
  479. /* 1.3 - Header */
  480. .about__header {
  481. --about-header-image-width: 521px;
  482. --about-header-image-height: 504px;
  483. --about-header-bg-width: var(--about-header-image-width);
  484. --about-header-bg-height: var(--about-header-image-height);
  485. --about-header-bg-offset-inline: calc(var(--gap) * -2);
  486. position: relative;
  487. margin-bottom: var(--gap);
  488. padding-top: 0;
  489. background: var(--subtle-background) url('../images/about-header-about.svg?ver=6.0') no-repeat;
  490. background-size: var(--about-header-bg-width) var(--about-header-bg-height);
  491. background-position: right var(--about-header-bg-offset-inline) center;
  492. }
  493. .credits-php .about__header {
  494. --about-header-image-width: 477px;
  495. --about-header-image-height: 470px;
  496. --about-header-bg-offset-inline: calc(var(--gap) * -4);
  497. background-image: url('../images/about-header-credits.svg?ver=6.0');
  498. background-position: right var(--about-header-bg-offset-inline) top var(--gap);
  499. }
  500. .freedoms-php .about__header {
  501. --about-header-image-width: 411px;
  502. --about-header-image-height: 498px;
  503. --about-header-bg-offset-inline: var(--gap);
  504. background-image: url('../images/about-header-freedoms.svg?ver=6.0');
  505. background-position: right var(--about-header-bg-offset-inline) top calc(var(--gap) * 4);
  506. }
  507. .privacy-php .about__header {
  508. --about-header-image-width: 277px;
  509. --about-header-image-height: 361px;
  510. --about-header-bg-offset-inline: var(--gap);
  511. background-image: url('../images/about-header-privacy.svg?ver=6.0');
  512. background-position: right var(--about-header-bg-offset-inline) top var(--gap);
  513. }
  514. .about__header-image {
  515. margin: 0 var(--gap) 3em;
  516. }
  517. .about__header-title {
  518. box-sizing: border-box;
  519. margin: 0 0 0 var(--gap);
  520. padding: 8rem 0 0;
  521. padding-right: calc(var(--about-header-bg-width) + var(--about-header-bg-offset-inline) + var(--gap));
  522. }
  523. .credits-php .about__header-title,
  524. .privacy-php .about__header-title {
  525. padding-top: 6rem;
  526. }
  527. .freedoms-php .about__header-title {
  528. padding-top: 3rem;
  529. }
  530. .about__header-title h1 {
  531. margin: 0 0 1rem;
  532. padding: 0;
  533. font-size: clamp(3rem, 18.46vw - 8.08rem, 6rem);
  534. line-height: 1;
  535. font-weight: 400;
  536. }
  537. .about__header-text {
  538. box-sizing: border-box;
  539. margin: 0 0 9rem;
  540. padding: 0 0 0 2rem;
  541. padding-right: calc(var(--about-header-bg-width) + var(--about-header-bg-offset-inline) + var(--gap));
  542. font-size: 1.6rem;
  543. line-height: 1.15;
  544. }
  545. .credits-php .about__header-text,
  546. .privacy-php .about__header-text {
  547. margin-bottom: 7rem;
  548. }
  549. .freedoms-php .about__header-text {
  550. margin-bottom: 6rem;
  551. }
  552. .about__header-navigation {
  553. position: relative;
  554. z-index: 1;
  555. display: flex;
  556. justify-content: center;
  557. padding-top: 0;
  558. background: var(--nav-background);
  559. color: var(--nav-color);
  560. border-bottom: 3px solid var(--nav-border);
  561. }
  562. .about__header-navigation .nav-tab {
  563. margin-left: 0;
  564. padding: calc(var(--gap) * 0.75) var(--gap);
  565. float: none;
  566. font-size: 1.4em;
  567. line-height: 1;
  568. border-width: 0 0 3px;
  569. border-style: solid;
  570. border-color: transparent;
  571. background: transparent;
  572. color: inherit;
  573. }
  574. .about__header-navigation .nav-tab:hover,
  575. .about__header-navigation .nav-tab:active {
  576. background-color: var(--nav-current);
  577. color: var(--text-light);
  578. }
  579. .about__header-navigation .nav-tab-active {
  580. margin-bottom: -3px;
  581. color: var(--nav-current);
  582. border-width: 0 0 6px;
  583. border-color: var(--nav-current);
  584. }
  585. .about__header-navigation .nav-tab-active:hover,
  586. .about__header-navigation .nav-tab-active:active {
  587. background-color: var(--nav-current);
  588. color: var(--text-light);
  589. border-color: var(--nav-current);
  590. }
  591. @media screen and (max-width: 960px) {
  592. .about__header {
  593. --about-header-bg-width: calc(var(--about-header-image-width) * 0.7);
  594. --about-header-bg-height: calc(var(--about-header-image-height) * 0.7);
  595. --about-header-bg-offset-inline: calc(var(--gap) * -1);
  596. }
  597. .about__header-title h1 {
  598. font-size: clamp(3rem, 18.46vw - 5.08rem, 6rem);
  599. }
  600. }
  601. @media screen and (max-width: 782px) {
  602. .about__container .about__header-text {
  603. font-size: 1.4em;
  604. }
  605. .about__header-container {
  606. display: block;
  607. }
  608. .about__header-title,
  609. .about__header-image {
  610. margin-left: calc(var(--gap) / 2);
  611. margin-right: calc(var(--gap) / 2);
  612. }
  613. .about__header-text {
  614. margin-top: 0;
  615. margin-right: 0;
  616. padding-left: calc(var(--gap) / 2);
  617. }
  618. .about__header-navigation .nav-tab {
  619. margin-top: 0;
  620. margin-right: 0;
  621. padding-left: calc(var(--gap) / 2);
  622. padding-right: calc(var(--gap) / 2);
  623. }
  624. }
  625. @media screen and (max-width: 600px) {
  626. .about__header,
  627. .credits-php .about__header,
  628. .privacy-php .about__header,
  629. .freedoms-php .about__header {
  630. background-image: none;
  631. }
  632. .about__header-title,
  633. .about__header-text {
  634. padding-right: calc(var(--gap) / 2) !important;
  635. }
  636. .about__header-title h1 {
  637. font-size: clamp(2rem, 11.43vw - 0.29rem, 4rem);
  638. }
  639. }
  640. @media screen and (max-width: 480px) {
  641. .about__header-title p {
  642. font-size: 2.4em;
  643. }
  644. .about__header-title {
  645. padding-top: 2rem;
  646. }
  647. .about__header-text {
  648. margin-bottom: 2rem;
  649. }
  650. .about__header-navigation {
  651. display: block;
  652. }
  653. .about__header-navigation .nav-tab {
  654. display: block;
  655. margin-bottom: 0;
  656. padding: calc(var(--gap) / 2);
  657. border-left-width: 6px;
  658. border-bottom: none;
  659. }
  660. .about__header-navigation .nav-tab-active {
  661. border-bottom: none;
  662. border-left-width: 6px;
  663. }
  664. }
  665. /*------------------------------------------------------------------------------
  666. 2.0 - Credits Page
  667. ------------------------------------------------------------------------------*/
  668. .about__section .wp-people-group-title {
  669. margin-bottom: calc(var(--gap) * 2);
  670. text-align: center;
  671. }
  672. .about__section .wp-people-group {
  673. margin: 0;
  674. display: flex;
  675. flex-wrap: wrap;
  676. }
  677. .about__section .wp-person {
  678. display: inline-block;
  679. vertical-align: top;
  680. box-sizing: border-box;
  681. margin-bottom: var(--gap);
  682. width: 25%;
  683. text-align: center;
  684. }
  685. .about__section .compact .wp-person {
  686. height: auto;
  687. width: 20%;
  688. }
  689. .about__section .wp-person-avatar {
  690. display: block;
  691. margin: 0 auto calc(var(--gap) / 2);
  692. width: 140px;
  693. height: 140px;
  694. border-radius: 100%;
  695. overflow: hidden;
  696. background: var(--accent-1);
  697. }
  698. .about__section .wp-person .gravatar {
  699. width: 140px;
  700. height: 140px;
  701. filter: grayscale(100%);
  702. mix-blend-mode: screen;
  703. }
  704. .about__section .compact .wp-person-avatar,
  705. .about__section .compact .wp-person .gravatar {
  706. width: 80px;
  707. height: 80px;
  708. }
  709. .about__section .wp-person .web {
  710. font-size: 1.4em;
  711. font-weight: 600;
  712. text-decoration: none;
  713. }
  714. .about__section .wp-person .web:hover {
  715. text-decoration: underline;
  716. }
  717. .about__section .compact .wp-person .web {
  718. font-size: 1.2em;
  719. }
  720. .about__section .wp-person .title {
  721. display: block;
  722. margin-top: 0.5em;
  723. }
  724. @media screen and (max-width: 782px) {
  725. .about__section .wp-person {
  726. width: 33%;
  727. }
  728. .about__section .compact .wp-person {
  729. width: 25%;
  730. }
  731. .about__section .wp-person-avatar,
  732. .about__section .wp-person .gravatar {
  733. width: 120px;
  734. height: 120px;
  735. }
  736. }
  737. @media screen and (max-width: 600px) {
  738. .about__section .wp-person {
  739. width: 50%;
  740. }
  741. .about__section .compact .wp-person {
  742. width: 33%;
  743. }
  744. .about__section .wp-person .web {
  745. font-size: 1.2em;
  746. }
  747. }
  748. @media screen and (max-width: 480px) {
  749. .about__section .wp-person {
  750. min-width: 100%;
  751. }
  752. .about__section .wp-person .web {
  753. font-size: 1em;
  754. }
  755. .about__section .compact .wp-person .web {
  756. font-size: 1em;
  757. }
  758. }
  759. /*------------------------------------------------------------------------------
  760. 3.0 - Freedoms Page
  761. ------------------------------------------------------------------------------*/
  762. .about__section .column .freedom-image {
  763. margin-bottom: var(--gap);
  764. max-height: 140px;
  765. }
  766. /*------------------------------------------------------------------------------
  767. x.2.0 - Legacy About Styles: Global
  768. ------------------------------------------------------------------------------*/
  769. .about-wrap {
  770. position: relative;
  771. margin: 25px 40px 0 20px;
  772. max-width: 1050px; /* readability */
  773. font-size: 15px;
  774. }
  775. .about-wrap.full-width-layout {
  776. max-width: 1200px;
  777. }
  778. .about-wrap-content {
  779. max-width: 1050px;
  780. }
  781. .about-wrap div.updated,
  782. .about-wrap div.error,
  783. .about-wrap .notice {
  784. display: none !important;
  785. }
  786. .about-wrap hr {
  787. border: 0;
  788. height: 0;
  789. margin: 3em 0 0;
  790. border-top: 1px solid rgba(0, 0, 0, 0.1);
  791. }
  792. .about-wrap img {
  793. margin: 0;
  794. width: 100%;
  795. height: auto;
  796. vertical-align: middle;
  797. }
  798. .about-wrap .inline-svg img {
  799. max-width: 100%;
  800. width: auto;
  801. height: auto;
  802. }
  803. .about-wrap video {
  804. margin: 1.5em auto;
  805. }
  806. /* WordPress Version Badge */
  807. .wp-badge {
  808. background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
  809. background-position: center 25px;
  810. background-size: 80px 80px;
  811. color: #fff;
  812. font-size: 14px;
  813. text-align: center;
  814. font-weight: 600;
  815. margin: 5px 0 0;
  816. padding-top: 120px;
  817. height: 40px;
  818. display: inline-block;
  819. width: 140px;
  820. text-rendering: optimizeLegibility;
  821. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  822. }
  823. .svg .wp-badge {
  824. background-image: url(../images/wordpress-logo-white.svg?ver=20160308);
  825. }
  826. .about-wrap .wp-badge {
  827. position: absolute;
  828. top: 0;
  829. right: 0;
  830. }
  831. /* Tabs */
  832. .about-wrap .nav-tab {
  833. padding-right: 15px;
  834. padding-left: 15px;
  835. font-size: 18px;
  836. line-height: 1.33333333;
  837. }
  838. /* x.2.1 - Typography */
  839. .about-wrap h1 {
  840. margin: 0.2em 200px 0 0;
  841. padding: 0;
  842. color: #32373c;
  843. line-height: 1.2;
  844. font-size: 2.8em;
  845. font-weight: 400;
  846. }
  847. .about-wrap h2 {
  848. margin: 40px 0 0.6em;
  849. font-size: 2.7em;
  850. line-height: 1.3;
  851. font-weight: 300;
  852. text-align: center;
  853. }
  854. .about-wrap h3 {
  855. margin: 1.25em 0 0.6em;
  856. font-size: 1.4em;
  857. line-height: 1.5;
  858. }
  859. .about-wrap h4 {
  860. font-size: 16px;
  861. color: #23282d;
  862. }
  863. .about-wrap p {
  864. line-height: 1.5;
  865. font-size: 16px;
  866. }
  867. .about-wrap code,
  868. .about-wrap ol li p {
  869. font-size: 14px;
  870. font-weight: 400;
  871. }
  872. .about-wrap figcaption {
  873. font-size: 13px;
  874. text-align: center;
  875. color: white;
  876. text-overflow: ellipsis;
  877. }
  878. .about-wrap .about-description,
  879. .about-wrap .about-text {
  880. margin-top: 1.4em;
  881. font-weight: 400;
  882. line-height: 1.6;
  883. font-size: 19px;
  884. }
  885. .about-wrap .about-text {
  886. margin: 1em 200px 1em 0;
  887. color: #555d66;
  888. }
  889. /* x.2.2 - Structure */
  890. .about-wrap .has-1-columns,
  891. .about-wrap .has-2-columns,
  892. .about-wrap .has-3-columns,
  893. .about-wrap .has-4-columns {
  894. display: grid;
  895. max-width: 800px;
  896. margin-top: 40px;
  897. margin-left: auto;
  898. margin-right: auto;
  899. }
  900. .about-wrap .column {
  901. margin-right: 20px;
  902. margin-left: 20px;
  903. }
  904. .about-wrap .is-wide {
  905. max-width: 760px;
  906. }
  907. .about-wrap .is-fullwidth {
  908. max-width: 100%;
  909. }
  910. .about-wrap .has-1-columns {
  911. display: block;
  912. max-width: 680px;
  913. margin: 0 auto 40px;
  914. }
  915. .about-wrap .has-2-columns {
  916. grid-template-columns: 1fr 1fr;
  917. }
  918. .about-wrap .has-2-columns .column:nth-of-type(2n+1) {
  919. grid-column-start: 1;
  920. }
  921. .about-wrap .has-2-columns .column:nth-of-type(2n) {
  922. grid-column-start: 2;
  923. }
  924. .about-wrap .has-2-columns.is-wider-right {
  925. grid-template-columns: 1fr 2fr;
  926. }
  927. .about-wrap .has-2-columns.is-wider-left {
  928. grid-template-columns: 2fr 1fr;
  929. }
  930. .about-wrap .has-3-columns {
  931. grid-template-columns: repeat(3, 1fr);
  932. }
  933. .about-wrap .has-3-columns .column:nth-of-type(3n+1) {
  934. grid-column-start: 1;
  935. }
  936. .about-wrap .has-3-columns .column:nth-of-type(3n+2) {
  937. grid-column-start: 2;
  938. }
  939. .about-wrap .has-3-columns .column:nth-of-type(3n) {
  940. grid-column-start: 3;
  941. }
  942. .about-wrap .has-4-columns {
  943. grid-template-columns: repeat(4, 1fr);
  944. }
  945. .about-wrap .has-4-columns .column:nth-of-type(4n+1) {
  946. grid-column-start: 1;
  947. }
  948. .about-wrap .has-4-columns .column:nth-of-type(4n+2) {
  949. grid-column-start: 2;
  950. }
  951. .about-wrap .has-4-columns .column:nth-of-type(4n+3) {
  952. grid-column-start: 3;
  953. }
  954. .about-wrap .has-4-columns .column:nth-of-type(4n) {
  955. grid-column-start: 4;
  956. }
  957. .about-wrap .column :first-child {
  958. margin-top: 0;
  959. }
  960. .about-wrap .aligncenter {
  961. text-align: center;
  962. }
  963. .about-wrap .alignleft {
  964. float: left;
  965. margin-right: 40px;
  966. }
  967. .about-wrap .alignright {
  968. float: right;
  969. margin-left: 40px;
  970. }
  971. .about-wrap .is-vertically-aligned-top {
  972. align-self: start;
  973. }
  974. .about-wrap .is-vertically-aligned-center {
  975. align-self: center;
  976. }
  977. .about-wrap .is-vertically-aligned-bottom {
  978. align-self: end;
  979. }
  980. /* x.2.3 - Point Releases */
  981. .about-wrap .point-releases {
  982. margin-top: 5px;
  983. border-bottom: 1px solid #ddd;
  984. }
  985. .about-wrap .changelog {
  986. margin-bottom: 40px;
  987. }
  988. .about-wrap .changelog.point-releases h3 {
  989. padding-top: 35px;
  990. }
  991. .about-wrap .changelog.point-releases h3:first-child {
  992. padding-top: 7px;
  993. }
  994. .about-wrap .changelog.feature-section .col {
  995. margin-top: 40px;
  996. }
  997. /*------------------------------------------------------------------------------
  998. x.3.0 - Legacy About Styles: About Page
  999. ------------------------------------------------------------------------------*/
  1000. /* x.3.1 - Typography */
  1001. .about-wrap .lead-description {
  1002. font-size: 1.5em;
  1003. text-align: center;
  1004. }
  1005. .about-wrap .feature-section p {
  1006. margin-top: 0.6em;
  1007. }
  1008. /* x.3.2 - Structure */
  1009. .about-wrap .headline-feature {
  1010. margin: 0 auto 40px;
  1011. max-width: 680px;
  1012. }
  1013. .about-wrap .headline-feature h2 {
  1014. margin: 50px 0 0;
  1015. }
  1016. .about-wrap .headline-feature img {
  1017. max-width: 600px;
  1018. width: 100%;
  1019. }
  1020. /* Go to Dashboard Home link */
  1021. .about-wrap .return-to-dashboard {
  1022. margin: 30px 0 0 -5px;
  1023. font-size: 14px;
  1024. font-weight: 600;
  1025. }
  1026. .about-wrap .return-to-dashboard a {
  1027. text-decoration: none;
  1028. padding: 0 5px;
  1029. }
  1030. /*------------------------------------------------------------------------------
  1031. x.4.0 - Legacy About Styles: Credits & Freedoms Pages
  1032. ------------------------------------------------------------------------------*/
  1033. /* Credits */
  1034. .about-wrap h2.wp-people-group {
  1035. margin: 2.6em 0 1.33em;
  1036. padding: 0;
  1037. font-size: 16px;
  1038. line-height: inherit;
  1039. font-weight: 600;
  1040. text-align: left;
  1041. }
  1042. .about-wrap .wp-people-group {
  1043. padding: 0 5px;
  1044. margin: 0 -15px 0 -5px;
  1045. }
  1046. .about-wrap .compact {
  1047. margin-bottom: 0;
  1048. }
  1049. .about-wrap .wp-person {
  1050. display: inline-block;
  1051. vertical-align: top;
  1052. margin-right: 10px;
  1053. padding-bottom: 15px;
  1054. height: 70px;
  1055. width: 280px;
  1056. }
  1057. .about-wrap .compact .wp-person {
  1058. height: auto;
  1059. width: 180px;
  1060. padding-bottom: 0;
  1061. margin-bottom: 0;
  1062. }
  1063. .about-wrap .wp-person .gravatar {
  1064. float: left;
  1065. margin: 0 10px 10px 0;
  1066. padding: 1px;
  1067. width: 60px;
  1068. height: 60px;
  1069. }
  1070. .about-wrap .compact .wp-person .gravatar {
  1071. width: 30px;
  1072. height: 30px;
  1073. }
  1074. .about-wrap .wp-person .web {
  1075. margin: 6px 0 2px;
  1076. font-size: 16px;
  1077. font-weight: 400;
  1078. line-height: 2;
  1079. text-decoration: none;
  1080. }
  1081. .about-wrap .wp-person .title {
  1082. display: block;
  1083. }
  1084. .about-wrap #wp-people-group-validators + p.wp-credits-list {
  1085. margin-top: 0;
  1086. }
  1087. .about-wrap p.wp-credits-list a {
  1088. white-space: nowrap;
  1089. }
  1090. /* Freedoms */
  1091. .freedoms-php .about-wrap ol {
  1092. margin: 40px 60px;
  1093. }
  1094. .freedoms-php .about-wrap ol li {
  1095. list-style-type: decimal;
  1096. font-weight: 600;
  1097. }
  1098. .freedoms-php .about-wrap ol p {
  1099. font-weight: 400;
  1100. margin: 0.6em 0;
  1101. }
  1102. .freedoms-php .column .freedoms-image {
  1103. background-image: url('../images/freedoms.png');
  1104. background-size: 100%;
  1105. padding-top: 100%;
  1106. }
  1107. .freedoms-php .column:nth-of-type(2) .freedoms-image {
  1108. background-position: 0 34%;
  1109. }
  1110. .freedoms-php .column:nth-of-type(3) .freedoms-image {
  1111. background-position: 0 66%;
  1112. }
  1113. .freedoms-php .column:nth-of-type(4) .freedoms-image {
  1114. background-position: 0 100%;
  1115. }
  1116. /*------------------------------------------------------------------------------
  1117. x.5.0 - Legacy About Styles: Media Queries
  1118. ------------------------------------------------------------------------------*/
  1119. @media screen and (max-width: 782px) {
  1120. .about-wrap .has-3-columns,
  1121. .about-wrap .has-4-columns {
  1122. grid-template-columns: 1fr 1fr;
  1123. }
  1124. .about-wrap .has-3-columns .column:nth-of-type(3n+1),
  1125. .about-wrap .has-4-columns .column:nth-of-type(4n+1) {
  1126. grid-column-start: 1;
  1127. grid-row-start: 1;
  1128. }
  1129. .about-wrap .has-3-columns .column:nth-of-type(3n+2),
  1130. .about-wrap .has-4-columns .column:nth-of-type(4n+2) {
  1131. grid-column-start: 2;
  1132. grid-row-start: 1;
  1133. }
  1134. .about-wrap .has-3-columns .column:nth-of-type(3n),
  1135. .about-wrap .has-4-columns .column:nth-of-type(4n+3) {
  1136. grid-column-start: 1;
  1137. grid-row-start: 2;
  1138. }
  1139. .about-wrap .has-4-columns .column:nth-of-type(4n) {
  1140. grid-column-start: 2;
  1141. grid-row-start: 2;
  1142. }
  1143. }
  1144. @media screen and (max-width: 600px) {
  1145. .about-wrap .has-2-columns,
  1146. .about-wrap .has-3-columns,
  1147. .about-wrap .has-4-columns {
  1148. display: block;
  1149. }
  1150. .about-wrap :not(.is-wider-right):not(.is-wider-left) .column {
  1151. margin-right: 0;
  1152. margin-left: 0;
  1153. }
  1154. .about-wrap .has-2-columns.is-wider-right,
  1155. .about-wrap .has-2-columns.is-wider-left {
  1156. display: grid;
  1157. }
  1158. }
  1159. @media only screen and (max-width: 500px) {
  1160. .about-wrap {
  1161. margin-right: 20px;
  1162. margin-left: 10px;
  1163. }
  1164. .about-wrap h1,
  1165. .about-wrap .about-text {
  1166. margin-right: 0;
  1167. }
  1168. .about-wrap .about-text {
  1169. margin-bottom: 0.25em;
  1170. }
  1171. .about-wrap .wp-badge {
  1172. position: relative;
  1173. margin-bottom: 1.5em;
  1174. width: 100%;
  1175. }
  1176. }
  1177. @media only screen and (max-width: 480px) {
  1178. .about-wrap .has-2-columns.is-wider-right,
  1179. .about-wrap .has-2-columns.is-wider-left {
  1180. display: block;
  1181. }
  1182. .about-wrap .column {
  1183. margin-right: 0;
  1184. margin-left: 0;
  1185. }
  1186. .about-wrap .has-2-columns.is-wider-right img,
  1187. .about-wrap .has-2-columns.is-wider-left img {
  1188. max-width: 160px;
  1189. }
  1190. }