You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

153 line
2.2 KiB

  1. .mod_newslist {
  2. display: flex;
  3. justify-content: space-between;
  4. flex-wrap: wrap;
  5. margin: 0 -120px;
  6. padding: 0 0 2rem 0;
  7. @media (max-width: 1280px) {
  8. margin-left: calc(-(14.85vw + 40px));
  9. margin-right: calc(-(14.85vw + 40px));
  10. }
  11. @media (max-width: 1004px) {
  12. margin-left: 0;
  13. margin-right: 0;
  14. }
  15. .layout_latest {
  16. width: calc(50% - 20px);
  17. margin: 0 0 4.5rem 0;
  18. @media (max-width: 768px) {
  19. width: 100%;
  20. }
  21. a {
  22. display: block;
  23. position: relative;
  24. height: 100%;
  25. padding: 0 0 24px 0;
  26. }
  27. }
  28. p {
  29. margin: 0;
  30. }
  31. .spwn-head {
  32. display: flex;
  33. justify-content: space-between;
  34. padding: 0 0 0.5rem 0;
  35. p {
  36. &.category {
  37. color: $primary;
  38. font-weight: 700;
  39. }
  40. &.info {
  41. font-weight: 300;
  42. }
  43. }
  44. }
  45. .image_container {
  46. padding: 0 0 1rem 0;
  47. img {
  48. width: 100%;
  49. height: 310px;
  50. object-fit: cover;
  51. @include transition();
  52. @media (max-width: 1280px) {
  53. height: 280px;
  54. }
  55. @media (max-width: 1004px) {
  56. height: 210px;
  57. }
  58. @media (max-width: 768px) {
  59. height: 330px;
  60. }
  61. @media (max-width: 575px) {
  62. height: 280px;
  63. }
  64. @media (max-width: 430px) {
  65. height: 220px;
  66. }
  67. }
  68. }
  69. h3 {
  70. padding: 0 0 0.75rem 0;
  71. font-size: size(20);
  72. line-height: size(24);
  73. }
  74. .ce_text {
  75. padding: 0;
  76. p {
  77. padding: 0 !important;
  78. }
  79. }
  80. .more {
  81. position: absolute;
  82. right: 0;
  83. bottom: 0;
  84. font-weight: 700;
  85. text-decoration: underline;
  86. }
  87. a {
  88. color: $font;
  89. text-decoration: none;
  90. &:hover {
  91. .more {
  92. color: $primary;
  93. }
  94. }
  95. }
  96. }
  97. .mod_newsreader {
  98. .spwn-head {
  99. display: flex;
  100. justify-content: space-between;
  101. padding: 0 0 0.5rem 0;
  102. p {
  103. margin: 0;
  104. &.category {
  105. color: $primary;
  106. font-weight: 700;
  107. }
  108. &.info {
  109. font-weight: 300;
  110. }
  111. }
  112. }
  113. .spwn-js-img {
  114. padding-bottom: 2rem;
  115. }
  116. .block {
  117. padding-left: 0;
  118. padding-right: 0;
  119. }
  120. h2 {
  121. font-size: size(40);
  122. line-height: size(46);
  123. }
  124. .spwn-subhl {
  125. margin-top: -2rem;
  126. }
  127. }