recent-posts.scss 1.7 KB

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