File: better-signatures.css

package info (click to toggle)
python-hypothesis 6.138.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,272 kB
  • sloc: python: 62,853; ruby: 1,107; sh: 253; makefile: 41; javascript: 6
file content (13 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* dl gets used both for defining each top-level `.. autofunc` on a page (where we want vertical margsin)
   and is wrapped around multiline signatures (where we don't).
   If a dl is being used inside a .sig, that's a multiline signature; remove its margins. */
.sig > dl {
  margin-block-start: 0rem;
  margin-block-end: 0rem;
}

/* with thanks to https://github.com/pradyunsg/furo/discussions/749 */
.sig:not(.sig-inline) {
  padding-left: 0.5em;
  text-indent: 0;
}