aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/assets/badge.scss
blob: 8082f6c7b3c7f16bf34921a11d5fedfadd7cf073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.badge {
  color: #fff;
  background-color: #6c757d;
  display: inline-block;
  padding: .25em .4em;
  font-size: 75%;
  font-weight: 1;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;

  // Empty badges collapse automatically
  &:empty {
    display: none;
  }
}