File: custom.css

package info (click to toggle)
pyglet 2.0.17%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,560 kB
  • sloc: python: 80,579; xml: 50,988; ansic: 171; makefile: 146
file content (29 lines) | stat: -rw-r--r-- 828 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Import RTD theme before our own changes. */
@import 'theme.css';

/* CSS to fix wrapping: https://github.com/readthedocs/sphinx_rtd_theme/issues/1529#issuecomment-1918561608 */
/* Take out pointless vertical whitespace in the signatures. */
.rst-content dl .sig dl,
.rst-content dl .sig dd {
    margin-bottom: 0;
    margin-top: 0;
}

/* Make class boxes full-width, with view-source and header links right-aligned. */
.py.class > .sig.sig-object.py:first-of-type {
    width: 100%;
}
.py.class > .sig.sig-object.py:first-of-type .viewcode-link {
  display: inline-flex;
  float: right;
  margin-right: 1.5em;
}
.py.class > .sig.sig-object.py:first-of-type .headerlink {
  position: absolute;
  right: 0.5em;
}

/* Prevent multiple properties from being on the same row. */
dl.py.property {
    display: block !important;
}