Нет описания

about.css 27KB

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