Skip to content
Snippets Groups Projects
_utils.scss 1.13 KiB
Newer Older
codecraft's avatar
codecraft committed
@use "./teckids";
.image.is-70p {
  width: 70%;
  height: 70%;
}
figure.image>figcaption {
  position: absolute;
  bottom: 0;
  opacity: 75%;

.content .gallery figure {
  margin: 0;
}

.is-text-nowrap {
  text-wrap: nowrap !important;
}

.author-images>figure {
codecraft's avatar
codecraft committed
  // FIXME: Use percentages, reason not yet fixed: responsiveness broken
  // margin-right: -1 * 20%;
  margin-right: -30px;
}
codecraft's avatar
codecraft committed

.author-images>figure:last-child {
  margin-right: 0;
}

.hero.has-background {
  position: relative;
  overflow: hidden;

codecraft's avatar
codecraft committed
  .hero-body {
    .container {
      max-width: none !important;
      opacity: 0.6;

      bottom: -20vh;
        color: black;
  img.hero-background {
    position: absolute;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
  }

  &.is-transparent {
    .hero-body {
      .container {
        bottom: 0 !important;
        opacity: 1;

        .box {
          background: none;
          box-shadow: none;
        }
      }
    }

    img.hero-background.is-transparent {
      opacity: 0.3;
    }