diff --git a/static/css/admonition.css b/static/css/admonition.css
index e5d6093c..db18ce6f 100644
--- a/static/css/admonition.css
+++ b/static/css/admonition.css
@@ -1,14 +1,12 @@
/* Admonition styles */
div.admonition {
- padding: 8px 35px 8px 0px;
+ padding: 0;
margin-bottom: 20px;
color: #c09853;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: #fcf8e3;
border: 1px solid #fbeed5;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- border-radius: 4px;
+ border-radius: 6px;
}
div.admonition p {
@@ -25,6 +23,7 @@ div.admonition pre {
}
div.admonition p.admonition-title {
+ color: #fff;
margin: 0;
padding: 0.1em 0 0.1em 0.5em;
font-weight: bold;
@@ -44,11 +43,21 @@ div.error {
border-color: #eed3d7;
}
+div.danger p.admonition-title,
+div.error p.admonition-title {
+ background-color: #b94a48;
+}
+
/* -- warning, caution, attention -- */
div.warning,
div.caution,
div.attention {
}
+div.warning p.admonition-title,
+div.caution p.admonition-title,
+div.attention p.admonition-title {
+ background-color: #c09853;
+}
/* -- note, important -- */
div.note,
@@ -58,6 +67,11 @@ div.important {
border-color: #d6e9c6;
}
+div.note p.admonition-title,
+div.important p.admonition-title {
+ background-color: #468847;
+}
+
/* -- hint, tip -- */
div.hint,
div.tip {
@@ -66,6 +80,11 @@ div.tip {
border-color: #bce8f1;
}
+div.hint p.admonition-title,
+div.tip p.admonition-title {
+ background-color: #3a87ad;
+}
+
div.danger p.admonition-title:before,
div.error p.admonition-title:before,
div.warning p.admonition-title:before,
@@ -91,7 +110,7 @@ div.error p.admonition-title:before {
background-size: 20px 20px;
content: "";
background-repeat: no-repeat;
- background-image: url('data:image/svg+xml; utf8, ');
+ background-image: url('data:image/svg+xml; utf8, ');
vertical-align: -20%;
}
div.warning p.admonition-title:before,
@@ -102,7 +121,7 @@ div.attention p.admonition-title:before {
background-size: 20px 20px;
content: "";
background-repeat: no-repeat;
- background-image: url('data:image/svg+xml; utf8, ');
+ background-image: url('data:image/svg+xml; utf8, ');
vertical-align: -20%;
}
div.important p.admonition-title:before,
@@ -112,7 +131,7 @@ div.note p.admonition-title:before {
background-size: 20px 20px;
content: "";
background-repeat: no-repeat;
- background-image: url('data:image/svg+xml; utf8, ');
+ background-image: url('data:image/svg+xml; utf8, ');
vertical-align: -20%;
}
div.hint p.admonition-title:before,
@@ -122,6 +141,6 @@ div.tip p.admonition-title:before {
background-size: 20px 20px;
content: "";
background-repeat: no-repeat;
- background-image: url('data:image/svg+xml; utf8, ');
+ background-image: url('data:image/svg+xml; utf8, ');
vertical-align: -20%;
}