aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-06-13 20:23:13 -0700
committerbnewbold <bnewbold@robocracy.org>2015-06-13 20:28:01 -0700
commit0eeaea5de43a5b33f55809eba8dc30211e3535a1 (patch)
tree43d276584ed2ea3f5fd0f58d8677be7c242079cd
parentd4658b610276af7d03a4103ed89c09b0068e9050 (diff)
downloadlibrambutan-0eeaea5de43a5b33f55809eba8dc30211e3535a1.tar.gz
librambutan-0eeaea5de43a5b33f55809eba8dc30211e3535a1.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)
-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;