Sha256: dfe267e30f6305b7eee2b1eefc105ed25d261554795ac7fcbe77281ccbe717c3

Contents?: true

Size: 760 Bytes

Versions: 11

Compression:

Stored size: 760 Bytes

Contents

// Labels (not the form kind)

// this :not() prevents a style clash with Mermaid.js's
// diagram labels, which also use .label
// for more, see https://github.com/just-the-docs/just-the-docs/issues/1272
// and the accompanying PR
.label:not(g),
.label-blue:not(g) {
  display: inline-block;
  padding: 0.16em 0.56em;
  margin-right: $sp-2;
  margin-left: $sp-2;
  color: $white;
  text-transform: uppercase;
  vertical-align: middle;
  background-color: $blue-100;
  @include fs-2;

  border-radius: 12px;
}

.label-green:not(g) {
  background-color: $green-200;
}

.label-purple:not(g) {
  background-color: $purple-100;
}

.label-red:not(g) {
  background-color: $red-200;
}

.label-yellow:not(g) {
  color: $grey-dk-200;
  background-color: $yellow-200;
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
opendevsecops-jekyll-0.1.2 _sass/labels.scss
opendevsecops-jekyll-0.1.1 _sass/labels.scss
opendevsecops-jekyll-0.1.0 _sass/labels.scss
just-the-docs-0.8.2 _sass/labels.scss
just-the-docs-0.8.1 _sass/labels.scss
just-the-docs-0.8.0 _sass/labels.scss
just-the-docs-0.7.0 _sass/labels.scss
just-the-docs-0.6.2 _sass/labels.scss
just-the-docs-0.6.1 _sass/labels.scss
just-the-docs-0.6.0 _sass/labels.scss
just-the-docs-0.5.4 _sass/labels.scss