Skip to content

Commit 25ae353

Browse files
committed
Tweak EPUB's CSS to match HTML's
1 parent 8e198f3 commit 25ae353

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sphinx/themes/epub/static/epub.css_t

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,11 @@ dl {
458458
margin-bottom: 15px;
459459
}
460460

461+
.sig dl {
462+
margin-top: 0px;
463+
margin-bottom: 0px;
464+
}
465+
461466
dd p {
462467
margin-top: 0px;
463468
}
@@ -472,6 +477,11 @@ dd {
472477
margin-left: 30px;
473478
}
474479

480+
.sig dd {
481+
margin-top: 0px;
482+
margin-bottom: 0px;
483+
}
484+
475485
dt:target, .highlighted {
476486
background-color: #ddd;
477487
}

0 commit comments

Comments
 (0)