xref: /dpdk/doc/guides/custom.css (revision 0d907b11bbe012f6fe4403f8ecf5e077a64ca1e2)
10df46695SStephen Hemminger/* SPDX-License-Identifier: BSD-3-Clause
20df46695SStephen Hemminger * Copyright 2018 Mellanox Technologies, Ltd
30df46695SStephen Hemminger */
40df46695SStephen Hemminger
5f41989c8SThomas Monjalon/* Override readthedocs theme */
6f41989c8SThomas Monjalon
7*0d907b11SThomas Monjalon/* Set full width for all responsive tables of a page.
8*0d907b11SThomas Monjalon * Usage: insert the following line in the doc.
9*0d907b11SThomas Monjalon *        .. rst-class:: widepage
10*0d907b11SThomas Monjalon */
11*0d907b11SThomas Monjalon@media screen and (min-width: 1100px) {
12*0d907b11SThomas Monjalon    .wy-nav-content-wrap:has(.widepage) {
13*0d907b11SThomas Monjalon        background: #fcfcfc !important;
14*0d907b11SThomas Monjalon    }
15*0d907b11SThomas Monjalon    .wy-nav-content:has(.widepage) .wy-table-responsive {
16*0d907b11SThomas Monjalon        overflow: visible !important;
17*0d907b11SThomas Monjalon    }
18*0d907b11SThomas Monjalon}
19*0d907b11SThomas Monjalon
20f41989c8SThomas Monjalon/* Spacing before a list item must be bigger than spacing inside the item.
21f41989c8SThomas Monjalon * Complex list items start with a p.first element. */
22f41989c8SThomas Monjalon.section li > .first {
23f41989c8SThomas Monjalon	margin-top: 18px;
24f41989c8SThomas Monjalon}
25