docs: Remove some needless margins for nested lists

This double-indented a nested list *and* added some gaps at the
bottom.

Other lists are unaffected
This commit is contained in:
Fabian Boehm 2023-06-28 16:29:14 +02:00
parent b043a1c35f
commit 9bcb4dcf70

View File

@ -314,15 +314,21 @@ ul li, div.body li {
line-height: 2em;
}
ul.simple p {
ul.simple p, ol.simple p {
/* See "special features" list on index.html */
margin-bottom: 0;
margin-top: 0;
}
ul.simple > li:not(:first-child) > p {
margin-top: 0;
}
ul li dd {
/* nested lists will show up like this, the left margin is massive by default */
margin-left: 0;
}
form.inline-search input,
div.sphinxsidebar input {
border: 1px solid #999999;
@ -524,10 +530,6 @@ div.footer {
font-size: 12pt;
}
dl {
margin-bottom: 1em;
}
dl.envvar, dl.describe {
font-size: 11pt;
font-weight: normal;