xref: /linux/Documentation/sphinx-static/custom.css (revision 156010ed9c2ac1e9df6c11b1f688cf8a6e0152e6)
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; }
13div.sphinxsidebarwrapper { padding: 1em 0.4em; }
14div.sphinxsidebar { font-size: inherit; }
15/* Tweak document margins and don't force width */
16div.document {
17    margin: 20px 10px 0 10px;
18    width: auto;
19}
20
21/*
22 * Parameters for the display of function prototypes and such included
23 * from C source files.
24 */
25dl.function, dl.struct, dl.enum { margin-top: 2em; background-color: #ecf0f3; }
26/* indent lines 2+ of multi-line function prototypes */
27dl.function dt { margin-left: 10em; text-indent: -10em; }
28dt.sig-object { font-size: larger; }
29div.kernelindent { margin-left: 2em; margin-right: 4em; }
30