mirror of
https://github.com/ceph/ceph
synced 2025-03-21 01:38:15 +00:00
doc/_themes: fine tune styling
* fix the "dl" (definition list) display in manpage. before this change, if an item in dl is composed of strings with different fonts, it is cluttered into a single string. after this change, they are separated with proper spacing as before. see the "WORKLOAD" section in https://docs.ceph.com/en/latest/man/8/ceph-syn/ and https://docs.ceph.com/en/octopus/man/8/ceph-syn/ * reduce the spacing in "ul" (unordered list) in table. before this change, we have large spacing at end of a list in table. after this change, the spacing is reduced. see https://docs.ceph.com/en/latest/start/hardware-recommendations/#ram https://docs.ceph.com/en/octopus/start/hardware-recommendations/#ram * increase the spacing between two "ul"s in table. see https://docs.ceph.com/en/latest/start/hardware-recommendations/#Processor https://docs.ceph.com/en/octopus/start/hardware-recommendations/#ram Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
51192ca3f9
commit
a042c5b659
13
doc/_themes/ceph/static/ceph.css_t
vendored
13
doc/_themes/ceph/static/ceph.css_t
vendored
@ -128,6 +128,19 @@ html.writer-html5 .rst-content table.docutils th,
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.rst-content table.docutils ul {
|
||||
margin-bottom: inherit;
|
||||
}
|
||||
|
||||
/* lists */
|
||||
.rst-content .section dl:not(.docutils) dt {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
.rst-content table.docutils ul + ul {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
/* versions */
|
||||
.injected .rst-versions.rst-badge {
|
||||
left: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user