docs: improve the HTML formatting of kerneldoc comments
[linux-2.6-block.git] / Documentation / sphinx-static / custom.css
CommitLineData
2056b920
JC
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * CSS tweaks for the Alabaster theme
4 */
5
6/* Shrink the headers a bit */
7div.body h1 { font-size: 180%; }
8div.body h2 { font-size: 150%; }
9div.body h3 { font-size: 130%; }
10
11/* Tighten up the layout slightly */
12div.body { padding: 0 15px 0 10px; }
2056b920 13div.sphinxsidebarwrapper { padding: 1em 0.4em; }
eaf710ce
JC
14/* Tweak document margins and don't force width */
15div.document {
16 margin: 20px 10px 0 10px;
17 width: auto;
18}
19
20/*
21 * Parameters for the display of function prototypes and such included
22 * from C source files.
23 */
24dl.function, dl.struct, dl.enum { margin-top: 2em; background-color: #ecf0f3; }
25/* indent lines 2+ of multi-line function prototypes */
26dl.function dt { margin-left: 10em; text-indent: -10em; }
27dt.sig-object { font-size: larger; }
28div.kernelindent { margin-left: 2em; margin-right: 4em; }