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

Skip to content
Snippets Groups Projects
achievements.component.scss 1015 B
Newer Older
.bronzeiconcolor {
  color: darkgoldenrod;
.silvericoncolor {
  color: silver;
}
.goldiconcolor {
  color: gold;
}
.rediconcolor {
  color: darkred;
}
.greeniconcolor {
  color: lightgreen;
}

.big-icon {
  font-size: 100px;
}

#parent {
  display: flex;
}
#narrow {
  width: 200px;
}
#wide {
  flex: 1;
  /* Grow to rest of container */
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 10px;
  grid-auto-rows: minmax(10px, auto);
  grid-row-gap: 5px;
}

.badge {
  position: relative;
  max-width: 150px;
  text-overflow: ellipsis;
  padding: 0.4em 0.8em 0.4em 0.4em;
  margin: 0 3px 3px 0;
  color: #fff;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  background-color: #3c4146;
  border: 1px solid transparent;
  display: inline-block;
  border-radius: 4px;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 20px;
  font-size: 30px;
  text-align: center;
}