2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00

Move custom html style mods to separate file for easier editing. And

tweak admonition icons style.
This commit is contained in:
Rene Rivera
2018-02-23 14:41:03 -06:00
parent d03c96fe5c
commit 49540fcbd9
2 changed files with 25 additions and 8 deletions

24
doc/src/b2.css Normal file
View File

@@ -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);
}

View File

@@ -17,14 +17,7 @@
ifdef::backend-html5[]
++++
<style>
.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,.8); }
.important .icon .title { color: rgba(192,0,0,.8); }
.note .icon .title { color: rgba(26,64,128,.8); }
.tip .icon .title { color: rgba(255,192,0,.8); }
.warning .icon .title { color: rgba(192,102,0,.8); }
include::b2.css[]
</style>
++++
endif::[]