blocks.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. /*
  2. Theme Name: Ixion
  3. Description: Used to style Gutenberg Blocks.
  4. */
  5. /*--------------------------------------------------------------
  6. >>> TABLE OF CONTENTS:
  7. ----------------------------------------------------------------
  8. 1.0 General Block Styles
  9. 2.0 Blocks - Common Blocks
  10. 3.0 Blocks - Formatting
  11. 4.0 Blocks - Layout Elements
  12. 5.0 Blocks - Widgets
  13. 6.0 Blocks - Colors
  14. --------------------------------------------------------------*/
  15. /*--------------------------------------------------------------
  16. 1.0 General Block Styles
  17. --------------------------------------------------------------*/
  18. /* Alignments */
  19. .no-sidebar #page {
  20. overflow-x: hidden;
  21. }
  22. /* Full Width */
  23. .no-sidebar .alignfull,
  24. .no-sidebar .wp-block-group .alignfull {
  25. position: relative;
  26. min-width: 100vw;
  27. margin-left: 50%;
  28. left: -50vw;
  29. }
  30. .no-sidebar .wp-block-columns.alignfull,
  31. .no-sidebar .wp-block-latest-comments.alignfull,
  32. .no-sidebar .wp-block-categories.alignfull,
  33. .no-sidebar .wp-block-archives.alignfull,
  34. .no-sidebar .wp-block-latest-posts.alignfull,
  35. .no-sidebar .wp-block-file.alignfull {
  36. padding-left: 2em;
  37. padding-right: 2em;
  38. }
  39. .no-sidebar .wp-block-embed.is-type-video.alignfull iframe {
  40. width: 100% !important;
  41. height: 100% !important;
  42. }
  43. .rtl.no-sidebar .alignfull {
  44. left: auto;
  45. right: 50%;
  46. transform: translateX(50%);
  47. }
  48. /* Wide Width */
  49. @media (min-width: 1024px) {
  50. .no-sidebar .alignwide,
  51. .no-sidebar .wp-block-group .alignwide {
  52. width: 120%;
  53. max-width: 120%;
  54. margin-left: -10%;
  55. margin-right: -10%;
  56. position: relative;
  57. }
  58. .no-sidebar .wp-block-embed.is-type-video.alignwide iframe {
  59. width: 100% !important;
  60. height: 100% !important;
  61. }
  62. }
  63. /* Nested Blocks */
  64. .no-sidebar *[class^="wp-block"] .alignwide,
  65. .no-sidebar *[class^="wp-block"] .alignfull {
  66. min-width: inherit;
  67. max-width: inherit;
  68. margin-left: inherit;
  69. margin-right: inherit;
  70. left: initial;
  71. transform: none;
  72. }
  73. /* Captions */
  74. [class^="wp-block-"] figcaption {
  75. color: inherit;
  76. font-size: inherit;
  77. text-align: center;
  78. }
  79. /*--------------------------------------------------------------
  80. 2.0 Blocks - Common Blocks
  81. --------------------------------------------------------------*/
  82. /* Paragraph */
  83. p.has-drop-cap:not(:focus)::first-letter {
  84. font-size: 110px;
  85. line-height: 1.1;
  86. margin-top: 0.1em;
  87. }
  88. /* Gallery */
  89. .wp-block-gallery {
  90. margin-bottom: 1.5em;
  91. margin-left: auto;
  92. }
  93. .rtl .wp-block-gallery:not(.alignfull):not(.alignwide) {
  94. margin-right: auto;
  95. }
  96. /* Quote */
  97. .wp-block-quote {
  98. font-style: normal;
  99. margin: 0 1.5em 1.5em;
  100. }
  101. .wp-block-quote,
  102. .wp-block-quote.is-large p,
  103. .wp-block-quote.is-style-large p {
  104. font-style: normal;
  105. }
  106. .wp-block-quote.alignleft {
  107. margin-right: 1.5em;
  108. }
  109. .wp-block-quote.alignright {
  110. margin-left: 1.5em;
  111. }
  112. .wp-block-quote cite {
  113. font-style: italic;
  114. }
  115. .wp-block-quote.is-large cite,
  116. .wp-block-quote.is-large footer,
  117. .wp-block-quote.is-style-large cite,
  118. .wp-block-quote.is-style-large footer {
  119. font-size: 80%;
  120. }
  121. .wp-block-quote.is-large,
  122. .wp-block-quote.is-style-large {
  123. margin: 0 .75em 1.5em;
  124. }
  125. .wp-block-quote.is-large,
  126. .wp-block-quote.is-style-large,
  127. .wp-block-quote.is-large p,
  128. .wp-block-quote.is-style-large p {
  129. font-size: 24px;
  130. }
  131. .wp-block-quote.is-large p,
  132. .wp-block-quote.is-style-large p {
  133. margin-bottom: .8em;
  134. }
  135. .rtl .wp-block-quote {
  136. border: 0;
  137. }
  138. /* Audio */
  139. .wp-block-audio {
  140. margin-bottom: 1.8em;
  141. }
  142. .wp-block-audio audio {
  143. display: block;
  144. width: 100%;
  145. }
  146. /* Cover */
  147. .wp-block-cover,
  148. .wp-block-cover.alignleft,
  149. .wp-block-cover.alignright,
  150. .wp-block-cover.aligncenter {
  151. display: flex;
  152. }
  153. .wp-block-cover.alignfull .wp-block-cover__inner-container {
  154. max-width: 712px;
  155. margin: 0 auto;
  156. }
  157. /* File */
  158. .wp-block-file {
  159. margin: 1.5em 0;
  160. }
  161. .wp-block-file a.wp-block-file__button,
  162. .wp-block-file a.wp-block-file__button:visited {
  163. border: 0;
  164. border-radius: 0;
  165. background: #d7b221;
  166. box-shadow: none;
  167. color: white;
  168. display: inline-block;
  169. font-size: 16px;
  170. font-weight: bold;
  171. text-transform: uppercase;
  172. letter-spacing: 1px;
  173. line-height: 1;
  174. padding: 1.4em 1.6em 1.2em;
  175. transition: 0.3s;
  176. }
  177. .wp-block-file a.wp-block-file__button:hover,
  178. .wp-block-file a.wp-block-file__button:focus {
  179. background: #c1a01e;
  180. box-shadow: none;
  181. color: #fff;
  182. transition: 0.3s;
  183. text-decoration: none;
  184. }
  185. .rtl .wp-block-file * + .wp-block-file__button {
  186. margin-left: 0.75em;
  187. margin-right: 0;
  188. }
  189. /*--------------------------------------------------------------
  190. 3.0 Blocks - Formatting Blocks
  191. --------------------------------------------------------------*/
  192. /* Verse */
  193. .wp-block-verse {
  194. background: transparent;
  195. color: inherit;
  196. font-family: inherit;
  197. font-size: inherit;
  198. font-style: italic;
  199. line-height: inherit;
  200. margin-bottom: 1.5em;
  201. max-width: 100%;
  202. overflow: auto;
  203. padding: 0;
  204. }
  205. /* Code */
  206. .wp-block-code {
  207. background: #eee;
  208. font-family: "Courier 10 Pitch", Courier, monospace;
  209. font-size: 15px;
  210. line-height: 1.6;
  211. margin-bottom: 1.875em;
  212. max-width: 100%;
  213. overflow: auto;
  214. padding: 1.875em;
  215. }
  216. /* Pullquote */
  217. .wp-block-pullquote {
  218. margin: 0;
  219. padding: 0;
  220. border: 0;
  221. }
  222. .wp-block-pullquote blockquote {
  223. border-top: 2px solid #d7b221;
  224. border-bottom: 2px solid #d7b221;
  225. font-style: italic;
  226. font-size: 24px;
  227. margin: 0 0 1.5em;
  228. padding: .8em 0;
  229. }
  230. .wp-block-pullquote cite {
  231. font-size: 18px;
  232. font-style: normal;
  233. }
  234. .wp-block-pullquote.alignleft p,
  235. .wp-block-pullquote.alignright p {
  236. font-size: 24px;
  237. }
  238. .wp-block-pullquote.alignleft {
  239. margin-right: 1.5em;
  240. }
  241. .wp-block-pullquote.alignright {
  242. margin-left: 1.5em;
  243. }
  244. .wp-block-pullquote.alignfull blockquote {
  245. padding-left: 1.5em;
  246. padding-right: 1.5em;
  247. }
  248. .rtl .wp-block-pullquote {
  249. }
  250. .wp-block-pullquote p {
  251. margin: 0;
  252. }
  253. /* Table */
  254. .wp-block-table th {
  255. text-align: left;
  256. }
  257. .no-sidebar .wp-block-table.alignfull {
  258. width: 98vw;
  259. }
  260. @media (min-width: 1024px) {
  261. .no-sidebar .wp-block-table.alignwide {
  262. width: 855px;
  263. }
  264. }
  265. .rtl .wp-block-table th {
  266. text-align: right;
  267. }
  268. /*--------------------------------------------------------------
  269. 4.0 Blocks - Layout Elements
  270. --------------------------------------------------------------*/
  271. /* Buttons */
  272. .wp-block-button .wp-block-button__link {
  273. font-size: 16px;
  274. font-weight: bold;
  275. text-transform: uppercase;
  276. letter-spacing: 1px;
  277. line-height: 1;
  278. padding: 1.4em 1.6em 1.2em;
  279. transition: 0.3s;
  280. }
  281. .wp-block-button .wp-block-button__link:active,
  282. .wp-block-button .wp-block-button__link:hover,
  283. .wp-block-button .wp-block-button__link:focus {
  284. box-shadow: none;
  285. transition: 0.3s;
  286. text-decoration: none;
  287. }
  288. .wp-block-button__link,
  289. .wp-block-button__link:visited {
  290. background: #d7b221;
  291. color: #fff;
  292. }
  293. .is-style-outline .wp-block-button__link {
  294. background: transparent;
  295. border-color: currentColor;
  296. }
  297. .is-style-outline .wp-block-button__link:not(.has-text-color) {
  298. color: #d7b221;
  299. }
  300. .entry-content .wp-block-button .wp-block-button__link:active,
  301. .entry-content .wp-block-button .wp-block-button__link:focus,
  302. .entry-content .wp-block-button .wp-block-button__link:hover {
  303. background: #c1a01e;
  304. color: #fff;
  305. }
  306. /* Group */
  307. .wp-block-group.alignfull .wp-block-group__inner-container {
  308. max-width: 712px;
  309. margin: 0 auto;
  310. }
  311. /* Seperator */
  312. hr.wp-block-separator {
  313. border: 0;
  314. }
  315. .wp-block-separator {
  316. background-color: #eeece8;
  317. border: 0;
  318. height: 1px;
  319. margin-bottom: 1.5em;
  320. max-width: 100px;
  321. }
  322. .wp-block-separator.is-style-wide {
  323. max-width: 100%;
  324. }
  325. /*--------------------------------------------------------------
  326. 5.0 Blocks - Widget Blocks
  327. --------------------------------------------------------------*/
  328. /* General Widget styles */
  329. .wp-block-categories.aligncenter,
  330. .wp-block-categories.aligncenter ul,
  331. .wp-block-archives.aligncenter,
  332. .wp-block-latest-posts.aligncenter,
  333. .wp-block-latest-comments.aligncenter {
  334. list-style-position: inside;
  335. text-align: center;
  336. }
  337. /* Categories */
  338. .wp-block-categories.aligncenter {
  339. margin-left: 1.5em;
  340. margin-right: 1.5em;
  341. text-align: center;
  342. }
  343. .wp-block-categories-list.alignleft {
  344. margin-left: 1.5em;
  345. }
  346. /* Latest Comments */
  347. .wp-block-latest-comments {
  348. margin-left: 0;
  349. margin-right: 0;
  350. }
  351. .wp-block-latest-comments__comment-meta a {
  352. color: #192930;
  353. text-decoration: none;
  354. }
  355. .wp-block-latest-comments__comment-meta,
  356. .wp-block-latest-comments__comment-excerpt p {
  357. font-size: 16px;
  358. }
  359. .wp-block-latest-comments__comment-date {
  360. color: #a5a29d;
  361. font-family: "Archivo Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  362. font-size: 14px;
  363. letter-spacing: 1px;
  364. text-transform: uppercase;
  365. }
  366. .wp-block-latest-comments .wp-block-latest-comments__comment {
  367. border-top: 1px solid #eeece8;
  368. margin-bottom: 0;
  369. padding: .8em 0;
  370. }
  371. .wp-block-latest-comments__comment-excerpt p:last-child {
  372. margin-bottom: 0;
  373. }
  374. /*--------------------------------------------------------------
  375. 6.0 Blocks - Colors
  376. --------------------------------------------------------------*/
  377. .has-medium-gray-color,
  378. .has-medium-gray-color:hover,
  379. .has-medium-gray-color:focus,
  380. .has-medium-gray-color:active,
  381. .has-medium-gray-color:visited {
  382. color: #a5a29d;
  383. }
  384. .has-medium-gray-background-color,
  385. .has-medium-gray-background-color:hover,
  386. .has-medium-gray-background-color:focus,
  387. .has-medium-gray-background-color:active,
  388. .has-medium-gray-background-color:visited {
  389. background-color: #a5a29d;
  390. }
  391. .has-light-gray-color,
  392. .has-light-gray-color:hover,
  393. .has-light-gray-color:focus,
  394. .has-light-gray-color:active,
  395. .has-light-gray-color:visited {
  396. color: #eeece8;
  397. }
  398. .has-light-gray-background-color,
  399. .has-light-gray-background-color:hover,
  400. .has-light-gray-background-color:focus,
  401. .has-light-gray-background-color:active,
  402. .has-light-gray-background-color:visited {
  403. background-color: #eeece8;
  404. }
  405. .has-white-color,
  406. .has-white-color:hover,
  407. .has-white-color:focus,
  408. .has-white-color:active,
  409. .has-white-color:visited {
  410. color: #fff;
  411. }
  412. .has-white-background-color,
  413. .has-white-background-color:hover,
  414. .has-white-background-color:focus,
  415. .has-white-background-color:active,
  416. .has-white-background-color:visited {
  417. background-color: #fff;
  418. }
  419. .has-yellow-color,
  420. .has-yellow-color:hover,
  421. .has-yellow-color:focus,
  422. .has-yellow-color:active,
  423. .has-yellow-color:visited {
  424. color: #d7b221;
  425. }
  426. .has-yellow-background-color,
  427. .has-yellow-background-color:hover,
  428. .has-yellow-background-color:focus,
  429. .has-yellow-background-color:active,
  430. .has-yellow-background-color:visited {
  431. background-color: #d7b221;
  432. }
  433. .has-dark-yellow-color,
  434. .has-dark-yellow-color:hover,
  435. .has-dark-yellow-color:focus,
  436. .has-dark-yellow-color:active,
  437. .has-dark-yellow-color:visited {
  438. color: #9c8012;
  439. }
  440. .has-dark-yellow-background-color,
  441. .has-dark-yellow-background-color:hover,
  442. .has-dark-yellow-background-color:focus,
  443. .has-dark-yellow-background-color:active,
  444. .has-dark-yellow-background-color:visited {
  445. background-color: #9c8012;
  446. }
  447. .has-dark-gray-color,
  448. .has-dark-gray-color:hover,
  449. .has-dark-gray-color:focus,
  450. .has-dark-gray-color:active,
  451. .has-dark-gray-color:visited {
  452. color: #474f53;
  453. }
  454. .has-dark-gray-background-color,
  455. .has-dark-gray-background-color:hover,
  456. .has-dark-gray-background-color:focus,
  457. .has-dark-gray-background-color:active,
  458. .has-dark-gray-background-color:visited {
  459. background-color: #474f53;
  460. }
  461. .has-black-color,
  462. .has-black-color:hover,
  463. .has-black-color:focus,
  464. .has-black-color:active,
  465. .has-black-color:visited {
  466. color: #192930;
  467. }
  468. .has-black-background-color,
  469. .has-black-background-color:hover,
  470. .has-black-background-color:focus,
  471. .has-black-background-color:active,
  472. .has-black-background-color:visited {
  473. background-color: #192930;
  474. }