[IMP] doc: define a layout for 'category index' pages
These pages are not directly accessible through other doc’s pages but there are still indexed by google. eg.https://www.odoo.com/documentation/9.0/tutorials.html
This commit is contained in:
committed by
Martin Trigaux
parent
cb26e149e2
commit
a0dd875333
@@ -9473,18 +9473,18 @@ h6,
|
||||
line-height: 1.4;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.has_code_col h1,
|
||||
.has_code_col h2,
|
||||
.has_code_col h3,
|
||||
.has_code_col h4,
|
||||
.has_code_col h5,
|
||||
.has_code_col h6,
|
||||
.has_code_col .h1,
|
||||
.has_code_col .h2,
|
||||
.has_code_col .h3,
|
||||
.has_code_col .h4,
|
||||
.has_code_col .h5,
|
||||
.has_code_col .h6 {
|
||||
.has_code_col .doc-aside h1,
|
||||
.has_code_col .doc-aside h2,
|
||||
.has_code_col .doc-aside h3,
|
||||
.has_code_col .doc-aside h4,
|
||||
.has_code_col .doc-aside h5,
|
||||
.has_code_col .doc-aside h6,
|
||||
.has_code_col .doc-aside .h1,
|
||||
.has_code_col .doc-aside .h2,
|
||||
.has_code_col .doc-aside .h3,
|
||||
.has_code_col .doc-aside .h4,
|
||||
.has_code_col .doc-aside .h5,
|
||||
.has_code_col .doc-aside .h6 {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
@@ -11928,7 +11928,7 @@ main.index.animating .card {
|
||||
font-size: 65%;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.has_code_col .card.top .container h1 {
|
||||
.has_code_col .doc-aside .card.top .container h1 {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
@@ -11969,7 +11969,7 @@ main.index.animating .card {
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) and (min-width: 1200px) {
|
||||
.has_code_col .card.top .container h1 {
|
||||
.has_code_col .doc-aside .card.top .container h1 {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
@@ -12010,7 +12010,7 @@ main.index.animating .card {
|
||||
font-size: 65%;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.has_code_col .toctree-wrapper > ul > li.toctree-l1 > span {
|
||||
.has_code_col .doc-aside .toctree-wrapper > ul > li.toctree-l1 > span {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
@@ -12353,6 +12353,13 @@ article.doc-body section.doc-content:first-of-type > p:first-child {
|
||||
font-size: 22.5px;
|
||||
}
|
||||
}
|
||||
article.doc-body.index-category {
|
||||
min-height: 300px;
|
||||
min-height: 30vh;
|
||||
}
|
||||
article.doc-body.index-category li.toctree-l1 {
|
||||
padding: 5px 0;
|
||||
}
|
||||
.content-switcher {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
@@ -742,6 +742,15 @@ article.doc-body {
|
||||
.lead;
|
||||
}
|
||||
}
|
||||
|
||||
&.index-category {
|
||||
min-height: 300px;
|
||||
min-height: 30vh;
|
||||
|
||||
li.toctree-l1 {
|
||||
padding: 5px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-switcher {
|
||||
|
||||
Reference in New Issue
Block a user