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:
24
doc/src/b2.css
Normal file
24
doc/src/b2.css
Normal 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);
|
||||
}
|
||||
@@ -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::[]
|
||||
|
||||
Reference in New Issue
Block a user