recent-posts.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. .taxonomy-terms {
  36. text-align: left;
  37. }
  38. .taxonomy-terms li {
  39. font-size: 0.5em;
  40. list-style-type: none;
  41. display: inline-block;
  42. background: #248aaa;
  43. margin-left: 0.2em;
  44. margin-right: 0.2em;
  45. }
  46. .taxonomy-terms a {
  47. color: #f9fafc;
  48. }
  49. /* ============= Device specific fixes ======= */
  50. /* Large screens such as TV */
  51. @media only screen and (min-width: 1824px) {
  52. }
  53. /* Extra large devices (large desktops, 1200px and up) */
  54. @media (max-width: 1400px) {
  55. }
  56. @media (max-width: 1200px) {
  57. }
  58. /* IPad Pro */
  59. @media (max-width: 1024px) {
  60. }
  61. /* Large devices (desktops, 992px and up) */
  62. @media (max-width: 992px) {
  63. }
  64. /* Medium devices (tablets, 768px and up) */
  65. @media only screen and (max-width: 768px) {
  66. .container {
  67. max-width: 100%;
  68. }
  69. .post-card {
  70. width: 50%;
  71. }
  72. }
  73. /* Small devices (landscape phones, 576px and up) */
  74. @media only screen and (max-width: 576px) {
  75. .post-card {
  76. width: 100%;
  77. }
  78. }
  79. /* iPhoneX, iPhone 6,7,8 */
  80. @media only screen and (max-width: 375px) {
  81. }
  82. /* Galaxy S5, Moto G4 */
  83. @media only screen and (max-width: 360px) {
  84. }
  85. /* iPhone 5 or before */
  86. @media only screen and (max-width: 320px) {
  87. }
  88. }