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.
 
 
 
 

74 lines
1.5 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .participation-teaser {
  4. position: relative;
  5. display: flex;
  6. flex-direction: column;
  7. background-color: white;
  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(--theme-color-primary);
  31. margin: 0 -24px 10px;
  32. background-image: url('./topic-meinung.svg');
  33. background-repeat: no-repeat;
  34. background-position: center 65%;
  35. background-size: 60px;
  36. top: 0;
  37. left: 0;
  38. right: 0;
  39. @media(max-width: 567px) {
  40. font-size: 50px;
  41. margin-top: 0px;
  42. }
  43. }
  44. .text-box {
  45. padding-top: 66px;
  46. }
  47. .like-h4, p, .buttons {
  48. margin: 0.5em 0;
  49. }
  50. .buttons {
  51. display: flex;
  52. justify-content: space-between;
  53. padding-top: 0.4em;
  54. @media screen and (max-width:1200px){
  55. flex-wrap:wrap;
  56. }
  57. .btn {
  58. @media screen and (max-width:1200px){
  59. margin-bottom:6px;
  60. }
  61. &:last-child {
  62. margin-left: auto;
  63. margin-left:12px;
  64. @media screen and (max-width:1200px){
  65. margin-left: 0;
  66. }
  67. }
  68. }
  69. }
  70. }