summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lehmann <mail@robertlehmann.de>2012-02-29 18:27:54 +0100
committerRobert Lehmann <mail@robertlehmann.de>2012-02-29 18:27:54 +0100
commit3152101dabb94c18cc166abb78f43fe0ee80aa9c (patch)
treec7a43dde9a7cf439ecb9184b977362799ecab742
parent8fc53865c1660fa66595c49fa35e658a83cde958 (diff)
downloadsphinx-3152101dabb94c18cc166abb78f43fe0ee80aa9c.tar.gz
Fix #884: Highlight todo admonitions differently.
-rw-r--r--sphinx/themes/pyramid/static/dialog-todo.pngbin0 -> 1334 bytes
-rw-r--r--sphinx/themes/pyramid/static/pyramid.css_t8
2 files changed, 8 insertions, 0 deletions
diff --git a/sphinx/themes/pyramid/static/dialog-todo.png b/sphinx/themes/pyramid/static/dialog-todo.png
new file mode 100644
index 00000000..babc4b6c
--- /dev/null
+++ b/sphinx/themes/pyramid/static/dialog-todo.png
Binary files differ
diff --git a/sphinx/themes/pyramid/static/pyramid.css_t b/sphinx/themes/pyramid/static/pyramid.css_t
index df626d62..e82bb949 100644
--- a/sphinx/themes/pyramid/static/pyramid.css_t
+++ b/sphinx/themes/pyramid/static/pyramid.css_t
@@ -263,6 +263,14 @@ div.warning {
border-left-style: none;
padding: 10px 20px 10px 60px;
}
+
+div.admonition-todo {
+ background: #f2d9b4 url(dialog-todo.png) no-repeat 10px 8px;
+ border: 2px solid #e9b96e;
+ border-right-style: none;
+ border-left-style: none;
+ padding: 10px 20px 10px 60px;
+}
p.admonition-title {
display: none;