All files / src/components/RelatedCard index.module.scss

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78                                                                                                                                                           
@import "../../styles/colors";
 
// Base styles
 
.custom-card {
  transition: box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
 
  &:hover {
    box-shadow: 0 0 30px 0 rgb(0 0 0 / 30%);
  }
}
 
.data {
  transition: transform 0.3s;
  transform: translateY(0);
}
 
.content {
  position: relative;
  z-index: 1;
  padding: 0.01em;
  background-color: #fff;
  background-image: $bg-backGround-pic;
 
  h4 {
    margin: 10px !important;
  }
 
  p {
    color: $black;
  }
 
  a {
    color: $white;
  }
}
 
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
 
.title {
  margin-top: 10px;
  color: $light-blue;
}
 
.date {
  padding: 0.5em;
  color: $white;
  background-color: $bermuda;
 
  span {
    display: block;
    text-align: center;
  }
}
 
.wrapper {
  position: relative;
  min-height: 5rem;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 5%);
  transition: all 0.5s ease 0s;
 
  @media (min-width: 576px) {
    min-height: 5rem;
  }
 
  &:hover {
    opacity: 0.9;
  }
}