summaryrefslogtreecommitdiff
path: root/oslosphinx
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2016-09-15 19:39:26 +0900
committerAkihiro Motoki <amotoki@gmail.com>2016-09-15 20:32:27 +0900
commitc6b55af713e55aa869adf0020be240e3ae699d51 (patch)
tree47df3d0b2b707d4c5d40cef82132bedbbc708e3f /oslosphinx
parent5c765d5561031311ec1a9347ff2faafa1383efff (diff)
downloadoslosphinx-c6b55af713e55aa869adf0020be240e3ae699d51.tar.gz
Support more notice blocks like important, tip and caution
Sphinx supports various notice blocks but the oslosphinx theme does support only warning and note. openstackdoctheme used by openstack-manuals project supports 'important', 'tip' and 'caution' blocks. It would be nice if oslosphinx support these notices. It reduces confusions on contributors to both types of projects. Change-Id: I3e1db551b05fa681520763c24e2576f9ad5379d8
Diffstat (limited to 'oslosphinx')
-rw-r--r--oslosphinx/theme/openstack/static/nature.css19
1 files changed, 17 insertions, 2 deletions
diff --git a/oslosphinx/theme/openstack/static/nature.css b/oslosphinx/theme/openstack/static/nature.css
index 060ced8..aa80995 100644
--- a/oslosphinx/theme/openstack/static/nature.css
+++ b/oslosphinx/theme/openstack/static/nature.css
@@ -188,8 +188,8 @@ div.highlight{
}
div.note {
- background-color: #eee;
- border: 1px solid #ccc;
+ background-color: #edf2f7;
+ border: 1px solid #2a4e68;
}
div.seealso {
@@ -206,6 +206,21 @@ div.warning {
border: 1px solid #f66;
}
+div.important {
+ background-color: #feffbe;
+ border: 1px solid #d7aa16;
+}
+
+div.caution {
+ background-color: #eee;
+ border: 1px solid #ccc;
+}
+
+div.tip {
+ background-color: #eee;
+ border: 1px solid #ccc;
+}
+
p.admonition-title {
display: inline;
}