From 49540fcbd9711610a7d23bff3ebeb6afa8260ffb Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 23 Feb 2018 14:41:03 -0600 Subject: [PATCH] Move custom html style mods to separate file for easier editing. And tweak admonition icons style. --- doc/src/b2.css | 24 ++++++++++++++++++++++++ doc/src/standalone.adoc | 9 +-------- 2 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 doc/src/b2.css diff --git a/doc/src/b2.css b/doc/src/b2.css new file mode 100644 index 000000000..67110a39d --- /dev/null +++ b/doc/src/b2.css @@ -0,0 +1,24 @@ +.admonitionblock .icon .title { + font-size: 2.5em; + text-shadow: 1px 1px 2px rgba(0, 0, 0, .5); +} + +.caution .icon .title { + color: rgba(192, 51, 0, 1); +} + +.important .icon .title { + color: rgba(192, 0, 0, 1); +} + +.note .icon .title { + color: rgba(26, 64, 128, 1); +} + +.tip .icon .title { + color: rgba(255, 192, 0, 1); +} + +.warning .icon .title { + color: rgba(192, 102, 0, 1); +} diff --git a/doc/src/standalone.adoc b/doc/src/standalone.adoc index f8d3f63d1..35cf8a7a8 100644 --- a/doc/src/standalone.adoc +++ b/doc/src/standalone.adoc @@ -17,14 +17,7 @@ ifdef::backend-html5[] ++++ ++++ endif::[]