_excerpt.scss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456
  1. @media (min-width:900px) {
  2. .tag-template .post-feed {
  3. margin-top: -70px;
  4. padding-top: 0;
  5. }
  6. }
  7. .author-list-item {
  8. color: #333;
  9. }
  10. .author-list-item,
  11. .post-card-image-link,
  12. .post-feed {
  13. position: relative;
  14. }
  15. .reading-time {
  16. font-size: 0.8rem;
  17. font-weight: 500;
  18. }
  19. .post-feed {
  20. -ms-flex-wrap: wrap;
  21. flex-wrap: wrap;
  22. margin: 0 -10px;
  23. padding: 2rem 0 0;
  24. .post_tag {
  25. margin-left: 0;
  26. }
  27. }
  28. .post-card,
  29. .post-feed {
  30. display: -webkit-box;
  31. display: -ms-flexbox;
  32. display: flex;
  33. }
  34. .post-card {
  35. color: #555;
  36. font-size: 1rem;
  37. -webkit-box-flex: 1;
  38. -ms-flex: 1 1 20rem;
  39. flex: 1 1 20rem;
  40. -webkit-box-orient: vertical;
  41. -webkit-box-direction: normal;
  42. -ms-flex-direction: column;
  43. flex-direction: column;
  44. overflow: hidden;
  45. margin: 0 0.5rem 2rem;
  46. min-height: 20rem;
  47. background: rgba(255, 255, 255, 0.6);
  48. background-size: cover;
  49. border-radius: 5px;
  50. -webkit-box-shadow: rgba(39, 44, 49, .06) 8px 14px 38px, rgba(39, 44, 49, .03) 1px 3px 8px;
  51. box-shadow: 8px 14px 38px rgba(39, 44, 49, .06), 1px 3px 8px rgba(39, 44, 49, .03);
  52. -webkit-transition: scale .5s ease, translate3D .5s ease;
  53. transition: scale .5s ease, translate3D .5s ease;
  54. }
  55. .post-card:hover {
  56. -webkit-box-shadow: rgba(39, 44, 49, .07) 8px 28px 50px, rgba(39, 44, 49, .04) 1px 6px 12px;
  57. box-shadow: 8px 28px 50px rgba(39, 44, 49, .07), 1px 6px 12px rgba(39, 44, 49, .04);
  58. -webkit-transition: scale .5s ease, translate3D .5s ease;
  59. transition: scale .5s ease, translate3D .5s ease;
  60. -webkit-transform: translate3D(0, -1px, 0) scale(1.02);
  61. }
  62. .post-card-image-link {
  63. display: block;
  64. overflow: hidden;
  65. border-radius: 5px 5px 0 0;
  66. }
  67. .post-card-image {
  68. width: 100%;
  69. height: 200px;
  70. background: 50% no-repeat #c5d2d9;
  71. -o-object-fit: cover;
  72. object-fit: cover;
  73. }
  74. .post-card-content-link {
  75. position: relative;
  76. -webkit-box-flex: 1;
  77. -ms-flex-positive: 1;
  78. flex-grow: 1;
  79. display: block;
  80. padding: 0.5rem 1.5rem 0;
  81. color: #15171a;
  82. }
  83. .post-card-title {
  84. font-weight: bold;
  85. font-size: 1.1rem;
  86. margin-top: 0;
  87. margin-bottom: 0.2rem;
  88. text-transform: uppercase;
  89. }
  90. .post-card-content {
  91. -webkit-box-flex: 1;
  92. -ms-flex-positive: 1;
  93. flex-grow: 1;
  94. display: -webkit-box;
  95. display: -ms-flexbox;
  96. display: flex;
  97. -webkit-box-orient: vertical;
  98. -webkit-box-direction: normal;
  99. -ms-flex-direction: column;
  100. flex-direction: column;
  101. -webkit-box-pack: justify;
  102. -ms-flex-pack: justify;
  103. justify-content: space-between;
  104. }
  105. .post-card-meta {
  106. display: -webkit-box;
  107. display: -ms-flexbox;
  108. display: flex;
  109. -webkit-box-pack: justify;
  110. -ms-flex-pack: justify;
  111. justify-content: space-between;
  112. -webkit-box-align: end;
  113. -ms-flex-align: end;
  114. align-items: flex-end;
  115. padding: 0 25px 25px;
  116. }
  117. .author-list-item {
  118. -ms-flex-negative: 0;
  119. flex-shrink: 0;
  120. margin: 0;
  121. padding: 0;
  122. }
  123. .author-list-item:first-child {
  124. z-index: 10;
  125. }
  126. .reading-time {
  127. color: #738a94;
  128. text-transform: uppercase;
  129. }
  130. .reading-time {
  131. -ms-flex-negative: 0;
  132. flex-shrink: 0;
  133. margin-left: 20px;
  134. line-height: 33px;
  135. letter-spacing: .5px;
  136. }
  137. @media (min-width:795px) {
  138. .post-card-large {
  139. -webkit-box-flex: 1;
  140. -ms-flex: 1 1 100%;
  141. flex: 1 1 100%;
  142. -webkit-box-orient: horizontal;
  143. -webkit-box-direction: normal;
  144. -ms-flex-direction: row;
  145. flex-direction: row;
  146. }
  147. .post-card-large .post-card-image-link {
  148. position: relative;
  149. -webkit-box-flex: 1;
  150. -ms-flex: 1 1 auto;
  151. flex: 1 1 auto;
  152. border-radius: 5px 0 0 5px;
  153. }
  154. .post-card-large .post-card-image {
  155. position: absolute;
  156. width: 100%;
  157. height: 100%;
  158. }
  159. .post-card-large .post-card-content {
  160. -webkit-box-flex: 0;
  161. -ms-flex: 0 1 357px;
  162. flex: 0 1 357px;
  163. }
  164. .post-card-large p {
  165. line-height: 1.55em;
  166. }
  167. .post-card-large .post-card-content-link {
  168. padding: 30px 40px 0;
  169. }
  170. .post-card-large .post-card-meta {
  171. padding: 0 40px 30px;
  172. }
  173. }
  174. @media (max-width:650px) {
  175. .post-feed {
  176. padding-top: 5vw;
  177. }
  178. .post-card {
  179. margin: 0 20px 5vw;
  180. }
  181. }
  182. [data-aos^=fade][data-aos^=fade] {
  183. opacity: 0;
  184. transition-property: opacity, transform;
  185. }
  186. [data-aos^=fade][data-aos^=fade].aos-animate {
  187. opacity: 1;
  188. transform: translateZ(0);
  189. }
  190. [data-aos=fade-up] {
  191. transform: translate3d(0, 100px, 0);
  192. }
  193. .post-card-excerpt {
  194. font-family: Verdana, Arial, sans-serif;
  195. }
  196. .center {
  197. align-items: center;
  198. }
  199. a:active,
  200. a:link,
  201. a:visited,
  202. footer a:hover {
  203. text-decoration: none;
  204. }
  205. .header-time {
  206. color: var(--midgrey);
  207. font-size: 1.1rem;
  208. }
  209. .header-container {
  210. display: flex;
  211. justify-content: space-between;
  212. align-items: flex-end;
  213. padding-bottom: 12px;
  214. white-space: nowrap;
  215. overflow: hidden;
  216. }
  217. .footer-color {
  218. color: var(--darkgrey);
  219. }
  220. .user-icon-static {
  221. text-align: center;
  222. color: #fff;
  223. display: inline-block;
  224. }
  225. .hover-effect {
  226. -webkit-backface-visibility: hidden;
  227. backface-visibility: hidden;
  228. -webkit-transition: all .3s ease;
  229. -moz-transition: all .3s ease;
  230. -ms-transition: all .3s ease;
  231. -o-transition: all .3s ease;
  232. transition: all .3s ease;
  233. }
  234. .hover-effect:hover {
  235. opacity: .8;
  236. }
  237. .user-icon-static {
  238. width: 30px;
  239. height: 30px;
  240. border-radius: 3px;
  241. line-height: 29px;
  242. font-size: 1.5em;
  243. margin-right: 2px;
  244. }
  245. .reading-time {
  246. margin-top: 5px;
  247. }
  248. .post-card:hover {
  249. transform: translate3D(0, -1px, 0) scale(1.02) !important;
  250. }
  251. article:hover .share {
  252. opacity: 1;
  253. }
  254. article .share {
  255. position: absolute;
  256. top: 3px;
  257. left: 3px;
  258. opacity: 0;
  259. }
  260. .post-card:hover .share {
  261. -webkit-transition: opacity .3s ease-in-out;
  262. -moz-transition: opacity .3s ease-in-out;
  263. -o-transition: opacity .3s ease-in-out;
  264. transition: opacity .3s ease-in-out;
  265. }
  266. .share {
  267. list-style-type: none;
  268. margin: 0;
  269. padding: 0;
  270. }
  271. .share .twitter {
  272. background: #1da1f2;
  273. }
  274. .share .facebook {
  275. background: #3b5998;
  276. }
  277. .share .email {
  278. background: #fff;
  279. }
  280. .share a:hover {
  281. filter: brightness(1.1);
  282. }
  283. .share a {
  284. width: 30px;
  285. height: 30px;
  286. display: flex;
  287. justify-content: center;
  288. align-items: center;
  289. font-size: 12px;
  290. color: #fff;
  291. border-radius: 5px;
  292. margin-bottom: 3px;
  293. background: #52565e;
  294. }
  295. .card-link {
  296. color: #15171a;
  297. }
  298. a.footer-color:hover {
  299. color: var(--blue);
  300. }
  301. .gradient-effect a:hover {
  302. background-size: 100% 2px;
  303. }
  304. .gradient-effect a {
  305. padding-bottom: 5px;
  306. background: -webkit-gradient(linear, left top, right top, from(#7169FE), to(#41e3e4));
  307. background: -webkit-linear-gradient(left, #7169FE, #41e3e4);
  308. background: -o-linear-gradient(left, #7169FE, #41e3e4);
  309. background: linear-gradient(to right, #7169FE, #41e3e4);
  310. background-size: 0 2px;
  311. background-repeat: no-repeat;
  312. background-position: left 87%;
  313. -webkit-transition: background 0.6s ease;
  314. -moz-transition: background 0.6s ease;
  315. -ms-transition: background 0.6s ease;
  316. -o-transition: background 0.6s ease;
  317. transition: background 0.6s ease;
  318. }
  319. .post-card-meta {
  320. border-top: 2px solid rgba(240, 240, 240, 0.6);
  321. padding-top: 13px !important;
  322. }
  323. .header-tag {
  324. padding: 4px 10px;
  325. border: 1px solid #000;
  326. color: #000;
  327. font-size: 1.2rem;
  328. line-height: 1em;
  329. border-radius: 10px;
  330. opacity: .8;
  331. }
  332. .header-tag:hover {
  333. border: 1px solid #005abb;
  334. color: #007bff;
  335. }
  336. .post-card-image:active,
  337. .post-card-image:focus,
  338. .post-card-image:hover {
  339. -webkit-transform: scale(1.1) rotate(1deg);
  340. -ms-transform: scale(1.1) rotate(1deg);
  341. transform: scale(1.1) rotate(1deg);
  342. }
  343. .post-card-excerpt {
  344. max-width: 56em;
  345. color: #555;
  346. }
  347. .post-card {
  348. border: 1px solid #ddd;
  349. }
  350. .post-card:hover {
  351. border-color: #3eb0ef !important;
  352. text-decoration: none;
  353. }
  354. .ico-domain {
  355. border-radius: 2px;
  356. border-style: none;
  357. display: unset !important;
  358. }
  359. .circle {
  360. border-radius: 100%;
  361. }
  362. .footer-color {
  363. display: inline-flex;
  364. align-items: flex-end;
  365. }
  366. .footer-color img {
  367. margin-right: 8px;
  368. }
  369. @media (min-width:500px) {
  370. .post-card-title {
  371. font-size: 1.2rem;
  372. }
  373. }
  374. @media (min-width:1180px) {
  375. .flex-50 {
  376. flex: 0 1 50% !important;
  377. }
  378. }
  379. .next-page-btn {
  380. display: block;
  381. max-width: 25%;
  382. padding: 0.5rem 1rem;
  383. text-align: center;
  384. }