aboutsummaryrefslogtreecommitdiffstats
path: root/docs/resources
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-16 17:41:10 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-16 17:41:10 +0200
commit8c82a12896a17bbd94d107bc15c03b1816a8420c (patch)
treeef6941d425272230ff41bba86787576d03e5bd94 /docs/resources
parente661ef5b90f40ef61a1f8c0030abcf597c2dcbc6 (diff)
Fixed and improved Note and Warning rendering.
Diffstat (limited to 'docs/resources')
-rw-r--r--docs/resources/ebook.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/resources/ebook.css b/docs/resources/ebook.css
index 39f126c..e8df4d8 100644
--- a/docs/resources/ebook.css
+++ b/docs/resources/ebook.css
@@ -70,6 +70,22 @@ div.note p {
margin-bottom: 0;
}
+/* warning blocks */
+
+div.warning {
+ background: #FD9595 none repeat scroll 0% 0%;
+ color: #8A6D3B;
+ padding: 15px;
+ margin-bottom: 10px;
+ border-bottom: 5px solid #DDD;
+ border-color: #FF6B6B;
+ page-break-inside: avoid;
+}
+
+div.warning p {
+ padding-bottom: 0;
+ margin-bottom: 0;
+}
/* images, figures and captions */