about-rtl.css 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  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: #f4efe1;
  22. --subtle-background: #d7d2c5;
  23. /* Main text color */
  24. --text: #413e38;
  25. /* Navigation colors. */
  26. --nav-background: #fefcf7;
  27. --nav-color: #716d64;
  28. /* Reds, used as accents & in header. */
  29. --accent-1: #bd3854;
  30. --accent-2: #5f1b29;
  31. --accent-3: #321017;
  32. }
  33. /*------------------------------------------------------------------------------
  34. 1.0 - Global: About, Credits, Freedoms, Privacy
  35. ------------------------------------------------------------------------------*/
  36. .about-php,
  37. .credits-php,
  38. .freedoms-php,
  39. .privacy-php {
  40. background: #fff;
  41. }
  42. .about-php #wpcontent,
  43. .credits-php #wpcontent,
  44. .freedoms-php #wpcontent,
  45. .privacy-php #wpcontent {
  46. background: white;
  47. padding: 0 24px;
  48. }
  49. @media screen and (max-width: 782px) {
  50. .about-php.auto-fold #wpcontent,
  51. .credits-php.auto-fold #wpcontent,
  52. .freedoms-php.auto-fold #wpcontent,
  53. .privacy-php.auto-fold #wpcontent {
  54. padding-right: 24px;
  55. }
  56. }
  57. .about__container {
  58. max-width: 1000px;
  59. margin: 24px auto;
  60. clear: both;
  61. }
  62. .about__container .alignleft {
  63. float: right;
  64. }
  65. .about__container .alignright {
  66. float: left;
  67. }
  68. .about__container .aligncenter {
  69. text-align: center;
  70. }
  71. .about__container .is-vertically-aligned-top {
  72. -ms-grid-row-align: start;
  73. align-self: start;
  74. }
  75. .about__container .is-vertically-aligned-center {
  76. -ms-grid-row-align: center;
  77. align-self: center;
  78. }
  79. .about__container .is-vertically-aligned-bottom {
  80. -ms-grid-row-align: end;
  81. align-self: end;
  82. }
  83. .about__section {
  84. background: #F4EFE1;
  85. background: var(--background);
  86. }
  87. .about__container .has-accent-background-color {
  88. background-color: #BD3854;
  89. background-color: var(--accent-1);
  90. }
  91. .about__container .has-subtle-background-color {
  92. background-color: #D7D2C5;
  93. background-color: var(--subtle-background);
  94. }
  95. /* 1.1 - Layout */
  96. .about__section {
  97. margin: 0;
  98. }
  99. .about__section .column {
  100. padding: 32px;
  101. }
  102. .about__section .column.is-edge-to-edge {
  103. padding: 0;
  104. }
  105. .about__section .column p:last-of-type {
  106. margin-bottom: 0;
  107. }
  108. .about__section .is-section-header {
  109. margin-bottom: 0;
  110. padding: 32px 32px 0;
  111. }
  112. .about__section.is-feature {
  113. padding: 32px;
  114. }
  115. .about__section.is-feature p {
  116. margin: 0;
  117. }
  118. .about__section.has-2-columns,
  119. .about__section.has-3-columns,
  120. .about__section.has-4-columns {
  121. display: -ms-grid;
  122. display: grid;
  123. }
  124. .about__section.has-2-columns {
  125. -ms-grid-columns: 1fr 1fr;
  126. grid-template-columns: 1fr 1fr;
  127. }
  128. .about__section.has-2-columns.is-wider-right {
  129. -ms-grid-columns: 1fr 2fr;
  130. grid-template-columns: 1fr 2fr;
  131. }
  132. .about__section.has-2-columns.is-wider-left {
  133. -ms-grid-columns: 2fr 1fr;
  134. grid-template-columns: 2fr 1fr;
  135. }
  136. .about__section.has-2-columns .is-section-header {
  137. -ms-grid-column: 1;
  138. grid-column-start: 1;
  139. -ms-grid-column-span: 2;
  140. grid-column-end: span 2;
  141. }
  142. .about__section.has-2-columns .column:nth-of-type(2n+1) {
  143. -ms-grid-column: 1;
  144. grid-column-start: 1;
  145. }
  146. .about__section.has-2-columns .column:nth-of-type(2n) {
  147. -ms-grid-column: 2;
  148. grid-column-start: 2;
  149. }
  150. .about__section.has-3-columns {
  151. -ms-grid-columns: (1fr)[3];
  152. grid-template-columns: repeat(3, 1fr);
  153. }
  154. .about__section.has-3-columns .is-section-header {
  155. -ms-grid-column: 1;
  156. grid-column-start: 1;
  157. -ms-grid-column-span: 3;
  158. grid-column-end: span 3;
  159. }
  160. .about__section.has-3-columns .column:nth-of-type(3n+1) {
  161. -ms-grid-column: 1;
  162. grid-column-start: 1;
  163. }
  164. .about__section.has-3-columns .column:nth-of-type(3n+2) {
  165. -ms-grid-column: 2;
  166. grid-column-start: 2;
  167. }
  168. .about__section.has-3-columns .column:nth-of-type(3n) {
  169. -ms-grid-column: 3;
  170. grid-column-start: 3;
  171. }
  172. .about__section.has-4-columns {
  173. -ms-grid-columns: (1fr)[4];
  174. grid-template-columns: repeat(4, 1fr);
  175. }
  176. .about__section.has-4-columns .is-section-header {
  177. -ms-grid-column: 1;
  178. grid-column-start: 1;
  179. -ms-grid-column-span: 4;
  180. grid-column-end: span 4;
  181. }
  182. .about__section.has-4-columns .column:nth-of-type(4n+1) {
  183. -ms-grid-column: 1;
  184. grid-column-start: 1;
  185. }
  186. .about__section.has-4-columns .column:nth-of-type(4n+2) {
  187. -ms-grid-column: 2;
  188. grid-column-start: 2;
  189. }
  190. .about__section.has-4-columns .column:nth-of-type(4n+3) {
  191. -ms-grid-column: 3;
  192. grid-column-start: 3;
  193. }
  194. .about__section.has-4-columns .column:nth-of-type(4n) {
  195. -ms-grid-column: 4;
  196. grid-column-start: 4;
  197. }
  198. /* Any columns following a section header need to be expicitly put into the second row, for IE support. */
  199. .about__section.has-2-columns .is-section-header ~ .column,
  200. .about__section.has-3-columns .is-section-header ~ .column,
  201. .about__section.has-4-columns .is-section-header ~ .column {
  202. -ms-grid-row: 2;
  203. grid-row-start: 2;
  204. }
  205. @media screen and (max-width: 782px) {
  206. .about__section.has-3-columns,
  207. .about__section.has-4-columns {
  208. display: block;
  209. padding-bottom: 16px;
  210. }
  211. .about__section.has-3-columns .column:nth-of-type(n),
  212. .about__section.has-4-columns .column:nth-of-type(n) {
  213. padding-top: 16px;
  214. padding-bottom: 16px;
  215. }
  216. }
  217. @media screen and (max-width: 600px) {
  218. .about__section.has-2-columns {
  219. display: flex; /* This is flex, not block, so we can use order below. */
  220. flex-wrap: wrap;
  221. align-content: stretch;
  222. padding-bottom: 16px;
  223. }
  224. .about__section.has-2-columns .column:nth-of-type(n) {
  225. padding-top: 16px;
  226. padding-bottom: 16px;
  227. width: 100%;
  228. }
  229. .about__section.has-2-columns .is-edge-to-edge {
  230. order: -1;
  231. }
  232. }
  233. /* 1.2 - Typography & Elements */
  234. .about__container {
  235. line-height: 1.4;
  236. }
  237. .about__container h1 {
  238. font-size: 5em;
  239. line-height: 1;
  240. }
  241. .about__container h2 {
  242. margin-top: 0;
  243. font-size: 1.4em;
  244. }
  245. .about__container h3 {
  246. margin-top: 0;
  247. font-size: 1em;
  248. }
  249. .about__container p {
  250. font-size: inherit;
  251. line-height: inherit;
  252. }
  253. .about__section a,
  254. .about__section a:hover,
  255. .about__section a:active,
  256. .about__section a:focus {
  257. color: inherit;
  258. }
  259. .about__container ul {
  260. list-style: disc;
  261. margin-right: 16px;
  262. }
  263. .about__container img {
  264. margin: 0;
  265. vertical-align: middle;
  266. }
  267. .about__container .about__image {
  268. display: -ms-grid;
  269. display: grid;
  270. align-items: center;
  271. justify-content: center;
  272. height: 100%;
  273. }
  274. .about__container .about__image img {
  275. max-width: 100%;
  276. width: 100%;
  277. height: auto;
  278. }
  279. .about__container hr {
  280. margin: 0;
  281. height: 32px;
  282. border: none;
  283. }
  284. .about__container div.updated,
  285. .about__container div.error,
  286. .about__container .notice {
  287. display: none !important;
  288. }
  289. .about__section {
  290. font-size: 1.2em;
  291. }
  292. .about__section.is-feature {
  293. font-size: 1.6em;
  294. font-weight: 600;
  295. }
  296. @media screen and (max-width: 782px) {
  297. .about__container h1 {
  298. font-size: 4em;
  299. }
  300. }
  301. @media screen and (max-width: 480px) {
  302. .about__container h1 {
  303. font-size: 3.2em;
  304. }
  305. .about__section.is-feature {
  306. font-size: 1.4em;
  307. font-weight: 500;
  308. }
  309. }
  310. /* 1.3 - Header */
  311. .about__header {
  312. display: -ms-grid;
  313. display: grid;
  314. -ms-grid-columns: 1fr 1fr;
  315. grid-template-columns: 1fr 1fr;
  316. -ms-grid-rows: 1fr 1fr;
  317. grid-template-rows: 1fr 1fr;
  318. min-height: 28em;
  319. max-height: 36em;
  320. height: 90vh;
  321. margin-bottom: 32px;
  322. }
  323. .about__header > div {
  324. display: flex;
  325. }
  326. .about__header > div > * {
  327. align-self: flex-end;
  328. }
  329. .about__header-title {
  330. -ms-grid-column: 1;
  331. grid-column: 1;
  332. -ms-grid-row: 1;
  333. -ms-grid-row-span: 2;
  334. grid-row: 1/span 2;
  335. padding: 32px;
  336. background-color: #BD3854;
  337. background-color: var(--accent-1);
  338. color: white;
  339. padding: 32px;
  340. }
  341. .about__header-title h1 {
  342. padding: 0;
  343. color: inherit;
  344. }
  345. .about__header-title h1 span {
  346. display: block;
  347. font-weight: 600;
  348. font-size: 1.2em;
  349. line-height: 1;
  350. }
  351. .about__header-badge {
  352. -ms-grid-column: 2;
  353. grid-column: 2;
  354. -ms-grid-row: 1;
  355. grid-row: 1;
  356. background-color: #5F1B29;
  357. background-color: var(--accent-2);
  358. margin: 0;
  359. padding: 32px;
  360. justify-content: flex-end;
  361. }
  362. .about__header-badge img {
  363. align-self: flex-start;
  364. max-width: 100%;
  365. }
  366. .about__header-text {
  367. -ms-grid-column: 2;
  368. grid-column: 2;
  369. -ms-grid-row: 2;
  370. grid-row: 2;
  371. padding: 32px;
  372. background-color: #321017;
  373. background-color: var(--accent-3);
  374. color: white;
  375. font-size: 1.5em;
  376. line-height: 1.4;
  377. }
  378. .about__header-text p {
  379. margin: 0;
  380. }
  381. .about__header-navigation {
  382. -ms-grid-column: 1;
  383. -ms-grid-column-span: 2;
  384. grid-column: 1/span 2;
  385. -ms-grid-row: 3;
  386. grid-row: 3;
  387. padding-top: 0;
  388. background: #FEFCF7;
  389. background: var(--nav-background);
  390. color: #716d64;
  391. color: var(--nav-color);
  392. border-bottom: 3px solid currentColor;
  393. }
  394. .about__header-navigation .nav-tab {
  395. margin-right: 0;
  396. padding: 24px 32px;
  397. font-size: 1.4em;
  398. line-height: 1;
  399. border-width: 0 0 3px;
  400. border-style: solid;
  401. border-color: transparent;
  402. background: transparent;
  403. color: inherit;
  404. }
  405. .about__header-navigation .nav-tab:hover,
  406. .about__header-navigation .nav-tab:active {
  407. background-color: #F4EFE1;
  408. background-color: var(--background);
  409. }
  410. .about__header-navigation .nav-tab-active {
  411. margin-bottom: -3px;
  412. border-width: 0 0 6px;
  413. color: #BD3854;
  414. color: var(--accent-1);
  415. border-color: currentColor;
  416. }
  417. .about__header-navigation .nav-tab-active:hover,
  418. .about__header-navigation .nav-tab-active:active {
  419. background-color: transparent;
  420. border-color: currentColor;
  421. }
  422. @media screen and (max-width: 782px) {
  423. .about__container .about__header-text {
  424. font-size: 1.4em;
  425. }
  426. }
  427. @media screen and (max-width: 600px) {
  428. .about__header {
  429. display: block;
  430. min-height: unset;
  431. max-height: unset;
  432. height: auto;
  433. }
  434. .about__header-badge {
  435. justify-content: flex-start;
  436. }
  437. .about__header-navigation .nav-tab {
  438. margin-top: 0;
  439. margin-left: 0;
  440. padding: 24px 16px;
  441. }
  442. }
  443. @media screen and (max-width: 480px) {
  444. .about__header-navigation .nav-tab {
  445. float: none;
  446. display: block;
  447. margin-bottom: 0;
  448. padding: 16px 16px;
  449. border-right-width: 3px;
  450. border-bottom: none;
  451. }
  452. .about__header-navigation .nav-tab-active {
  453. border-bottom: none;
  454. border-right-width: 3px;
  455. background: #F4EFE1;
  456. background: var(--background);
  457. }
  458. }
  459. /*------------------------------------------------------------------------------
  460. 2.0 - Credits Page
  461. ------------------------------------------------------------------------------*/
  462. .about__section .wp-people-group {
  463. margin: 0;
  464. }
  465. .about__section .wp-person {
  466. display: inline-block;
  467. vertical-align: top;
  468. box-sizing: border-box;
  469. padding: 0 0 1em 1em;
  470. height: 6em;
  471. width: calc( 33% - 4px );
  472. min-width: 280px;
  473. }
  474. .about__section .compact .wp-person {
  475. height: auto;
  476. width: calc( 25% - 4px );
  477. min-width: 220px;
  478. padding-bottom: 0.5em;
  479. }
  480. .about__section .wp-person .gravatar {
  481. float: right;
  482. margin: -4px 0 0.85em 0.85em;
  483. padding: 1px;
  484. width: 80px;
  485. height: 80px;
  486. border-radius: 100%;
  487. }
  488. .about__section .compact .wp-person .gravatar {
  489. width: 40px;
  490. height: 40px;
  491. }
  492. .about__section .wp-person .web {
  493. font-size: 1.4em;
  494. font-weight: 600;
  495. text-decoration: none;
  496. color: #413E38;
  497. color: var(--text);
  498. }
  499. .about__section .wp-person .web:hover {
  500. text-decoration: underline;
  501. }
  502. .about__section .compact .wp-person .web {
  503. font-size: 1.2em;
  504. }
  505. .about__section .wp-person .title {
  506. display: block;
  507. margin-top: 0.5em;
  508. }
  509. @media screen and (max-width: 480px) {
  510. .about__section .wp-person {
  511. min-width: 100%;
  512. }
  513. .about__section .wp-person .gravatar {
  514. width: 60px;
  515. height: 60px;
  516. }
  517. .about__section .wp-person .web {
  518. font-size: 1em;
  519. }
  520. .about__section .compact .wp-person .web {
  521. font-size: 1em;
  522. }
  523. }
  524. /*------------------------------------------------------------------------------
  525. 3.0 - Freedoms Page
  526. ------------------------------------------------------------------------------*/
  527. .about__section .column .freedoms-image {
  528. margin-bottom: 1em;
  529. }
  530. /*------------------------------------------------------------------------------
  531. x.2.0 - Legacy About Styles: Global
  532. ------------------------------------------------------------------------------*/
  533. .about-wrap {
  534. position: relative;
  535. margin: 25px 20px 0 40px;
  536. max-width: 1050px; /* readability */
  537. font-size: 15px;
  538. }
  539. .about-wrap.full-width-layout {
  540. max-width: 1200px;
  541. }
  542. .about-wrap-content {
  543. max-width: 1050px;
  544. }
  545. .about-wrap div.updated,
  546. .about-wrap div.error,
  547. .about-wrap .notice {
  548. display: none !important;
  549. }
  550. .about-wrap hr {
  551. border: 0;
  552. height: 0;
  553. margin: 3em 0 0;
  554. border-top: 1px solid rgba(0, 0, 0, 0.1);
  555. }
  556. .about-wrap img {
  557. margin: 0;
  558. width: 100%;
  559. height: auto;
  560. vertical-align: middle;
  561. }
  562. .about-wrap .inline-svg img {
  563. max-width: 100%;
  564. width: auto;
  565. height: auto;
  566. }
  567. .about-wrap video {
  568. margin: 1.5em auto;
  569. }
  570. /* WordPress Version Badge */
  571. .wp-badge {
  572. background: #0073aa url(../images/w-logo-white.png?ver=20160308) no-repeat;
  573. background-position: center 25px;
  574. background-size: 80px 80px;
  575. color: #fff;
  576. font-size: 14px;
  577. text-align: center;
  578. font-weight: 600;
  579. margin: 5px 0 0;
  580. padding-top: 120px;
  581. height: 40px;
  582. display: inline-block;
  583. width: 140px;
  584. text-rendering: optimizeLegibility;
  585. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  586. }
  587. .svg .wp-badge {
  588. background-image: url(../images/wordpress-logo-white.svg?ver=20160308);
  589. }
  590. .about-wrap .wp-badge {
  591. position: absolute;
  592. top: 0;
  593. left: 0;
  594. }
  595. /* Tabs */
  596. .about-wrap .nav-tab {
  597. padding-left: 15px;
  598. padding-right: 15px;
  599. font-size: 18px;
  600. line-height: 1.33333333;
  601. }
  602. /* x.2.1 - Typography */
  603. .about-wrap h1 {
  604. margin: 0.2em 0 0 200px;
  605. padding: 0;
  606. color: #32373c;
  607. line-height: 1.2;
  608. font-size: 2.8em;
  609. font-weight: 400;
  610. }
  611. .about-wrap h2 {
  612. margin: 40px 0 0.6em;
  613. font-size: 2.7em;
  614. line-height: 1.3;
  615. font-weight: 300;
  616. text-align: center;
  617. }
  618. .about-wrap h3 {
  619. margin: 1.25em 0 0.6em;
  620. font-size: 1.4em;
  621. line-height: 1.5;
  622. }
  623. .about-wrap h4 {
  624. font-size: 16px;
  625. color: #23282d;
  626. }
  627. .about-wrap p {
  628. line-height: 1.5;
  629. font-size: 16px;
  630. }
  631. .about-wrap code,
  632. .about-wrap ol li p {
  633. font-size: 14px;
  634. font-weight: 400;
  635. }
  636. .about-wrap figcaption {
  637. font-size: 13px;
  638. text-align: center;
  639. color: white;
  640. text-overflow: ellipsis;
  641. }
  642. .about-wrap .about-description,
  643. .about-wrap .about-text {
  644. margin-top: 1.4em;
  645. font-weight: 400;
  646. line-height: 1.6;
  647. font-size: 19px;
  648. }
  649. .about-wrap .about-text {
  650. margin: 1em 0 1em 200px;
  651. color: #555d66;
  652. }
  653. /* x.2.2 - Structure */
  654. .about-wrap .has-1-columns,
  655. .about-wrap .has-2-columns,
  656. .about-wrap .has-3-columns,
  657. .about-wrap .has-4-columns {
  658. display: -ms-grid;
  659. display: grid;
  660. max-width: 800px;
  661. margin-top: 40px;
  662. margin-right: auto;
  663. margin-left: auto;
  664. }
  665. .about-wrap .column {
  666. margin-left: 20px;
  667. margin-right: 20px;
  668. }
  669. .about-wrap .is-wide {
  670. max-width: 760px;
  671. }
  672. .about-wrap .is-fullwidth {
  673. max-width: 100%;
  674. }
  675. .about-wrap .has-1-columns {
  676. display: block;
  677. max-width: 680px;
  678. margin: 0 auto 40px;
  679. }
  680. .about-wrap .has-2-columns {
  681. -ms-grid-columns: 1fr 1fr;
  682. grid-template-columns: 1fr 1fr;
  683. }
  684. .about-wrap .has-2-columns .column:nth-of-type(2n+1) {
  685. -ms-grid-column: 1;
  686. grid-column-start: 1;
  687. }
  688. .about-wrap .has-2-columns .column:nth-of-type(2n) {
  689. -ms-grid-column: 2;
  690. grid-column-start: 2;
  691. }
  692. .about-wrap .has-2-columns.is-wider-right {
  693. -ms-grid-columns: 1fr 2fr;
  694. grid-template-columns: 1fr 2fr;
  695. }
  696. .about-wrap .has-2-columns.is-wider-left {
  697. -ms-grid-columns: 2fr 1fr;
  698. grid-template-columns: 2fr 1fr;
  699. }
  700. .about-wrap .has-3-columns {
  701. -ms-grid-columns: (1fr)[3];
  702. grid-template-columns: repeat(3, 1fr);
  703. }
  704. .about-wrap .has-3-columns .column:nth-of-type(3n+1) {
  705. -ms-grid-column: 1;
  706. grid-column-start: 1;
  707. }
  708. .about-wrap .has-3-columns .column:nth-of-type(3n+2) {
  709. -ms-grid-column: 2;
  710. grid-column-start: 2;
  711. }
  712. .about-wrap .has-3-columns .column:nth-of-type(3n) {
  713. -ms-grid-column: 3;
  714. grid-column-start: 3;
  715. }
  716. .about-wrap .has-4-columns {
  717. -ms-grid-columns: (1fr)[4];
  718. grid-template-columns: repeat(4, 1fr);
  719. }
  720. .about-wrap .has-4-columns .column:nth-of-type(4n+1) {
  721. -ms-grid-column: 1;
  722. grid-column-start: 1;
  723. }
  724. .about-wrap .has-4-columns .column:nth-of-type(4n+2) {
  725. -ms-grid-column: 2;
  726. grid-column-start: 2;
  727. }
  728. .about-wrap .has-4-columns .column:nth-of-type(4n+3) {
  729. -ms-grid-column: 3;
  730. grid-column-start: 3;
  731. }
  732. .about-wrap .has-4-columns .column:nth-of-type(4n) {
  733. -ms-grid-column: 4;
  734. grid-column-start: 4;
  735. }
  736. .about-wrap .column :first-child {
  737. margin-top: 0;
  738. }
  739. .about-wrap .aligncenter {
  740. text-align: center;
  741. }
  742. .about-wrap .alignleft {
  743. float: right;
  744. margin-left: 40px;
  745. }
  746. .about-wrap .alignright {
  747. float: left;
  748. margin-right: 40px;
  749. }
  750. .about-wrap .is-vertically-aligned-top {
  751. -ms-grid-row-align: start;
  752. align-self: start;
  753. }
  754. .about-wrap .is-vertically-aligned-center {
  755. -ms-grid-row-align: center;
  756. align-self: center;
  757. }
  758. .about-wrap .is-vertically-aligned-bottom {
  759. -ms-grid-row-align: end;
  760. align-self: end;
  761. }
  762. /* x.2.3 - Point Releases */
  763. .about-wrap .point-releases {
  764. margin-top: 5px;
  765. border-bottom: 1px solid #ddd;
  766. }
  767. .about-wrap .changelog {
  768. margin-bottom: 40px;
  769. }
  770. .about-wrap .changelog.point-releases h3 {
  771. padding-top: 35px;
  772. }
  773. .about-wrap .changelog.point-releases h3:first-child {
  774. padding-top: 7px;
  775. }
  776. .about-wrap .changelog.feature-section .col {
  777. margin-top: 40px;
  778. }
  779. /*------------------------------------------------------------------------------
  780. x.3.0 - Legacy About Styles: About Page
  781. ------------------------------------------------------------------------------*/
  782. /* x.3.1 - Typography */
  783. .about-wrap .lead-description {
  784. font-size: 1.5em;
  785. text-align: center;
  786. }
  787. .about-wrap .feature-section p {
  788. margin-top: 0.6em;
  789. }
  790. /* x.3.2 - Structure */
  791. .about-wrap .headline-feature {
  792. margin: 0 auto 40px;
  793. max-width: 680px;
  794. }
  795. .about-wrap .headline-feature h2 {
  796. margin: 50px 0 0;
  797. }
  798. .about-wrap .headline-feature img {
  799. max-width: 600px;
  800. width: 100%;
  801. }
  802. /* Return to Dashboard Home link */
  803. .about-wrap .return-to-dashboard {
  804. margin: 30px -5px 0 0;
  805. font-size: 14px;
  806. font-weight: 600;
  807. }
  808. .about-wrap .return-to-dashboard a {
  809. text-decoration: none;
  810. padding: 0 5px;
  811. }
  812. /*------------------------------------------------------------------------------
  813. x.4.0 - Legacy About Styles: Credits & Freedoms Pages
  814. ------------------------------------------------------------------------------*/
  815. /* Credits */
  816. .about-wrap h2.wp-people-group {
  817. margin: 2.6em 0 1.33em;
  818. padding: 0;
  819. font-size: 16px;
  820. line-height: inherit;
  821. font-weight: 600;
  822. text-align: right;
  823. }
  824. .about-wrap .wp-people-group {
  825. padding: 0 5px;
  826. margin: 0 -5px 0 -15px;
  827. }
  828. .about-wrap .compact {
  829. margin-bottom: 0;
  830. }
  831. .about-wrap .wp-person {
  832. display: inline-block;
  833. vertical-align: top;
  834. margin-left: 10px;
  835. padding-bottom: 15px;
  836. height: 70px;
  837. width: 280px;
  838. }
  839. .about-wrap .compact .wp-person {
  840. height: auto;
  841. width: 180px;
  842. padding-bottom: 0;
  843. margin-bottom: 0;
  844. }
  845. .about-wrap .wp-person .gravatar {
  846. float: right;
  847. margin: 0 0 10px 10px;
  848. padding: 1px;
  849. width: 60px;
  850. height: 60px;
  851. }
  852. .about-wrap .compact .wp-person .gravatar {
  853. width: 30px;
  854. height: 30px;
  855. }
  856. .about-wrap .wp-person .web {
  857. margin: 6px 0 2px;
  858. font-size: 16px;
  859. font-weight: 400;
  860. line-height: 2;
  861. text-decoration: none;
  862. }
  863. .about-wrap .wp-person .title {
  864. display: block;
  865. }
  866. .about-wrap #wp-people-group-validators + p.wp-credits-list {
  867. margin-top: 0;
  868. }
  869. .about-wrap p.wp-credits-list a {
  870. white-space: nowrap;
  871. }
  872. /* Freedoms */
  873. .freedoms-php .about-wrap ol {
  874. margin: 40px 60px;
  875. }
  876. .freedoms-php .about-wrap ol li {
  877. list-style-type: decimal;
  878. font-weight: 600;
  879. }
  880. .freedoms-php .about-wrap ol p {
  881. font-weight: 400;
  882. margin: 0.6em 0;
  883. }
  884. .freedoms-php .has-4-columns {
  885. margin-bottom: 40px;
  886. }
  887. .freedoms-php .column .freedoms-image {
  888. background-image: url('https://s.w.org/wp-content/themes/pub/wporg-main/images/freedoms-2x.png');
  889. background-size: 100%;
  890. padding-top: 100%;
  891. }
  892. .freedoms-php .column:nth-of-type(2) .freedoms-image {
  893. background-position: 100% 34%;
  894. }
  895. .freedoms-php .column:nth-of-type(3) .freedoms-image {
  896. background-position: 100% 66%;
  897. }
  898. .freedoms-php .column:nth-of-type(4) .freedoms-image {
  899. background-position: 100% 100%;
  900. }
  901. /*------------------------------------------------------------------------------
  902. x.5.0 - Legacy About Styles: Media Queries
  903. ------------------------------------------------------------------------------*/
  904. @media screen and (max-width: 782px) {
  905. .about-wrap .has-3-columns,
  906. .about-wrap .has-4-columns {
  907. -ms-grid-columns: 1fr 1fr;
  908. grid-template-columns: 1fr 1fr;
  909. }
  910. .about-wrap .has-3-columns .column:nth-of-type(3n+1),
  911. .about-wrap .has-4-columns .column:nth-of-type(4n+1) {
  912. -ms-grid-column: 1;
  913. grid-column-start: 1;
  914. -ms-grid-row: 1;
  915. grid-row-start: 1;
  916. }
  917. .about-wrap .has-3-columns .column:nth-of-type(3n+2),
  918. .about-wrap .has-4-columns .column:nth-of-type(4n+2) {
  919. -ms-grid-column: 2;
  920. grid-column-start: 2;
  921. -ms-grid-row: 1;
  922. grid-row-start: 1;
  923. }
  924. .about-wrap .has-3-columns .column:nth-of-type(3n),
  925. .about-wrap .has-4-columns .column:nth-of-type(4n+3) {
  926. -ms-grid-column: 1;
  927. grid-column-start: 1;
  928. -ms-grid-row: 2;
  929. grid-row-start: 2;
  930. }
  931. .about-wrap .has-4-columns .column:nth-of-type(4n) {
  932. -ms-grid-column: 2;
  933. grid-column-start: 2;
  934. -ms-grid-row: 2;
  935. grid-row-start: 2;
  936. }
  937. }
  938. @media screen and (max-width: 600px) {
  939. .about-wrap .has-2-columns,
  940. .about-wrap .has-3-columns,
  941. .about-wrap .has-4-columns {
  942. display: block;
  943. }
  944. .about-wrap :not(.is-wider-right):not(.is-wider-left) .column {
  945. margin-left: 0;
  946. margin-right: 0;
  947. }
  948. .about-wrap .has-2-columns.is-wider-right,
  949. .about-wrap .has-2-columns.is-wider-left {
  950. display: -ms-grid;
  951. display: grid;
  952. }
  953. }
  954. @media only screen and (max-width: 500px) {
  955. .about-wrap {
  956. margin-left: 20px;
  957. margin-right: 10px;
  958. }
  959. .about-wrap h1,
  960. .about-wrap .about-text {
  961. margin-left: 0;
  962. }
  963. .about-wrap .about-text {
  964. margin-bottom: 0.25em;
  965. }
  966. .about-wrap .wp-badge {
  967. position: relative;
  968. margin-bottom: 1.5em;
  969. width: 100%;
  970. }
  971. }
  972. @media only screen and (max-width: 480px) {
  973. .about-wrap .has-2-columns.is-wider-right,
  974. .about-wrap .has-2-columns.is-wider-left {
  975. display: block;
  976. }
  977. .about-wrap .column {
  978. margin-left: 0;
  979. margin-right: 0;
  980. }
  981. .about-wrap .has-2-columns.is-wider-right img,
  982. .about-wrap .has-2-columns.is-wider-left img {
  983. max-width: 160px;
  984. }
  985. }