|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
-
- .participation-teaser {
- position: relative;
- display: flex;
- flex-direction: column;
- background-color: white;
- overflow: hidden;
- width: 100%;
- border-radius: var(--border-radius-lg);
- padding: 24px;
- transition: 0.25s ease;
- text-decoration: none;
- font-size: var(--font-size-small);
- flex-flow: column;
- justify-content: space-between;
- @media(max-width: 999px) {
- padding: 14px;
- }
-
- @media(max-width: 767px) {
- font-size: 16px;
- min-height: 84px;
- border-radius: 8px;
- }
-
- &::before {
- content: "";
- position: absolute;
- display: block;
- height: 70px;
- background-color: var(--theme-color-primary);
- margin: 0 -24px 10px;
- background-image: url('./topic-meinung.svg');
- background-repeat: no-repeat;
- background-position: center 65%;
- background-size: 60px;
- top: 0;
- left: 0;
- right: 0;
- @media(max-width: 567px) {
- font-size: 50px;
- margin-top: 0px;
- }
- }
- .text-box {
- padding-top: 66px;
- }
- .like-h4, p, .buttons {
- margin: 0.5em 0;
- }
-
- .buttons {
- display: flex;
- justify-content: space-between;
- padding-top: 0.4em;
- @media screen and (max-width:1200px){
- flex-wrap:wrap;
- }
- .btn {
- @media screen and (max-width:1200px){
- margin-bottom:6px;
- }
- &:last-child {
- margin-left: auto;
- margin-left:12px;
- @media screen and (max-width:1200px){
- margin-left: 0;
- }
- }
- }
- }
- }
|