Skip to content
Snippets Groups Projects
_card.scss 1.55 KiB
Newer Older
  • Learn to ignore specific revisions
  • Hugo NOUTS's avatar
    Hugo NOUTS committed
    @import "../base/color";
    @import "../base/breakpoint";
    
    // RedirectionMiniCard
    .redirect-card-link{
      color: transparent;
    }
    .redirect-card-content{
      margin: 0.25rem 0;
    }
    
    
    
    .card {
      /* linear card */
      background: $dark-linear-card;
      background-color: $card-background;
      display: flex;
      flex-direction: column;
      color: $text-color;
      padding: 1rem 1.5rem;
      margin: 2vh 2vw 2vh 0vw;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.75);
      @media #{$large-phone} {
        margin: 2vh 0;
      }
      &.orange {
        border: 1px solid $orange-shadowed;
      }
      &.blue {
        border: 1px solid $blue-shadowed;
      }
      &.green {
        border: 1px solid $green-shadowed;
      }
      .title {
        font-size: 1.5rem;
        font-style: normal;
        font-weight: normal;
        color: $google-text-1;
        line-height: 120%;
      }
      h1 {
        font-size: 1rem;
        font-style: normal;
        font-weight: normal;
        line-height: 120%;
        color: white;
      }
      p {
        font-style: normal;
        font-weight: normal;
        font-size: 1rem;
        line-height: 120%;
      }
      .card-header{
        flex-direction: row;
        display: flex;
        justify-content: left;
        padding: 0.75rem 0rem;
        div:first-of-type {
          margin-left: 3.5vw;
        }
        h2 {
          margin: 0;
          color: $google-text-1;
          font-style: normal;
          font-weight: normal;
          font-size: 2rem;
          line-height: 120%;
          span {
            color: $google-text-1;
            font-weight: 600;
            font-size: 2.3rem;
          }
        }
        h3 {
          margin: 0;
          font-style: normal;
          font-weight: bold;
          font-size: 1rem;
          line-height: 120%;
        }
      }
    }