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.
 
 
 
 

160 regels
3.0 KiB

  1. @charset "UTF-8";
  2. .document-list {
  3. position: relative;
  4. display: block;
  5. margin: calc(1vw + 20px) 0 calc(1.5vw + 40px);
  6. }
  7. .document-list-item {
  8. position: relative;
  9. display: block;
  10. text-decoration: none;
  11. font-size: 16px;
  12. border: 1px solid $color-primary-light-03;
  13. border: 1px solid var(--theme-color-primary-dimmed-04, $color-primary-light-03);
  14. padding: 15px;
  15. border-radius: 4px;
  16. @include focusvisible;
  17. transition: 0.3s ease;
  18. &:hover {
  19. text-decoration: none;
  20. color: $color-secondary-dark;
  21. color: var(--theme-color-secondary-intensed, $color-secondary-dark);
  22. }
  23. + .document-list-item {
  24. margin-top: 10px;
  25. }
  26. @media(min-width: 568px) {
  27. align-items: flex-start;
  28. display: flex;
  29. + .document-list-item {
  30. margin-top: 15px;
  31. }
  32. }
  33. @media(min-width: 768px) {
  34. font-size: 18px;
  35. }
  36. &:before {
  37. position: absolute;
  38. top: 0;
  39. right: 0;
  40. margin: 8px;
  41. font-size: 20px;
  42. font-family: "Icons";
  43. }
  44. .image-box {
  45. position: relative;
  46. max-width: 25%;
  47. flex: 1 1 100%;
  48. @media(max-width: 567px) {
  49. max-width: 70%;
  50. }
  51. &:before {
  52. content: "";
  53. position: relative;
  54. display: block;
  55. padding-top: 66.66667%;
  56. }
  57. &.chart:before {
  58. background: linear-gradient(130deg, $color-gradient-01 10%, $color-gradient-02 90%, $color-gradient-03 160%);
  59. background: linear-gradient(130deg, var(--theme-color-gradient-01, $color-gradient-01) 10%, var(--theme-color-gradient-02, $color-gradient-02) 90%, var(--theme-color-gradient-03, $color-gradient-03) 160%);
  60. }
  61. img {
  62. position: absolute;
  63. display: block;
  64. top: 0;
  65. left: 0;
  66. width: 100%;
  67. height: 100%;
  68. object-fit: cover;
  69. }
  70. .chart-title {
  71. font-family: "Korb", sans-serif;
  72. font-weight: 700;
  73. font-size: 32px;
  74. color: $color-white;
  75. position: absolute;
  76. left: 0;
  77. right: 0;
  78. top: 50%;
  79. transform: translate(0, -50%);
  80. text-align: center;
  81. }
  82. .copyright{
  83. position: absolute;
  84. left: 100%;
  85. bottom: 0;
  86. transform-origin: 0 100%;
  87. color: $color-white;
  88. color: var(--theme-color-background, $color-white);
  89. font-size: 12px;
  90. line-height: 1.2;
  91. text-shadow: 0px 0px 3px rgba($color-black, 0.6), 0px 0px 8px rgba($color-black, 0.6);
  92. z-index: 2;
  93. width: 66%;
  94. padding: 8px 10px;
  95. transform: rotate(-90deg);
  96. @media(max-width: 767px) {
  97. font-size: 10px;
  98. padding: 6px 18px;
  99. }
  100. }
  101. }
  102. .text-box:not(:first-child) {
  103. padding-top: 20px;
  104. }
  105. @media(min-width: 568px) {
  106. .text-box {
  107. padding: 2px 4px 0;
  108. }
  109. .text-box:not(:first-child) {
  110. max-width: 75%;
  111. padding: 0 0 0 20px;
  112. }
  113. }
  114. h6 {
  115. font-size: 18px;
  116. margin-top: 4px;
  117. text-decoration: underline;
  118. @media(min-width: 768px) {
  119. font-size: 22px;
  120. }
  121. }
  122. h5, .details {
  123. font-weight: 600;
  124. }
  125. p {
  126. margin-bottom: 12px;
  127. }
  128. .details {
  129. margin: 0;
  130. }
  131. .kicker {
  132. margin-top: -4px;
  133. }
  134. }