Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Style: Fix basic style for other admonitions
  • Loading branch information
CAM-Gerlach committed Jun 29, 2022
commit 39102437980d6fe6312e8e9a66d3840da77c1c2c
10 changes: 4 additions & 6 deletions pep_sphinx_extensions/pep_theme/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,12 @@ ul.breadcrumbs a {
:root[data-colour_scheme="light"] #colour-scheme-cycler svg.colour-scheme-icon-when-light {display: initial}

/* Admonitions rules */
div.note,
div.warning {
padding: 0.5rem 0.75rem;
margin-top: 1rem;
div.admonition {
background-color: var(--colour-background-accent);
margin-bottom: 1rem;
margin-top: 1rem;
padding: 0.5rem 0.75rem;
}
div.note {
background-color: var(--colour-background-accent);
}
div.warning {
background-color: var(--colour-warning);
Expand Down