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.
 
 
 
 

88 rivejä
1.8 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. .participation-teaser {
  4. position: relative;
  5. display: flex;
  6. flex-direction: column;
  7. background-color: var(--color-background);
  8. overflow: hidden;
  9. width: 100%;
  10. border-radius: var(--border-radius-lg);
  11. padding: 24px;
  12. transition: 0.25s ease;
  13. text-decoration: none;
  14. font-size: var(--font-size-small);
  15. flex-flow: column;
  16. justify-content: space-between;
  17. @media(max-width: 999px) {
  18. padding: 14px;
  19. }
  20. @media(max-width: 767px) {
  21. font-size: 16px;
  22. min-height: 84px;
  23. border-radius: 8px;
  24. }
  25. &::before {
  26. content: "";
  27. position: absolute;
  28. display: block;
  29. height: 70px;
  30. background-color: var(--color-button-primary-background);
  31. margin: 0 -24px 10px;
  32. top: 0;
  33. left: 0;
  34. right: 0;
  35. @media(max-width: 567px) {
  36. margin-top: 0px;
  37. }
  38. }
  39. &::after {
  40. content: "";
  41. position: absolute;
  42. z-index: 10;
  43. display: block;
  44. height: 60px;
  45. background-color: var(--color-button-primary-text);
  46. mask-image: url('./topic-meinung.svg');
  47. mask-repeat: no-repeat;
  48. mask-position: center 65%;
  49. mask-size: 60px;
  50. top: 5px;
  51. left: 0;
  52. right: 0;
  53. @media(max-width: 567px) {
  54. font-size: 50px;
  55. }
  56. }
  57. .text-box {
  58. padding-top: 66px;
  59. }
  60. .like-h4, p, .buttons {
  61. margin: 0.5em 0;
  62. }
  63. .buttons {
  64. display: flex;
  65. justify-content: space-between;
  66. padding-top: 0.4em;
  67. @media screen and (max-width:1200px){
  68. flex-wrap:wrap;
  69. }
  70. .btn {
  71. @media screen and (max-width:1200px){
  72. margin-bottom:6px;
  73. }
  74. &:last-child {
  75. margin-left: auto;
  76. margin-left:12px;
  77. @media screen and (max-width:1200px){
  78. margin-left: 0;
  79. }
  80. }
  81. }
  82. }
  83. }