Skip to content

Commit

Permalink
Updated badges
Browse files Browse the repository at this point in the history
  • Loading branch information
royfrancis committed Dec 29, 2023
1 parent b491c3b commit 6a08e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions assets/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,12 @@ $presentation-h6-font-size: 1em;
.smaller { font-size: 0.64em;}
.smallest { font-size: 0.512em;}

.badge,
.badge-primary {
background-color: $primary;
color: white;
font-size: 0.85em;
padding: 0.2em 0.3em;
border-radius: 4px;
vertical-align: baseline;
}

.badge-secondary {
background-color: $secondary;
color: white;
font-size: 0.85em;
padding: 0.2em 0.3em;
border-radius: 4px;
vertical-align: baseline;
}

/* site ---------------------------------------------------------------------- */
Expand Down
4 changes: 2 additions & 2 deletions reports/demo.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ An example of footnote reference [^1]

Badges are defined as such:

`[badge]{.badge}` [badge]{.badge}
`[badge]{.badge-secondary}` [badge]{.badge-secondary}
`[badge]{.badge .badge-primary}` [badge]{.badge .badge-primary}
`[badge]{.badge .badge-secondary}` [badge]{.badge .badge-secondary}

## Code formatting

Expand Down

0 comments on commit 6a08e92

Please sign in to comment.