summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2011-11-17 16:42:48 +0100
committerMarcel Hellkamp <marc@gsites.de>2011-11-17 16:42:48 +0100
commit8d8feeb22cdaefe239dbec4c8fd1c354bdca9a01 (patch)
tree800ca8e8cb7ab41b84ea8603728d87ee087f98b5
parent2d2fd03eda87ef24c3fbbfd8afd1e5103efb33ac (diff)
downloadbottle-8d8feeb22cdaefe239dbec4c8fd1c354bdca9a01.tar.gz
docs: More whitespace
-rwxr-xr-xdocs/_static/bottle.css_t33
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 {