From 7d2c3ac0f2397fdd1031b7bff879ddaa438deb60 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 17 Oct 2014 07:24:49 -0700 Subject: [PATCH] Add styles --- doc/_static/breathe.css | 13 +++++++++++++ doc/_static/cppformat.css | 8 ++++++++ doc/_templates/layout.html | 3 +++ 3 files changed, 24 insertions(+) create mode 100644 doc/_static/breathe.css create mode 100644 doc/_static/cppformat.css diff --git a/doc/_static/breathe.css b/doc/_static/breathe.css new file mode 100644 index 00000000..292bc7f7 --- /dev/null +++ b/doc/_static/breathe.css @@ -0,0 +1,13 @@ + +/* -- breathe specific styles ----------------------------------------------- */ + +/* So enum value descriptions are displayed inline to the item */ +.breatheenumvalues li tt + p { + display: inline; +} + +/* So parameter descriptions are displayed inline to the item */ +.breatheparameterlist li tt + p { + display: inline; +} + diff --git a/doc/_static/cppformat.css b/doc/_static/cppformat.css new file mode 100644 index 00000000..137628c1 --- /dev/null +++ b/doc/_static/cppformat.css @@ -0,0 +1,8 @@ +.function dd, .class dd { + margin-left: 30px; +} + +.public-func dd { + margin-left: 0px; +} + diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 5ea65848..17aa3c5f 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -1,5 +1,8 @@ {% extends "!layout.html" %} +{# Custom CSS overrides #} +{% set bootswatch_css_custom = ['_static/cppformat.css'] %} + {% block footer %} {{ super() }}