mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 11:20:32 +00:00
doc: fix rst-columns display
Using ``.. rst-class:: rst-columns`` wasn't processed correctly because of an error in the acrn-custom.css file. Fix that, update the documentation guidelines, and make use of the multi-column display in documents where the toctree created a long list. Now it will appear in columns. Also tweaked the toctree listing to use bold for the first-level items (making a multi-column display look better, particularly when it has subsections). Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
committed by
David Kinder
parent
c606d060ec
commit
4db42c1c7f
11
doc/static/acrn-custom.css
vendored
11
doc/static/acrn-custom.css
vendored
@@ -5,7 +5,7 @@
|
||||
max-width: 1100px;
|
||||
}
|
||||
|
||||
/* (temporarily) add an under development tagline to the bread crumb
|
||||
/* (temporarily) add an under development tagline to the bread crumb
|
||||
.wy-breadcrumbs::after {
|
||||
content: " (Content reorganization in progress)";
|
||||
background-color: #FFFACD;
|
||||
@@ -266,10 +266,12 @@ kbd
|
||||
.rst-columns2 {
|
||||
column-width: 28em;
|
||||
column-fill: balance;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.rst-columns3 .rst-columns {
|
||||
.rst-columns3, .rst-columns {
|
||||
column-width: 18em;
|
||||
column-fill: balance;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* numbered "h2" steps */
|
||||
@@ -292,3 +294,8 @@ div.numbered-step h2::before {
|
||||
margin-right: 5px;
|
||||
text-align: center;
|
||||
width: 1.6em;}
|
||||
|
||||
/* bold the level1 headings in on-page toctree displays */
|
||||
.rst-content .toctree-l1 > a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
Reference in New Issue
Block a user