index general, fixe #541

This commit is contained in:
2019-11-13 13:21:37 +01:00
parent 28f4ba143a
commit b72c6da623
19 changed files with 443 additions and 136 deletions
@@ -385,7 +385,8 @@ main[role="main"]{
display: none;
}
}
article.node.node--type-enregistrement.node--view-mode-index{
article.node.node--type-enregistrement.node--view-mode-index,
article.node.node--type-enregistrement.node--view-mode-docsindex{
&{margin:0}
h2.node-title{margin-top: 0.6em; line-height: 1;}
p{margin:0.1em 0;}
@@ -530,7 +531,8 @@ main[role="main"]{
}
}
div.lastdocs{
div.lastdocs,
div.docsindex{
article.node--type-enregistrement{
h2.node-title{
@include content_subtitles;
@@ -2016,7 +2018,11 @@ footer{
margin:0;
white-space: nowrap;
pointer-events: none;
// docsindex
&:first-of-type{
margin-right: 4em;
}
// articles
&:last-of-type:not(.entree){
margin-right: 5em;
}
@@ -2029,7 +2035,7 @@ footer{
width:1.5em;
}
a.term-link, a.articles-link{
a.term-link, a.docsindex-link, a.articles-link{
// outline: 1px solid blue;
pointer-events: all;
// background-color: #fff;
@@ -2049,6 +2055,10 @@ footer{
transition: background-color 0.1s ease-in-out;
}
&.docsindex-link{
// margin-right: 4em;
text-transform: capitalize;
}
&.articles-link{
margin-left: 4em;
text-transform: capitalize;
@@ -2171,6 +2181,7 @@ footer{
// }
.entree-content span.oblique-wrapper a:not(:hover):not(.is-active):before{background-color: #fff!important;}
a.docsindex-link:not(:hover):not(.is-active):before,
a.articles-link:not(:hover):not(.is-active):before{
background-color: #fff!important;
}