File: sphinx_rtd_theme.css

package info (click to toggle)
sphinx-needs 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,924 kB
  • sloc: python: 21,132; javascript: 187; makefile: 89; sh: 29; xml: 10
file content (18 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Styling for the https://sphinx-rtd-theme.readthedocs.io theme */

/* this container is added dynamically by the sphinx_rtd_theme:
https://github.com/readthedocs/sphinx_rtd_theme/blob/28c377f99a0fb8a6a7545ceaa599b7afd082d344/src/theme.js#L103 

but it collapses the tables width, which we do not want
*/
div.wy-table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
}

/* a lot of components, like paragraphs and header, do not have a top margin
so the datatable does not have a gap to the subsequent element
*/
div.dataTables_wrapper {
    margin-bottom: 2em;
}