Skip to content

Commit

Permalink
Change bg color of admonitions (#1996)
Browse files Browse the repository at this point in the history
  • Loading branch information
semuelle authored Sep 22, 2023
1 parent 924288a commit 006b99e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,15 @@ a.navbar__item{

a:hover.navbar__item{
background-size: 0 3px, 100% 3px;
}

/* More prominent admonitions */
.theme-admonition-danger {
border-left: 5px solid rgb(0, 0, 0);
background-color: rgba(255, 0, 0, 0.238);
}

.theme-admonition-info {
border-left: 5px solid rgb(0, 0, 0);
background-color: rgba(255, 255, 0, 0.238);
}

0 comments on commit 006b99e

Please sign in to comment.