diff options
Diffstat (limited to 'docs/_static/bottle.css_t')
-rwxr-xr-x | docs/_static/bottle.css_t | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/docs/_static/bottle.css_t b/docs/_static/bottle.css_t index d7c8b9c..3dc0c9c 100755 --- a/docs/_static/bottle.css_t +++ b/docs/_static/bottle.css_t @@ -76,6 +76,10 @@ div.body h2 { -webkit-border-bottom-left-radius: 15px; } +div.body h3 { + margin: 2em 0 1em 0; +} + div.body h2 a { color: {{ linkcolor_border }}; } @@ -92,12 +96,10 @@ a:hover { /* Notes and Codes */ -pre, div.admonition { - background: #fafafa; - margin: 20px -15px; - padding: 10px 30px; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; +pre { + background-color: {{ color_body }}; + margin: 1em 2em; + padding: 0.5em; } dd pre, dd div.admonition { @@ -110,6 +112,18 @@ div.admonition p.last { margin-bottom: 0; } +div.admonition { + border: 1px solid {{ color_border }}; + margin: 1em 2em; + padding: 0.5em; + font-size: 0.9em; + line-height: 1.3em; +} + +div.admonition p.admonition-title { + margin: 0; +} + div.admonition p.admonition-title:after { content:":"; } @@ -119,7 +133,7 @@ div.warning { } div.note { - background-color: #ffd; + background-color: #ffc; } div.highlight { @@ -132,9 +146,8 @@ pre { } code, tt.docutils { - border: 1px dotted #ddd; - background-color: #eee; - font-size: 85%; + font-size: 0.9em; + padding: 0 0.2em; } tt.xref { |