From 4f1c7e68e5c73f6dcb54b6495b9e3de8456f0376 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 21 Dec 2017 17:49:35 +0100 Subject: Update gitbook templates Updating cover automatically using metadata in books.json Change-Id: I898fa57c5c86c671aec55f31db0553d969326b26 Signed-off-by: Romain Forlot --- docs/resources/cover.svg | 48 +++++++++++++++++++++++------------------------- docs/resources/ebook.css | 16 ++++++++++++++++ 2 files changed, 39 insertions(+), 25 deletions(-) (limited to 'docs/resources') diff --git a/docs/resources/cover.svg b/docs/resources/cover.svg index 55509c7..6726de7 100644 --- a/docs/resources/cover.svg +++ b/docs/resources/cover.svg @@ -89,8 +89,8 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.24748737" - inkscape:cx="303.38436" - inkscape:cy="1108.7164" + inkscape:cx="928.3577" + inkscape:cy="404.58117" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" @@ -159,54 +159,52 @@ + + {title} + + {subtitle} {subtitle} + + {version} {date} + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:50px;line-height:125%;font-family:Verdana;-inkscape-font-specification:'Verdana, Bold';text-align:center;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1">{date} 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 1.2.3-korg