Skip to content

Commit

Permalink
change admonition background colors
Browse files Browse the repository at this point in the history
  • Loading branch information
semuelle committed Sep 25, 2023
1 parent 44e1026 commit 1cc6e70
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,20 @@ a:hover.navbar__item{
/* More prominent admonitions */
.theme-admonition-danger {
border-left: 5px solid rgb(0, 0, 0);
background-color: rgba(255, 0, 0, 0.238);
background-color: rgba(255, 0, 0, 0.15);
}

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

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

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

0 comments on commit 1cc6e70

Please sign in to comment.