recent-posts.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .recent-posts-section .container {
  2. padding-top: 1rem;
  3. }
  4. .recent-posts-section h1 > span{
  5. margin-top: -55px; /* Size of fixed header */
  6. padding-bottom:55px;
  7. display: block;
  8. }
  9. .recent-posts-section .card {
  10. height: 100%;
  11. min-height: 100%;
  12. }
  13. .recent-posts-section .card .card-footer span {
  14. font-size: 10pt;
  15. color: #6c757d !important;
  16. padding-top: 5px;
  17. }
  18. .recent-posts-section .card .card-footer {
  19. background: #fff;
  20. margin-top: auto;
  21. }
  22. .recent-posts-section .post-card-link {
  23. text-decoration: none;
  24. }
  25. .post-summary {
  26. overflow: hidden;
  27. text-overflow: ellipsis;
  28. display: -webkit-box;
  29. /* line-height: 24px; fallback */
  30. max-height: 144px; /* fallback */
  31. -webkit-line-clamp: 5; /* number of lines to show */
  32. -webkit-box-orient: vertical;
  33. }
  34. /* ============= Device specific fixes ======= */
  35. /* Large screens such as TV */
  36. @media only screen and (min-width: 1824px) {
  37. }
  38. /* Extra large devices (large desktops, 1200px and up) */
  39. @media (max-width: 1400px) {
  40. }
  41. @media (max-width: 1200px) {
  42. }
  43. /* IPad Pro */
  44. @media (max-width: 1024px) {
  45. }
  46. /* Large devices (desktops, 992px and up) */
  47. @media (max-width: 992px) {
  48. }
  49. /* Medium devices (tablets, 768px and up) */
  50. @media only screen and (max-width: 768px) {
  51. .recent-posts-section .container {
  52. max-width: 100%;
  53. }
  54. .recent-posts-section .post-card {
  55. width: 50%;
  56. }
  57. }
  58. /* Small devices (landscape phones, 576px and up) */
  59. @media only screen and (max-width: 576px) {
  60. .recent-posts-section .post-card {
  61. width: 100%;
  62. }
  63. }
  64. /* iPhoneX, iPhone 6,7,8 */
  65. @media only screen and (max-width: 375px) {
  66. }
  67. /* Galaxy S5, Moto G4 */
  68. @media only screen and (max-width: 360px) {
  69. }
  70. /* iPhone 5 or before */
  71. @media only screen and (max-width: 320px) {
  72. }