doc: css: improve C constructs spacing
With current CSS construct like void f() are rendered together, i.e. voidf(). Add some spacing to make it more like "void f()". Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
073c8cf849
commit
7040aa86bb
1 changed files with 14 additions and 0 deletions
14
doc/_static/css/custom.css
vendored
14
doc/_static/css/custom.css
vendored
|
@ -171,6 +171,12 @@ hr,
|
|||
padding: 0 4px !important;
|
||||
}
|
||||
.rst-content dl:not(.docutils) .sig-param,
|
||||
.rst-content dl:not(.docutils).class dt > code,
|
||||
.rst-content dl:not(.docutils).function dt > code,
|
||||
.rst-content dl:not(.docutils).method dt > code {
|
||||
padding: 0 4px !important;
|
||||
}
|
||||
.rst-content dl:not(.docutils) .sig-param,
|
||||
.rst-content dl:not(.docutils).class dt > .optional ~ em,
|
||||
.rst-content dl:not(.docutils).function dt > .optional ~ em,
|
||||
.rst-content dl:not(.docutils).method dt > .optional ~ em {
|
||||
|
@ -899,6 +905,14 @@ kbd, .kbd {
|
|||
border-left: none !important;
|
||||
}
|
||||
|
||||
.rst-content dl:not(.docutils).c.var .pre {
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.rst-content dl:not(.docutils).c.struct .property {
|
||||
padding-right: 4px !important;
|
||||
}
|
||||
|
||||
/* Misc tweaks */
|
||||
|
||||
.rst-columns {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue