Sha256: 54ae8812eaa3fb2895427f1d8d4a49a78ec7e153ca4112a902c449912643621a

Contents?: true

Size: 1.37 KB

Versions: 9

Compression:

Stored size: 1.37 KB

Contents

.faq_heading {
    font-size: clamp(20px, 4vw, 30px);
    line-height: 1.2;
    margin-bottom: 40px;
    text-align: center;
    margin-top: 100px;
    color: #000;
  }
  .faq_ans {
    font-size: 15px;
    width: 100%;
    text-align: center;
    color: #000;
  }
  main {
    max-width: 520px;
    margin: 0px auto;
    margin-bottom: 100px;
  
    summary {
      font-size: 18px;
      font-weight: 500;
      background-color: #6C63FF;
      color: #fff;
      padding: 1.5rem 1rem;
      margin-bottom: 1rem;
      outline: none;
      border-radius: 0.25rem;
      text-align: left;
      cursor: pointer;
      position: relative;
      border-radius: 4px !important;
      &:hover {
        text-decoration: underline;
        transition: all 0.5s ease;
      }
    }
    details[open] summary ~ * {
      animation: sweep 0.5s ease-in-out;
    }
    .faq__content {
      font-size: 15px;
      color: $black;
    }
  }
  @keyframes sweep {
    0% {
      opacity: 0;
      margin-top: -10px;
    }
    100% {
      opacity: 1;
      margin-top: 0px;
    }
  }
  details > summary::after {
    position: absolute;
    content: '+';
    right: 20px;
  }
  details[open] > summary::after {
    position: absolute;
    content: '-';
    right: 20px;
  }
  details > summary::-webkit-details-marker {
    display: none;
  }
  

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
blogging-site-theme-0.1.7 _sass/theme/_faq.scss
blogging-site-theme-0.1.6 _sass/theme/_faq.scss
blogging-site-theme-0.1.5 _sass/theme/_faq.scss
blogging-site-theme-0.1.4 _sass/theme/_faq.scss
blogging-site-theme-0.1.3 _sass/theme/_faq.scss
blogging-site-theme-0.1.2 _sass/theme/_faq.scss
blogging-site-theme-0.1.1 _sass/theme/_faq.scss
blogging-site-theme-0.1 _sass/theme/_faq.scss
best-blogging-theme-0.2.1 _sass/theme/_faq.scss