diff options
author | Roland Hieber <r.hieber@pengutronix.de> | 2017-07-14 15:47:51 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-07-20 17:04:08 +0200 |
commit | 876d0ff2cb0f2ef54f812225aa334da4a03d0f55 (patch) | |
tree | 1af333d18c6f82fdea634fcd0dfe3c0babeddd49 | |
parent | 82b1fd1a590b87b22e6d02dae88505e3f675987b (diff) | |
download | ptxdist-876d0ff2cb0f2ef54f812225aa334da4a03d0f55.tar.gz ptxdist-876d0ff2cb0f2ef54f812225aa334da4a03d0f55.tar.xz |
doc: css: use more ptxdist-like colors for admonitions
The old colors for note blocks and important blocks didn't go well with
the PTXdist logo, so use colors from the logo instead. Screenshots:
Before:
https://gist.github.com/rohieb/87e5d527c283a42e0919d07a44af3641/raw/8f1612b8f2c9d10f484e54f3f23dff5edbd6e473/29237df2-688d-11e7-be43-cfe49cbb0ea2.png
https://gist.github.com/rohieb/87e5d527c283a42e0919d07a44af3641/raw/8f1612b8f2c9d10f484e54f3f23dff5edbd6e473/fd2ff4f6-688b-11e7-beb0-dfc6959582bc.png
After:
https://gist.github.com/rohieb/87e5d527c283a42e0919d07a44af3641/raw/8f1612b8f2c9d10f484e54f3f23dff5edbd6e473/cca5934e-688c-11e7-b185-376b499e80bb.png
https://gist.github.com/rohieb/87e5d527c283a42e0919d07a44af3641/raw/8f1612b8f2c9d10f484e54f3f23dff5edbd6e473/b581da92-688c-11e7-8fb3-8792133838e3.png
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | doc/_static/css/custom.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index ee2c545e7..0efa6f92c 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -95,3 +95,17 @@ nav.wy-nav-side #menu-resize .fa { nav.wy-nav-side #menu-resize .fa:not(:first-child) { margin-left: 0.25em; } + +.important { + background-color: #fff4dd !important; +} +.important .admonition-title { + background-color: #ff9b00 !important; +} + +.note { + background-color: #f2f9e5 !important; +} +.note .admonition-title { + background-color: #83983e !important; +} |