blocks.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945
  1. /*
  2. Theme Name: Radcliffe 2
  3. Description: Used to style Gutenberg Blocks.
  4. */
  5. /*--------------------------------------------------------------
  6. >>> TABLE OF CONTENTS:
  7. ----------------------------------------------------------------
  8. 1.0 General Block Alignments
  9. 2.0 General Block Styles
  10. 3.0 Blocks - Common Blocks
  11. 4.0 Blocks - Formatting
  12. 5.0 Blocks - Layout Elements
  13. 6.0 Blocks - Widgets
  14. 7.0 Blocks - Colors
  15. 7.0 Blocks - Posts List
  16. --------------------------------------------------------------*/
  17. /*--------------------------------------------------------------
  18. 1.0 General Block Alignments
  19. --------------------------------------------------------------*/
  20. #page {
  21. overflow-x: hidden;
  22. }
  23. .entry-content > *[class^="wp-block-"] {
  24. margin-bottom: 1.5em;
  25. }
  26. .alignfull,
  27. .alignwide,
  28. .aligncenter {
  29. clear: both;
  30. }
  31. /* Text-based blocks with alignfull */
  32. .wp-block-text-columns.alignfull,
  33. .wp-block-columns.alignfull,
  34. .wp-block-preformatted.alignfull,
  35. .wp-block-button.alignfull,
  36. .wp-block-pullquote.alignfull,
  37. .wp-block-latest-posts.alignfull,
  38. .wp-block-categories.alignfull,
  39. .wp-block-latest-comments.alignfull,
  40. .wp-block-verse.alignfull,
  41. .wp-block-audio.alignfull,
  42. p.alignfull {
  43. margin-left: auto;
  44. margin-right: auto;
  45. }
  46. @media (min-width: 1160px) {
  47. .alignwide,
  48. .wp-block-group.alignfull .alignwide {
  49. margin-left: -25%;
  50. margin-right: -25%;
  51. width: auto;
  52. max-width: 1000%;
  53. }
  54. }
  55. @media (min-width: 750px) {
  56. .alignfull,
  57. .wp-block-group.alignfull .alignfull {
  58. margin-left: calc(50% - 50vw);
  59. margin-right: calc(50% - 50vw);
  60. width: auto;
  61. max-width: 1000%;
  62. }
  63. /* Let's reduce this a bit for blocks with text */
  64. .wp-block-text-columns.alignfull,
  65. .wp-block-columns.alignfull,
  66. .wp-block-table.alignfull,
  67. .wp-block-preformatted.alignfull,
  68. .wp-block-button.alignfull,
  69. .wp-block-pullquote.alignfull,
  70. .wp-block-latest-posts.alignfull,
  71. .wp-block-categories.alignfull,
  72. .wp-block-latest-comments.alignfull,
  73. .wp-block-verse.alignfull,
  74. .wp-block-audio.alignfull,
  75. p.alignfull {
  76. margin-left: calc(50% - 48vw);
  77. margin-right: calc(50% - 48vw);
  78. }
  79. .wp-block-embed.is-type-video.alignwide iframe,
  80. .wp-block-embed.is-type-video.alignfull iframe {
  81. width: 100% !important;
  82. height: 100% !important;
  83. }
  84. }
  85. /* Nested Blocks */
  86. .alignfull > *,
  87. .alignwide > * {
  88. margin-left: auto;
  89. margin-right: auto;
  90. }
  91. *[class^="wp-block"] .alignwide,
  92. *[class^="wp-block"] .alignfull {
  93. max-width: 100%;
  94. margin-left: inherit;
  95. margin-right: inherit;
  96. }
  97. .alignfull img,
  98. .alignwide img,
  99. .alignfull iframe,
  100. .alignwide iframe,
  101. .alignfull video,
  102. .alignwide video {
  103. display: block;
  104. }
  105. .alignfull .jetpack-video-wrapper iframe,
  106. .alignwide .jetpack-video-wrapper iframe {
  107. margin-left: auto !important; /* to override inline styles */
  108. margin-right: auto !important;
  109. }
  110. /* Video */
  111. .wp-block-embed.is-type-video iframe {
  112. max-height: 100%;
  113. }
  114. /*--------------------------------------------------------------
  115. 2.0 General Block Styles
  116. --------------------------------------------------------------*/
  117. /* Caption */
  118. [class^="wp-block-"] figcaption {
  119. font-size: 80%;
  120. }
  121. [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
  122. opacity: 0.8;
  123. }
  124. /* Video */
  125. .wp-block-embed.is-type-video iframe {
  126. max-height: 100%;
  127. }
  128. /*--------------------------------------------------------------
  129. 3.0 Blocks - Common Blocks
  130. --------------------------------------------------------------*/
  131. /* Paragraph */
  132. p.has-drop-cap:not(:focus)::first-letter {
  133. font-size: 5em;
  134. margin-top: 0.15em;
  135. }
  136. /* Image */
  137. .wp-block-image {}
  138. .wp-block-image figure {
  139. margin-top: 0;
  140. }
  141. .wp-block-image img {
  142. display: block;
  143. }
  144. .wp-block-image .alignleft {
  145. margin-right: 1.6em;
  146. }
  147. .wp-block-image .alignright {
  148. margin-left: 1.6em;
  149. }
  150. .wp-block-image.alignfull {
  151. width: 100vw;
  152. max-width: 100vw;
  153. margin: 2rem calc((100% - 100vw) * .5);
  154. }
  155. .wp-block-image figcaption {
  156. color: inherit;
  157. opacity: 0.8;
  158. }
  159. /* Gallery */
  160. ul.wp-block-gallery,
  161. ul.wp-block-gallery li {
  162. padding: 0;
  163. }
  164. /* Quote */
  165. .wp-block-quote cite {
  166. color: inherit;
  167. opacity: 0.8;
  168. }
  169. .wp-block-quote.is-large p,
  170. .wp-block-quote.is-style-large p {
  171. font-size: 28px;
  172. }
  173. .wp-block-quote.is-large cite,
  174. .wp-block-quote.is-style-large cite {
  175. font-size: 22px;
  176. }
  177. @media (min-width: 600px) {
  178. .wp-block-pullquote.alignleft,
  179. .wp-block-pullquote.alignright {
  180. max-width: 40%;
  181. }
  182. }
  183. /* Audio */
  184. .wp-block-audio audio {
  185. display: block;
  186. min-width: 270px;
  187. width: 100%;
  188. }
  189. /* Cover */
  190. .wp-block-cover-image.alignwide,
  191. .wp-block-cover.alignwide,
  192. .wp-block-cover-image.alignfull,
  193. .wp-block-cover.alignfull {
  194. height: 75vh;
  195. }
  196. .wp-block-cover.alignfull .wp-block-cover__inner-container {
  197. max-width: 740px;
  198. margin: 0 auto;
  199. }
  200. /* File */
  201. .wp-block-file .wp-block-file__button {
  202. background: #222;
  203. border-radius: 3px;
  204. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
  205. font-size: 1.4rem;
  206. font-size: 14px;
  207. line-height: 1.29;
  208. padding: 9px 18px;
  209. }
  210. .style-pack-colorful .wp-block-file .wp-block-file__button,
  211. .style-pack-modern .wp-block-file .wp-block-file__button {
  212. font-family: inherit;
  213. }
  214. .wp-block-file .wp-block-file__button:hover,
  215. .wp-block-file .wp-block-file__button:focus {
  216. background: #ca2017;
  217. opacity: 1.0;
  218. }
  219. .rtl .wp-block-file * + .wp-block-file__button {
  220. margin-left: 0.75em;
  221. margin-right: 0;
  222. }
  223. /* Video */
  224. .wp-block-video video,
  225. .wp-block-video iframe {
  226. max-width: 100%;
  227. }
  228. /*--------------------------------------------------------------
  229. 4.0 Blocks - Formatting
  230. --------------------------------------------------------------*/
  231. /* Verse */
  232. .wp-block-verse {
  233. background-color: transparent;
  234. font-family: inherit;
  235. font-size: 1.1em;
  236. font-style: italic;
  237. line-height: 1.8;
  238. padding: 0;
  239. }
  240. /* Code */
  241. .wp-block-code {}
  242. /* Preformatted */
  243. .wp-block-preformatted {}
  244. /* Pullquotes */
  245. .wp-block-pullquote {
  246. border-bottom: 2px solid #ddd;
  247. border-top: 3px solid #ddd;
  248. color: #666;
  249. margin-bottom: 0;
  250. }
  251. .wp-block-pullquote cite {
  252. color: inherit;
  253. opacity: 0.8;
  254. }
  255. .wp-block-pullquote blockquote::before,
  256. .wp-block-pullquote blockquote::after {
  257. display: none;
  258. }
  259. /* Social Links */
  260. .wp-block-social-links[class*="align"] {
  261. display: flex;
  262. }
  263. /* Tables */
  264. .wp-block-table td,
  265. .wp-block-table th {
  266. border: none;
  267. }
  268. .wp-block-table.alignwide,
  269. .wp-block-table.alignfull {
  270. width: 96vw;
  271. }
  272. .wp-block-table.alignwide {
  273. width: 100%;
  274. }
  275. @media (min-width: 1160px) {
  276. .wp-block-table.alignwide {
  277. width: 1110px;
  278. }
  279. }
  280. /*--------------------------------------------------------------
  281. 5.0 Blocks - Layout Elements
  282. --------------------------------------------------------------*/
  283. /* Buttons */
  284. .wp-block-button .wp-block-button__link {
  285. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
  286. font-size: 1.4rem;
  287. font-size: 14px;
  288. line-height: 1.29;
  289. padding: 9px 18px;
  290. }
  291. .wp-block-button__link {
  292. background: #222;
  293. color: #fff;
  294. }
  295. .is-style-outline .wp-block-button__link:not(.has-text-color) {
  296. color: #222;
  297. }
  298. .entry-content .wp-block-button .wp-block-button__link:hover,
  299. .entry-content .wp-block-button .wp-block-button__link:focus {
  300. background: #ca2017;
  301. color: #fff;
  302. text-decoration: none;
  303. }
  304. .wp-block-button.alignwide,
  305. .wp-block-button.alignfull,
  306. .wp-block-button.aligncenter {
  307. display: block;
  308. }
  309. /* Group */
  310. .wp-block-group.alignfull .wp-block-group__inner-container {
  311. max-width: 740px;
  312. margin: 0 auto;
  313. }
  314. /* Separator */
  315. .wp-block-separator {
  316. border: none;
  317. max-width: 100px;
  318. margin: 1.6em auto;
  319. }
  320. .wp-block-separator.is-style-wide {
  321. max-width: 100%;
  322. }
  323. /* Media & Text */
  324. .wp-block-media-text .wp-block-media-text__content {
  325. margin: 0;
  326. }
  327. .wp-block-media-text *:last-child {
  328. margin-bottom: 0;
  329. }
  330. /*--------------------------------------------------------------
  331. 6.0 Blocks - Widgets
  332. --------------------------------------------------------------*/
  333. /* General Widget styles */
  334. .wp-block-categories.aligncenter,
  335. .wp-block-categories.aligncenter ul,
  336. .wp-block-archives.aligncenter,
  337. .wp-block-latest-posts.aligncenter,
  338. .wp-block-latest-comments.aligncenter {
  339. list-style-position: inside;
  340. margin-left: 0;
  341. margin-right: 0;
  342. text-align: center;
  343. }
  344. .wp-block-archives,
  345. .wp-block-latest-comments,
  346. .wp-block-latest-posts,
  347. .wp-block-categories-list {
  348. list-style: none;
  349. padding: 0;
  350. }
  351. .wp-block-archives li,
  352. .wp-block-categories-list li {
  353. padding: 0.25em 0;
  354. }
  355. .wp-block-archives li:not(:last-child),
  356. .wp-block-categories-list li:not(:last-child) {
  357. border-bottom: 1px solid rgba(0,0,0,0.075);
  358. }
  359. .wp-block-categories-list ul ul {
  360. padding-left: 2em;
  361. }
  362. .wp-block-categories-list ul ul li:last-child {
  363. padding-bottom: 0;
  364. }
  365. /* Latest Posts */
  366. .wp-block-latest-posts__post-date {
  367. color: inherit;
  368. margin-bottom: 0;
  369. opacity: 0.8;
  370. }
  371. .wp-block-latest-posts,
  372. .wp-block-latest-posts li {
  373. list-style: none;
  374. }
  375. .wp-block-latest-posts li {
  376. padding: 0.25em 0;
  377. }
  378. .wp-block-latest-posts li:not(:last-child) {
  379. border-bottom: 1px solid rgba(0,0,0,0.2);
  380. }
  381. .wp-block-latest-posts.is-grid li {
  382. border: 0;
  383. }
  384. /* Latest Comments */
  385. .wp-block-latest-comments__comment,
  386. .wp-block-latest-comments__comment-date {
  387. font-size: inherit;
  388. }
  389. .wp-block-latest-comments__comment-meta {
  390. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
  391. font-size: 80%;
  392. font-weight: bold;
  393. margin-bottom: 0;
  394. }
  395. .style-pack-colorful .wp-block-latest-comments__comment-meta,
  396. .style-pack-modern .wp-block-latest-comments__comment-meta {
  397. font-family: inherit;
  398. }
  399. .wp-block-latest-comments__comment-excerpt p {
  400. font-size: 90%;
  401. }
  402. .wp-block-latest-comments__comment-date {
  403. color: #707070;
  404. font-size: 80%;
  405. }
  406. /*--------------------------------------------------------------
  407. 7.0 Blocks - Colors
  408. --------------------------------------------------------------*/
  409. /* Default */
  410. .has-white-color,
  411. .has-white-color:hover,
  412. .has-white-color:active,
  413. .has-white-color:focus,
  414. .has-white-color:visited {
  415. color: #fff;
  416. }
  417. .has-white-background-color,
  418. .has-white-background-color:hover,
  419. .has-white-background-color:active,
  420. .has-white-background-color:focus,
  421. .has-white-background-color:visited {
  422. background-color: #fff
  423. }
  424. .has-dark-gray-color,
  425. .has-dark-gray-color:hover,
  426. .has-dark-gray-color:active,
  427. .has-dark-gray-color:focus,
  428. .has-dark-gray-color:visited {
  429. color: #222;
  430. }
  431. .has-dark-gray-background-color,
  432. .has-dark-gray-background-color:hover,
  433. .has-dark-gray-background-color:active,
  434. .has-dark-gray-background-color:focus,
  435. .has-dark-gray-background-color:visited {
  436. background-color: #222;
  437. }
  438. .has-light-gray-color,
  439. .has-light-gray-color:hover,
  440. .has-light-gray-color:active,
  441. .has-light-gray-color:focus,
  442. .has-light-gray-color:visited {
  443. color: #666;
  444. }
  445. .has-light-gray-background-color,
  446. .has-light-gray-background-color:hover,
  447. .has-light-gray-background-color:active,
  448. .has-light-gray-background-color:focus,
  449. .has-light-gray-background-color:visited {
  450. background-color: #666;
  451. }
  452. .has-red-color,
  453. .has-red-color:hover,
  454. .has-red-color:active,
  455. .has-red-color:focus,
  456. .has-red-color:visited {
  457. color: #ca2017;
  458. }
  459. .has-red-background-color,
  460. .has-red-background-color:hover,
  461. .has-red-background-color:active,
  462. .has-red-background-color:focus,
  463. .has-red-background-color:visited {
  464. background-color: #ca2017;
  465. }
  466. /* Modern */
  467. .has-modern-white-color,
  468. .has-modern-white-color:hover,
  469. .has-modern-white-color:active,
  470. .has-modern-white-color:focus,
  471. .has-modern-white-color:visited {
  472. color: #fff;
  473. }
  474. .has-modern-white-background-color,
  475. .has-modern-white-background-color:hover,
  476. .has-modern-white-background-color:active,
  477. .has-modern-white-background-color:focus,
  478. .has-modern-white-background-color:visited {
  479. background-color: #fff
  480. }
  481. .has-modern-light-gray-color,
  482. .has-modern-light-gray-color:hover,
  483. .has-modern-light-gray-color:active,
  484. .has-modern-light-gray-color:focus,
  485. .has-modern-light-gray-color:visited {
  486. color: #f1f1f1;
  487. }
  488. .has-modern-light-gray-background-color,
  489. .has-modern-light-gray-background-color:hover,
  490. .has-modern-light-gray-background-color:active,
  491. .has-modern-light-gray-background-color:focus,
  492. .has-modern-light-gray-background-color:visited {
  493. background-color: #f1f1f1
  494. }
  495. .has-modern-medium-gray-color,
  496. .has-modern-medium-gray-color:hover,
  497. .has-modern-medium-gray-color:active,
  498. .has-modern-medium-gray-color:focus,
  499. .has-modern-medium-gray-color:visited {
  500. color: #aaa;
  501. }
  502. .has-modern-medium-gray-background-color,
  503. .has-modern-medium-gray-background-color:hover,
  504. .has-modern-medium-gray-background-color:active,
  505. .has-modern-medium-gray-background-color:focus,
  506. .has-modern-medium-gray-background-color:visited {
  507. background-color: #aaa
  508. }
  509. .has-modern-dark-gray-color,
  510. .has-modern-dark-gray-color:hover,
  511. .has-modern-dark-gray-color:active,
  512. .has-modern-dark-gray-color:focus,
  513. .has-modern-dark-gray-color:visited {
  514. color: #222;
  515. }
  516. .has-modern-dark-gray-background-color,
  517. .has-modern-dark-gray-background-color:hover,
  518. .has-modern-dark-gray-background-color:active,
  519. .has-modern-dark-gray-background-color:focus,
  520. .has-modern-dark-gray-background-color:visited {
  521. background-color: #222
  522. }
  523. /* Colorful */
  524. .has-colorful-white-color,
  525. .has-colorful-white-color:hover,
  526. .has-colorful-white-color:active,
  527. .has-colorful-white-color:focus,
  528. .has-colorful-white-color:visited {
  529. color: #fff;
  530. }
  531. .has-colorful-white-background-color,
  532. .has-colorful-white-background-color:hover,
  533. .has-colorful-white-background-color:active,
  534. .has-colorful-white-background-color:focus,
  535. .has-colorful-white-background-color:visited {
  536. background-color: #fff
  537. }
  538. .has-colorful-light-gray-color,
  539. .has-colorful-light-gray-color:hover,
  540. .has-colorful-light-gray-color:active,
  541. .has-colorful-light-gray-color:focus,
  542. .has-colorful-light-gray-color:visited {
  543. color: #e5e5e5;
  544. }
  545. .has-colorful-light-gray-background-color,
  546. .has-colorful-light-gray-background-color:hover,
  547. .has-colorful-light-gray-background-color:active,
  548. .has-colorful-light-gray-background-color:focus,
  549. .has-colorful-light-gray-background-color:visited {
  550. background-color: #e5e5e5
  551. }
  552. .has-colorful-dark-gray-color,
  553. .has-colorful-dark-gray-color:hover,
  554. .has-colorful-dark-gray-color:active,
  555. .has-colorful-dark-gray-color:focus,
  556. .has-colorful-dark-gray-color:visited {
  557. color: #222;
  558. }
  559. .has-colorful-dark-gray-background-color,
  560. .has-colorful-dark-gray-background-color:hover,
  561. .has-colorful-dark-gray-background-color:active,
  562. .has-colorful-dark-gray-background-color:focus,
  563. .has-colorful-dark-gray-background-color:visited {
  564. background-color: #222
  565. }
  566. .has-colorful-blue-color,
  567. .has-colorful-blue-color:hover,
  568. .has-colorful-blue-color:active,
  569. .has-colorful-blue-color:focus,
  570. .has-colorful-blue-color:visited {
  571. color: #4ba3c3;
  572. }
  573. .has-colorful-blue-background-color,
  574. .has-colorful-blue-background-color:hover,
  575. .has-colorful-blue-background-color:active,
  576. .has-colorful-blue-background-color:focus,
  577. .has-colorful-blue-background-color:visited {
  578. background-color: #4ba3c3
  579. }
  580. .has-colorful-green-color,
  581. .has-colorful-green-color:hover,
  582. .has-colorful-green-color:active,
  583. .has-colorful-green-color:focus,
  584. .has-colorful-green-color:visited {
  585. color: #71db9d;
  586. }
  587. .has-colorful-green-background-color,
  588. .has-colorful-green-background-color:hover,
  589. .has-colorful-green-background-color:active,
  590. .has-colorful-green-background-color:focus,
  591. .has-colorful-green-background-color:visited {
  592. background-color: #71db9d
  593. }
  594. .has-colorful-orange-color,
  595. .has-colorful-orange-color:hover,
  596. .has-colorful-orange-color:active,
  597. .has-colorful-orange-color:focus,
  598. .has-colorful-orange-color:visited {
  599. color: #d97059;
  600. }
  601. .has-colorful-orange-background-color,
  602. .has-colorful-orange-background-color:hover,
  603. .has-colorful-orange-background-color:active,
  604. .has-colorful-orange-background-color:focus,
  605. .has-colorful-orange-background-color:visited {
  606. background-color: #d97059
  607. }
  608. /* Vintage */
  609. .has-vintage-off-white-color,
  610. .has-vintage-off-white-color:hover,
  611. .has-vintage-off-white-color:active,
  612. .has-vintage-off-white-color:focus,
  613. .has-vintage-off-white-color:visited {
  614. color: #fff;
  615. }
  616. .has-vintage-off-white-background-color,
  617. .has-vintage-off-white-background-color:hover,
  618. .has-vintage-off-white-background-color:active,
  619. .has-vintage-off-white-background-color:focus,
  620. .has-vintage-off-white-background-color:visited {
  621. background-color: #fff;
  622. }
  623. .has-vintage-light-brown-color,
  624. .has-vintage-light-brown-color:hover,
  625. .has-vintage-light-brown-color:active,
  626. .has-vintage-light-brown-color:focus,
  627. .has-vintage-light-brown-color:visited {
  628. color: #c7c4b4;
  629. }
  630. .has-vintage-light-brown-background-color,
  631. .has-vintage-light-brown-background-color:hover,
  632. .has-vintage-light-brown-background-color:active,
  633. .has-vintage-light-brown-background-color:focus,
  634. .has-vintage-light-brown-background-color:visited {
  635. background-color: #c7c4b4;
  636. }
  637. .has-vintage-light-gray-color,
  638. .has-vintage-light-gray-color:hover,
  639. .has-vintage-light-gray-color:active,
  640. .has-vintage-light-gray-color:focus,
  641. .has-vintage-light-gray-color:visited {
  642. color: #666;
  643. }
  644. .has-vintage-light-gray-background-color,
  645. .has-vintage-light-gray-background-color:hover,
  646. .has-vintage-light-gray-background-color:active,
  647. .has-vintage-light-gray-background-color:focus,
  648. .has-vintage-light-gray-background-color:visited {
  649. background-color: #666;
  650. }
  651. .has-vintage-dark-gray-color,
  652. .has-vintage-dark-gray-color:hover,
  653. .has-vintage-dark-gray-color:active,
  654. .has-vintage-dark-gray-color:focus,
  655. .has-vintage-dark-gray-color:visited {
  656. color: #222;
  657. }
  658. .has-vintage-dark-gray-background-color,
  659. .has-vintage-dark-gray-background-color:hover,
  660. .has-vintage-dark-gray-background-color:active,
  661. .has-vintage-dark-gray-background-color:focus,
  662. .has-vintage-dark-gray-background-color:visited {
  663. background-color: #222;
  664. }
  665. .has-vintage-blue-color,
  666. .has-vintage-blue-color:hover,
  667. .has-vintage-blue-color:active,
  668. .has-vintage-blue-color:focus,
  669. .has-vintage-blue-color:visited {
  670. color: #2b6e9d;
  671. }
  672. .has-vintage-blue-background-color,
  673. .has-vintage-blue-background-color:hover,
  674. .has-vintage-blue-background-color:active,
  675. .has-vintage-blue-background-color:focus,
  676. .has-vintage-blue-background-color:visited {
  677. background-color: #2b6e9d;
  678. }
  679. /*--------------------------------------------------------------
  680. 8.0 Blocks - Posts List Block
  681. --------------------------------------------------------------*/
  682. .a8c-posts-list {
  683. text-align: center;
  684. }
  685. .a8c-posts-list-item__post-thumbnail {
  686. margin: 0 0 36px;
  687. }
  688. .a8c-posts-list-item__post-thumbnail img {
  689. display: block;
  690. }
  691. .a8c-posts-list-item__featured,
  692. .a8c-posts-list-item__meta {
  693. color: #666;
  694. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
  695. font-size: 12px;
  696. font-size: 1.2rem;
  697. font-weight: 600;
  698. letter-spacing: 1px;
  699. line-height: 1.5;
  700. margin-top: 18px;
  701. text-decoration: none;
  702. text-transform: uppercase;
  703. }
  704. .a8c-posts-list-item__title {
  705. font-family: Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Times,"Times New Roman",serif;
  706. font-size: 36px;
  707. font-size: 3.6rem;
  708. font-weight: 600;
  709. line-height: 1.25;
  710. margin: 0 auto;
  711. max-width: 100%;
  712. word-wrap: break-word;
  713. width: 1040px;
  714. }
  715. .a8c-posts-list-item__title a {
  716. color: #222;
  717. }
  718. .a8c-posts-list-item__meta {
  719. margin-bottom: 36px;
  720. }
  721. .a8c-posts-list-item__meta a {
  722. color: #666;
  723. }
  724. .a8c-posts-list-item__title a:hover,
  725. .a8c-posts-list-item__meta a:hover {
  726. color: #ca2017;
  727. text-decoration: none;
  728. }
  729. .a8c-posts-list-item__edit-link:before {
  730. content: "/";
  731. color: rgba(0,0,0,0.15);
  732. margin: 0 0.5em;
  733. }
  734. .a8c-posts-list-item__excerpt {
  735. text-align: left;
  736. }
  737. .a8c-posts-list .a8c-posts-list__view-all {
  738. background: #222;
  739. border-radius: 3px;
  740. color: #fff;
  741. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
  742. font-size: 14px;
  743. font-size: 1.4rem;
  744. line-height: 1.29;
  745. margin: 0;
  746. padding: 9px 18px;
  747. }
  748. .a8c-posts-list .a8c-posts-list__view-all:hover {
  749. background: #ca2017;
  750. color: #fff;
  751. cursor: pointer;
  752. text-decoration: none;
  753. }
  754. @media all and (min-width: 600px) {
  755. .a8c-posts-list-item__featured,
  756. .a8c-posts-list-item__meta {
  757. font-size: 16px;
  758. font-size: 1.6rem;
  759. line-height: 1.125;
  760. }
  761. .a8c-posts-list-item__title {
  762. font-size: 50px;
  763. font-size: 5rem;
  764. line-height: 1.44;
  765. }
  766. }
  767. @media screen and (min-width: 768px) {
  768. .a8c-posts-list-item__title {
  769. font-size: 60px;
  770. font-size: 6rem;
  771. line-height: 1.2;
  772. }
  773. .a8c-posts-list-item__post-thumbnail,
  774. .a8c-posts-list-item__meta {
  775. margin-bottom: 72px;
  776. }
  777. }