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
70d907b11SThomas Monjalon/* Set full width for all responsive tables of a page.
80d907b11SThomas Monjalon * Usage: insert the following line in the doc.
90d907b11SThomas Monjalon *        .. rst-class:: widepage
100d907b11SThomas Monjalon */
110d907b11SThomas Monjalon@media screen and (min-width: 1100px) {
120d907b11SThomas Monjalon    .wy-nav-content-wrap:has(.widepage) {
130d907b11SThomas Monjalon        background: #fcfcfc !important;
140d907b11SThomas Monjalon    }
150d907b11SThomas Monjalon    .wy-nav-content:has(.widepage) .wy-table-responsive {
160d907b11SThomas Monjalon        overflow: visible !important;
170d907b11SThomas Monjalon    }
180d907b11SThomas Monjalon}
190d907b11SThomas 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