From 8c82a12896a17bbd94d107bc15c03b1816a8420c Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 16 Oct 2017 17:41:10 +0200 Subject: Fixed and improved Note and Warning rendering. --- docs/resources/ebook.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/resources') 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 */ -- cgit