Sha256: 945105ef83ba40532afd3e70fceede003b11622b71b27083951a31a30e82a7b7

Contents?: true

Size: 880 Bytes

Versions: 4

Compression:

Stored size: 880 Bytes

Contents

// stylelint-disable selector-max-type, selector-no-qualifying-type

// A nice way to display branch names inside the UI. Can be a link or not.

.branch-name {
  display: inline-block;
  // stylelint-disable-next-line primer/spacing
  padding: 2px 6px;
  font: 12px $mono-font;
  color: var(--fgColor-muted, var(--color-fg-muted));
  word-break: break-all;
  background-color: var(--bgColor-accent-muted, var(--color-accent-subtle));
  border-radius: $border-radius;

  .octicon {
    // stylelint-disable-next-line primer/spacing
    margin: 1px -2px 0 0;
    color: var(--fgColor-muted, var(--color-fg-muted));
  }
}

// When a branch name is a link

a.branch-name {
  color: var(--fgColor-accent, var(--color-accent-fg));
  background-color: var(--bgColor-accent-muted, var(--color-accent-subtle));

  .octicon {
    color: var(--fgColor-accent, var(--color-accent-fg));
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-v4-theme-primer-0.16.0 _sass/@primer/css/branch-name/branch-name.scss
jekyll-v4-theme-primer-0.15.0 _sass/@primer/css/branch-name/branch-name.scss
jekyll-v4-theme-primer-0.14.0 _sass/@primer/css/branch-name/branch-name.scss
jekyll-v4-theme-primer-0.13.0 _sass/@primer/css/branch-name/branch-name.scss