rj1
about | log | files | refs

style.css (3067B) - raw


@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap");
:root {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #fff;
  background: #222843ff;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

#app > main {
  display: flex;
  padding-top: 3.5rem;
  margin: 0 auto;
  min-height: calc(100vh - 3.5rem);
  max-width: 1280px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 639px) {
  #app > main {
    margin: 0 2rem;
  }
}
.home {
  max-width: 890px;
  text-align: center;
}

.home h1 {
  font-size: 2.5rem;
  margin: 0;
  background: -webkit-linear-gradient(
    #1292d2ff,
    #8b85ffff,
    #8e60d7ff,
    #6156e1ff
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home img {
  padding: 1.5rem;
}

.home img:hover {
  filter: drop-shadow(0 0 3rem #673ab888);
}

.home section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-gap: 1.5rem;
}

@media (max-width: 639px) {
  .home section {
    grid-template-columns: 1fr 1fr;
    row-gap: 1rem;
  }
}

.sentiment {
  margin-top: 10px;
  border-radius: 0.5rem;
  text-align: left;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  text-align: center;
  transition: transform 0.15s ease-in-out;
}

.sentiment:hover {
  border: 1px solid #000;
  transform: scale(1.05);
  cursor: pointer;
}

.sentiment.positive {
  background-color: #73bdff;
}

.sentiment.negative {
  background-color: #ff2848ff;
}

.sentiment.chaotic {
  background-color: #ff9048ff;
}

.sentiment.encouraging {
  background-color: #449048ff;
}

.sentiment.neutral {
  background-color: #191948ff;
}

.sentiment.surprised {
  background-color: #985dc7;
}

.sentiment.excited {
  background-color: #ffcb05;
}

.sentiment.optimistic {
  background-color: #42d482;
}

.sentiment.proud {
  background-color: #8e5ea2;
}

.sentiment.disappointed {
  background-color: #b54334;
}

.sentiment.frustrated {
  background-color: #8b0000;
}

.sentiment.amused {
  background-color: #ffd700;
}

.sentiment.confused {
  background-color: #d8bfd8;
}

.sentiment.sympathetic {
  background-color: #ffa07a;
}

.sentiment.sad {
  background-color: #587ae5fc;
}

.sentiment.hopeful {
  background-color: #bc7a30fc;
}

.videoInput {
  width: 80%;
  height: 100%;
  border: 0;
  outline: 0;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #000;
  background-color: #fff;
  border: 1px solid #335d92;
  border-radius: 3px;
  padding: 0.5rem;
  box-shadow: 0 0 100em #3f9cecff;
}

.spinner {
  filter: invert(1);
}

.comment {
  /* min-height: 150px; */
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  text-align: left;
  padding: 1em;
  margin: 2em;
}

footer {
  margin-top: 2em;
  margin-bottom: 1em;
  text-align: center;
  font-size: 0.8em;
  color: #fff;
}

footer a {
  color: #fff;
}

.disabled button {
  cursor: not-allowed;
  opacity: 0.5;
}