From 0eeaea5de43a5b33f55809eba8dc30211e3535a1 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sat, 13 Jun 2015 20:23:13 -0700 Subject: docs: small improvements to stylesheet - make large #define lists look a little less confusing - remove background coloring from 'tt' (aka, any small monospace snippets) --- docs/source/_static/rambutan-docs.css | 23 ++++++++++++++++++----- 1 file 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; -- cgit v1.2.3