Skip to content

Commit

Permalink
Explicitly declare height and width of admonition icons
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinamstutz committed Jun 14, 2021
1 parent cddb6c9 commit a4433bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/css/admonitions.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

.doc .admonitionblock.note td.icon i {
background-image: url(/_/img/octicons-16.svg#view-clippy);
background-size: 15px 15px;
}

.admonitionblock.note .content {
Expand All @@ -41,6 +42,7 @@

.doc .admonitionblock.tip td.icon i {
background-image: url(/_/img/octicons-16.svg#view-light-bulb);
background-size: 15px 15px;
}

.doc .admonitionblock.important .icon {
Expand All @@ -53,6 +55,7 @@

.doc .admonitionblock.important td.icon i {
background-image: url(/_/img/octicons-16.svg#view-info);
background-size: 15px 15px;
}

.doc .admonitionblock.caution .icon {
Expand All @@ -65,6 +68,7 @@

.doc .admonitionblock.caution td.icon i {
background-image: url(/_/img/octicons-16.svg#view-alert);
background-size: 15px 15px;
}

.doc .admonitionblock.warning .icon {
Expand All @@ -78,4 +82,5 @@

.doc .admonitionblock.warning td.icon i {
background-image: url(/_/img/octicons-16.svg#view-stop);
background-size: 15px 15px;
}

0 comments on commit a4433bf

Please sign in to comment.