diff --git a/pages/basic_customizations.rst b/pages/basic_customizations.rst index b4bd49e..0363ed4 100644 --- a/pages/basic_customizations.rst +++ b/pages/basic_customizations.rst @@ -13,7 +13,7 @@ Basic customizations How to customize: ----------------- -pygal is customized with the help of the config class (see `config.py `_). It can be changed in several ways: +pygal is customized with the help of the `Config` class (see `config.py `_). It can be changed in several ways: .. pygal:: @@ -32,7 +32,7 @@ pygal is customized with the help of the config class (see `config.py `_ + +- `Line charts `_ + +- `XY charts `_ + +- `Pie charts `_ + +- `Radar charts `_ -Python/Css styling with some packaged themes (default, light, neon, clean, dark_solarized, light_solarized) +Python/Css styling with some packaged themes (`default `_, +`light `_, +`neon `_, +`clean `_, +`dark_solarized `_, +`light_solarized `_) -And a lot of options to customize the charts. +`And a lot of options to customize the charts. `_ Technical Description ===================== diff --git a/pages/interpolations.rst b/pages/interpolations.rst index 7080c6c..396c845 100644 --- a/pages/interpolations.rst +++ b/pages/interpolations.rst @@ -29,7 +29,7 @@ For more info see `interp1d definition on scipy section, -section#id1 > section { +section section { background: url(img/article.png) repeat-x bottom left; margin: 0 15px; padding: 0.5em 0 1.5em; } - -section > section:last-child, -section#id1 > section:last-child { +section section:last-child { background: none; } @@ -205,18 +206,34 @@ section h3 a { section h4 { color: #da3d3f; - text-decoration: underline; } -section aside > ul { +section aside.caution > header { + color: #feed6c; + margin: .25em 1em .75em; +} + +section aside.caution { + margin: 10px; + padding: 1em; + border: 1px solid rgba(254, 237, 108, .5); + background-color: #111; +} + +section aside.topic { background: #000; border-radius: 5px; display: inline-block; padding: 15px 30px; + margin-left: 50px; +} + +section aside.topic > header { + font-size: 1.5em; } section aside ul li { - font-size: 1.1em; + font-size: 1em; padding: 0.2em 0; } @@ -228,10 +245,39 @@ section figure { text-align: center; } -section figure figcaption { +section figure figcaption pre { text-align: left; + display: inline-block; + margin: 1em; + padding: 1em; + background-color: #0a0a0a; + border: 1px solid black; +} + +section samp { + background-color: #111; + border: 1px solid black; + margin: .5em; + padding: .25em .5em; + color: #9e6ffe; +} + +section cite { + font-style: normal; + color: #9e6ffe; + font-family: monospace; +} + +section > p:first-of-type { + padding-top: 20px; } +section .thumbs embed { + display: inline-block; + border-radius: 15px; + box-shadow: 0 0 5px #000; + margin: 1em; +} /* ----------