.material-design-colors {
  width: 100%;
  min-height: 600px;
}

.material-design-colors .color-example {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  width: 100%;
  height: 40px;
}

.material-design-colors .color-example span {
  font-size: 0.8rem !important;
}

.material-design-colors .border-color-example p {
  display: block;
  border-width: 3px;
  border-style: solid;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
}
