about.css 29 KB

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