aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/_static
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-06-13 20:23:13 -0700
committerbnewbold <bnewbold@robocracy.org>2015-06-13 21:23:24 -0700
commitca169f475240c59775d1df1faa7033204294a08d (patch)
tree0bad8719c27a884f311f000fb23cb8888bbd234c /docs/source/_static
parent0d48953c66291ba7b4aedd2d2edff9ce69c3a91d (diff)
downloadlibrambutan-ca169f475240c59775d1df1faa7033204294a08d.tar.gz
librambutan-ca169f475240c59775d1df1faa7033204294a08d.zip
docs: small improvements to stylesheet
- make large #define lists look a little less confusing - remove background coloring from 'tt' (aka, any small monospace snippets)
Diffstat (limited to 'docs/source/_static')
-rw-r--r--docs/source/_static/rambutan-docs.css23
1 files changed, 18 insertions, 5 deletions
diff --git a/docs/source/_static/rambutan-docs.css b/docs/source/_static/rambutan-docs.css
index 9b7daba..f29ab71 100644
--- a/docs/source/_static/rambutan-docs.css
+++ b/docs/source/_static/rambutan-docs.css
@@ -106,12 +106,15 @@ pre, tt {
}
tt {
- font-size: 80%;
- background: #f4f4f4;
+ background: none;
+ border-bottom: none;
+ color: #222;
+ font-size: 0.8em;
}
-.note tt {
- background: #ececec;
+.note tt, .warning tt {
+ /* Overrides better.css */
+ background: none;
}
a tt {
@@ -157,10 +160,20 @@ tt.descname {
font-size: 0.8em;
}
-dl.function > dt, dl.class > dt, dl.method > dt, dl.attribute > dt, dl.data > dt, dl.classmethod > dt, dl.enum > dt {
+dl.function > dt, dl.class > dt, dl.method > dt, dl.attribute > dt, dl.data > dt, dl.classmethod > dt, dl.enum > dt, dl.struct > dt {
margin-bottom: 0.5em;
background: #f4f4f4;
}
+dl.define {
+ margin-top: 0.0em;
+ margin-bottom: 0.0em;
+}
+
+dl.define > dt > strong {
+ font-family: "Source Code Pro", "Monaco", "Consolas", "Lucida Console", monospace;
+ /* font-weight: normal; */
+ font-size: 0.8em;
+}
dl li > p {
display: inline;