aboutsummaryrefslogtreecommitdiffstats
path: root/docs/resources/ebook.css
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-21 17:49:35 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-22 09:27:05 +0100
commit4f1c7e68e5c73f6dcb54b6495b9e3de8456f0376 (patch)
treec89419b2dd6c2b8a3f3b1583086cafa38b55ba8f /docs/resources/ebook.css
parent112964f7322fe3e9e95d5469584372768d3c3c26 (diff)
Update gitbook templates
Updating cover automatically using metadata in books.json Change-Id: I898fa57c5c86c671aec55f31db0553d969326b26 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/resources/ebook.css')
-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 */