From 183ce52c4194af18a14891cc2f5778195974e5c7 Mon Sep 17 00:00:00 2001 From: vitaut Date: Tue, 19 May 2015 18:20:27 -0700 Subject: [PATCH] Improve style --- doc/cppformat.less | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/cppformat.less b/doc/cppformat.less index ea83a64f..44772375 100644 --- a/doc/cppformat.less +++ b/doc/cppformat.less @@ -44,21 +44,21 @@ div.sphinxsidebar { text-align: center; } -// TODO: check if this is needed -/*.github-btn { - border: 0; - overflow: hidden; -} -.public-func dd { - margin-left: 0; -}*/ - -// Indent descriptions of classes, defines and functions. -.class dd, .define dd, .function dd { - margin-left: 30px; +// Indent descriptions of classes, functions and macros. +.class dd, .function dd, .macro dd { + margin-left: 20px; } -// Remove Bootstrap padding for code elements in API signatures. +// Remove Bootstrap padding for Sphinx containers. +.breathe-sectiondef.container { + padding: 0; +} + +// Remove Bootstrap padding for Sphinx code elements in API signatures. .descclassname, .descname { padding: 0; } + +p.rubric { + margin-top: 10px; +}