style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. /**
  2. * Colors
  3. */
  4. /**
  5. * Breakpoints & Media Queries
  6. */
  7. /**
  8. * SCSS Variables.
  9. *
  10. * Please use variables from this sheet to ensure consistency across the UI.
  11. * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
  12. * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
  13. */
  14. /**
  15. * Colors
  16. */
  17. /**
  18. * Fonts & basic variables.
  19. */
  20. /**
  21. * Grid System.
  22. * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
  23. */
  24. /**
  25. * Dimensions.
  26. */
  27. /**
  28. * Shadows.
  29. */
  30. /**
  31. * Editor widths.
  32. */
  33. /**
  34. * Block & Editor UI.
  35. */
  36. /**
  37. * Block paddings.
  38. */
  39. /**
  40. * React Native specific.
  41. * These variables do not appear to be used anywhere else.
  42. */
  43. /**
  44. * Converts a hex value into the rgb equivalent.
  45. *
  46. * @param {string} hex - the hexadecimal value to convert
  47. * @return {string} comma separated rgb values
  48. */
  49. /**
  50. * Breakpoint mixins
  51. */
  52. /**
  53. * Long content fade mixin
  54. *
  55. * Creates a fading overlay to signify that the content is longer
  56. * than the space allows.
  57. */
  58. /**
  59. * Focus styles.
  60. */
  61. /**
  62. * Applies editor left position to the selector passed as argument
  63. */
  64. /**
  65. * Styles that are reused verbatim in a few places
  66. */
  67. /**
  68. * Allows users to opt-out of animations via OS-level preferences.
  69. */
  70. /**
  71. * Reset default styles for JavaScript UI based pages.
  72. * This is a WP-admin agnostic reset
  73. */
  74. /**
  75. * Reset the WP Admin page styles for Gutenberg-like pages.
  76. */
  77. .wp-block-social-links {
  78. box-sizing: border-box;
  79. padding-left: 0;
  80. padding-right: 0;
  81. text-indent: 0;
  82. margin-left: 0;
  83. background: none;
  84. }
  85. .wp-block-social-links .wp-social-link a,
  86. .wp-block-social-links .wp-social-link a:hover {
  87. text-decoration: none;
  88. border-bottom: 0;
  89. box-shadow: none;
  90. }
  91. .wp-block-social-links .wp-social-link a {
  92. padding: 0.25em;
  93. }
  94. .wp-block-social-links .wp-social-link svg {
  95. width: 1em;
  96. height: 1em;
  97. }
  98. .wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
  99. margin-left: 0.5em;
  100. margin-right: 0.5em;
  101. font-size: 0.65em;
  102. }
  103. .wp-block-social-links.has-small-icon-size {
  104. font-size: 16px;
  105. }
  106. .wp-block-social-links, .wp-block-social-links.has-normal-icon-size {
  107. font-size: 24px;
  108. }
  109. .wp-block-social-links.has-large-icon-size {
  110. font-size: 36px;
  111. }
  112. .wp-block-social-links.has-huge-icon-size {
  113. font-size: 48px;
  114. }
  115. .wp-block-social-links.aligncenter {
  116. justify-content: center;
  117. display: flex;
  118. }
  119. .wp-block-social-links.alignright {
  120. justify-content: flex-end;
  121. }
  122. .wp-block-social-link {
  123. display: block;
  124. border-radius: 9999px;
  125. transition: transform 0.1s ease;
  126. height: auto;
  127. }
  128. @media (prefers-reduced-motion: reduce) {
  129. .wp-block-social-link {
  130. transition-duration: 0s;
  131. transition-delay: 0s;
  132. }
  133. }
  134. .wp-block-social-link a {
  135. align-items: center;
  136. display: flex;
  137. line-height: 0;
  138. transition: transform 0.1s ease;
  139. }
  140. .wp-block-social-link:hover {
  141. transform: scale(1.1);
  142. }
  143. .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:hover, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:active, .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor:visited,
  144. .wp-block-social-links .wp-block-social-link .wp-block-social-link-anchor svg {
  145. color: currentColor;
  146. fill: currentColor;
  147. }
  148. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link {
  149. background-color: #f0f0f0;
  150. color: #444;
  151. }
  152. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-amazon {
  153. background-color: #f90;
  154. color: #fff;
  155. }
  156. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-bandcamp {
  157. background-color: #1ea0c3;
  158. color: #fff;
  159. }
  160. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-behance {
  161. background-color: #0757fe;
  162. color: #fff;
  163. }
  164. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-codepen {
  165. background-color: #1e1f26;
  166. color: #fff;
  167. }
  168. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-deviantart {
  169. background-color: #02e49b;
  170. color: #fff;
  171. }
  172. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dribbble {
  173. background-color: #e94c89;
  174. color: #fff;
  175. }
  176. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-dropbox {
  177. background-color: #4280ff;
  178. color: #fff;
  179. }
  180. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-etsy {
  181. background-color: #f45800;
  182. color: #fff;
  183. }
  184. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook {
  185. background-color: #1778f2;
  186. color: #fff;
  187. }
  188. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-fivehundredpx {
  189. background-color: #000;
  190. color: #fff;
  191. }
  192. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-flickr {
  193. background-color: #0461dd;
  194. color: #fff;
  195. }
  196. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-foursquare {
  197. background-color: #e65678;
  198. color: #fff;
  199. }
  200. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-github {
  201. background-color: #24292d;
  202. color: #fff;
  203. }
  204. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-goodreads {
  205. background-color: #eceadd;
  206. color: #382110;
  207. }
  208. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-google {
  209. background-color: #ea4434;
  210. color: #fff;
  211. }
  212. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-instagram {
  213. background-color: #f00075;
  214. color: #fff;
  215. }
  216. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-lastfm {
  217. background-color: #e21b24;
  218. color: #fff;
  219. }
  220. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-linkedin {
  221. background-color: #0d66c2;
  222. color: #fff;
  223. }
  224. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-mastodon {
  225. background-color: #3288d4;
  226. color: #fff;
  227. }
  228. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-medium {
  229. background-color: #02ab6c;
  230. color: #fff;
  231. }
  232. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-meetup {
  233. background-color: #f6405f;
  234. color: #fff;
  235. }
  236. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-patreon {
  237. background-color: #ff424d;
  238. color: #fff;
  239. }
  240. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pinterest {
  241. background-color: #e60122;
  242. color: #fff;
  243. }
  244. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-pocket {
  245. background-color: #ef4155;
  246. color: #fff;
  247. }
  248. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-reddit {
  249. background-color: #ff4500;
  250. color: #fff;
  251. }
  252. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-skype {
  253. background-color: #0478d7;
  254. color: #fff;
  255. }
  256. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-snapchat {
  257. background-color: #fefc00;
  258. color: #fff;
  259. stroke: #000;
  260. }
  261. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-soundcloud {
  262. background-color: #ff5600;
  263. color: #fff;
  264. }
  265. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-spotify {
  266. background-color: #1bd760;
  267. color: #fff;
  268. }
  269. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-telegram {
  270. background-color: #2aabee;
  271. color: #fff;
  272. }
  273. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tiktok {
  274. background-color: #000;
  275. color: #fff;
  276. }
  277. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-tumblr {
  278. background-color: #011835;
  279. color: #fff;
  280. }
  281. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitch {
  282. background-color: #6440a4;
  283. color: #fff;
  284. }
  285. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-twitter {
  286. background-color: #1da1f2;
  287. color: #fff;
  288. }
  289. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vimeo {
  290. background-color: #1eb7ea;
  291. color: #fff;
  292. }
  293. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-vk {
  294. background-color: #4680c2;
  295. color: #fff;
  296. }
  297. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-wordpress {
  298. background-color: #3499cd;
  299. color: #fff;
  300. }
  301. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-whatsapp {
  302. background-color: #25d366;
  303. color: #fff;
  304. }
  305. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-yelp {
  306. background-color: #d32422;
  307. color: #fff;
  308. }
  309. .wp-block-social-links:not(.is-style-logos-only) .wp-social-link-youtube {
  310. background-color: #f00;
  311. color: #fff;
  312. }
  313. .wp-block-social-links.is-style-logos-only .wp-social-link {
  314. background: none;
  315. }
  316. .wp-block-social-links.is-style-logos-only .wp-social-link a {
  317. padding: 0;
  318. }
  319. .wp-block-social-links.is-style-logos-only .wp-social-link svg {
  320. width: 1.25em;
  321. height: 1.25em;
  322. }
  323. .wp-block-social-links.is-style-logos-only .wp-social-link-amazon {
  324. color: #f90;
  325. }
  326. .wp-block-social-links.is-style-logos-only .wp-social-link-bandcamp {
  327. color: #1ea0c3;
  328. }
  329. .wp-block-social-links.is-style-logos-only .wp-social-link-behance {
  330. color: #0757fe;
  331. }
  332. .wp-block-social-links.is-style-logos-only .wp-social-link-codepen {
  333. color: #1e1f26;
  334. }
  335. .wp-block-social-links.is-style-logos-only .wp-social-link-deviantart {
  336. color: #02e49b;
  337. }
  338. .wp-block-social-links.is-style-logos-only .wp-social-link-dribbble {
  339. color: #e94c89;
  340. }
  341. .wp-block-social-links.is-style-logos-only .wp-social-link-dropbox {
  342. color: #4280ff;
  343. }
  344. .wp-block-social-links.is-style-logos-only .wp-social-link-etsy {
  345. color: #f45800;
  346. }
  347. .wp-block-social-links.is-style-logos-only .wp-social-link-facebook {
  348. color: #1778f2;
  349. }
  350. .wp-block-social-links.is-style-logos-only .wp-social-link-fivehundredpx {
  351. color: #000;
  352. }
  353. .wp-block-social-links.is-style-logos-only .wp-social-link-flickr {
  354. color: #0461dd;
  355. }
  356. .wp-block-social-links.is-style-logos-only .wp-social-link-foursquare {
  357. color: #e65678;
  358. }
  359. .wp-block-social-links.is-style-logos-only .wp-social-link-github {
  360. color: #24292d;
  361. }
  362. .wp-block-social-links.is-style-logos-only .wp-social-link-goodreads {
  363. color: #382110;
  364. }
  365. .wp-block-social-links.is-style-logos-only .wp-social-link-google {
  366. color: #ea4434;
  367. }
  368. .wp-block-social-links.is-style-logos-only .wp-social-link-instagram {
  369. color: #f00075;
  370. }
  371. .wp-block-social-links.is-style-logos-only .wp-social-link-lastfm {
  372. color: #e21b24;
  373. }
  374. .wp-block-social-links.is-style-logos-only .wp-social-link-linkedin {
  375. color: #0d66c2;
  376. }
  377. .wp-block-social-links.is-style-logos-only .wp-social-link-mastodon {
  378. color: #3288d4;
  379. }
  380. .wp-block-social-links.is-style-logos-only .wp-social-link-medium {
  381. color: #02ab6c;
  382. }
  383. .wp-block-social-links.is-style-logos-only .wp-social-link-meetup {
  384. color: #f6405f;
  385. }
  386. .wp-block-social-links.is-style-logos-only .wp-social-link-patreon {
  387. color: #ff424d;
  388. }
  389. .wp-block-social-links.is-style-logos-only .wp-social-link-pinterest {
  390. color: #e60122;
  391. }
  392. .wp-block-social-links.is-style-logos-only .wp-social-link-pocket {
  393. color: #ef4155;
  394. }
  395. .wp-block-social-links.is-style-logos-only .wp-social-link-reddit {
  396. color: #ff4500;
  397. }
  398. .wp-block-social-links.is-style-logos-only .wp-social-link-skype {
  399. color: #0478d7;
  400. }
  401. .wp-block-social-links.is-style-logos-only .wp-social-link-snapchat {
  402. color: #fff;
  403. stroke: #000;
  404. }
  405. .wp-block-social-links.is-style-logos-only .wp-social-link-soundcloud {
  406. color: #ff5600;
  407. }
  408. .wp-block-social-links.is-style-logos-only .wp-social-link-spotify {
  409. color: #1bd760;
  410. }
  411. .wp-block-social-links.is-style-logos-only .wp-social-link-telegram {
  412. color: #2aabee;
  413. }
  414. .wp-block-social-links.is-style-logos-only .wp-social-link-tiktok {
  415. color: #000;
  416. }
  417. .wp-block-social-links.is-style-logos-only .wp-social-link-tumblr {
  418. color: #011835;
  419. }
  420. .wp-block-social-links.is-style-logos-only .wp-social-link-twitch {
  421. color: #6440a4;
  422. }
  423. .wp-block-social-links.is-style-logos-only .wp-social-link-twitter {
  424. color: #1da1f2;
  425. }
  426. .wp-block-social-links.is-style-logos-only .wp-social-link-vimeo {
  427. color: #1eb7ea;
  428. }
  429. .wp-block-social-links.is-style-logos-only .wp-social-link-vk {
  430. color: #4680c2;
  431. }
  432. .wp-block-social-links.is-style-logos-only .wp-social-link-whatsapp {
  433. color: #25d366;
  434. }
  435. .wp-block-social-links.is-style-logos-only .wp-social-link-wordpress {
  436. color: #3499cd;
  437. }
  438. .wp-block-social-links.is-style-logos-only .wp-social-link-yelp {
  439. color: #d32422;
  440. }
  441. .wp-block-social-links.is-style-logos-only .wp-social-link-youtube {
  442. color: #f00;
  443. }
  444. .wp-block-social-links.is-style-pill-shape .wp-social-link {
  445. width: auto;
  446. }
  447. .wp-block-social-links.is-style-pill-shape .wp-social-link a {
  448. padding-left: calc((2/3) * 1em);
  449. padding-right: calc((2/3) * 1em);
  450. }