remirror/remirror

View on GitHub
website/src/pages/styles.module.css

Summary

Maintainability
Test Coverage
.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2.5rem;
}

@media screen and (min-width: 996px) {
  .buttons {
    justify-content: flex-start;
  }
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  grid-gap: 3rem;
  padding: 2rem 1rem;
  width: 100%;
}
@media screen and (min-width: 996px) {
  .features {
    margin-top: 1vh;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1rem;
    grid-gap: 1rem;
  }
}

.feature {
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 500px;
  align-self: center;
}
@media screen and (min-width: 996px) {
  .feature {
    max-width: 400px;
    min-height: 450px;
  }
}

.getStarted {
  margin: 0;
  color: var(--ifm-color-primary);
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 16px;
  background-color: var(--ifm-color-white);
  margin-right: 16px;
  margin-bottom: 16px;
  border-radius: 6px;
}
.getStarted:hover {
  background-color: var(--ifm-font-color-light);
  color: var(--ifm-color-white);
  text-decoration: none;
}

.featureImage {
  height: 200px;
}
@media screen and (min-width: 996px) {
  .featureImage {
    height: 120px;
    width: initial;
  }
}

.bottomSpacing {
  padding-bottom: 2.5rem;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: var(--ifm-container-width);
  padding-left: calc(var(--ifm-spacing-horizontal) * 2);
  padding-right: calc(var(--ifm-spacing-horizontal) * 2);
  width: 100%;
  align-items: center;
}

@media screen and (min-width: 996px) {
  .container {
    display: block;
    width: 90%;
  }
}

.mainBackground {
  position: relative;
  background-image: url('/img/background-mobile.svg');
  background-repeat: no-repeat;
  background-size: 100vw;
  width: 100vw;
  background-position: 0 var(--ifm-navbar-height);
}
html[data-theme='dark'] .mainBackground {
  background-image: url('/img/background-mobile-dark.svg');
}
@media screen and (min-width: 996px) {
  .mainBackground {
    background-image: url('/img/background-desktop.svg');
    min-height: 80vw;
  }
  html[data-theme='dark'] .mainBackground {
    background-image: url('/img/background-desktop-dark.svg');
  }
}
@media screen and (min-width: 1450px) {
  .mainBackground {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.heroBanner {
  margin: 0 auto;
  text-align: center;
  color: var(--ifm-color-white);
  background-color: transparent;
}

@media screen and (min-width: 996px) {
  .heroBanner {
    text-align: initial;
    min-height: 65vh;
  }
}

.heroBanner h1,
.heroBanner h2,
.heroBanner h3,
.heroBanner h4,
.heroBanner h5,
.heroBanner h6 {
  color: var(--ifm-color-white);
}

.bannerPhone {
  display: block;
  width: 60%;
}
@media screen and (min-width: 996px) {
  .bannerPhone {
    display: none;
  }
}

.bannerLaptop {
  position: absolute;
  display: none;
  right: 3%;
  top: 22%;
  z-index: 0;
  width: 25%;
}
@media screen and (min-width: 996px) {
  .bannerLaptop {
    display: block;
  }
}

.bannerHeader {
  width: 60%;
}
@media screen and (min-width: 996px) {
  .bannerHeader {
    max-width: 650px;
  }
}

.bannerSampleEditor {
  background-color: white;
  color: black;
  padding: 8px;
  border-radius: 4px;
  width: 80%;
}
@media screen and (min-width: 996px) {
  .bannerSampleEditor {
    max-width: 705px;
  }
}

/* Break points */
@media screen and (min-width: 40em) {
}
@media screen and (min-width: 996px) {
}
@media screen and (min-width: 64em) {
}