This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
exercise-card.component.scss 815 B
Newer Older
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
  justify-content: center;
  height: 100%;
}

Michael Breu's avatar
Michael Breu committed
.cardForCollection {
  background-color: rgb(236, 236, 236);
Michael Breu's avatar
Michael Breu committed
  border: 3px solid rgba(0, 0, 0, 0.5);
  border-style: double;
}

.card-title {
  padding-bottom: 15px;
}

.card-text {
  text-align: left;
}

.star-container {
  float: right;
  height: auto;
  padding-right: 10px;
}

.star::before {
  content: '★';
}

.star-marked {
  color: #ffc700;
}

.star-unmarked {
  color: #ccc;
}
Michael Breu's avatar
Michael Breu committed

.collection-info {
  float: left;
  font-size: 0.5rem;
  vertical-align: middle;
  text-align: left;
  color: white;
  background-color: red;
  margin: 7px;
  padding-left: 3px;
  padding-right: 3px;
  width: fit-content;
  border-width: 2px;
  border-radius: 0.2rem;
}