header fix

This commit is contained in:
2020-07-27 12:39:59 +02:00
parent e9761aa6ca
commit 34741c345d
31 changed files with 605 additions and 267 deletions
@@ -1,10 +1,18 @@
// thumbnails global
section{
& > div:not(.__slide){
article.thumbnails.programme{
@include shadow;
}
}
}
.thumbnails{
width: 100%;
height: auto;
background: white;
margin: $gutter1;
&:not(.bibliographie){
&:not(.bibliographie):not(.programme){
@include shadow;
}
figure{
@@ -38,6 +46,11 @@
}
&.bibliographie{
background: white!important;
padding: 0.5rem;
&.link_ext{
@include shadow;
}
@media screen and (min-width: 768px) {
width: calc(100% / 2 - #{$gutter1} * 2);
}
@@ -47,12 +60,18 @@
@media screen and (min-width: 1200px) {
width: calc(100% / 4 - #{$gutter1} * 2);
}
a{
& > div * {
display: inline;
background: white;
color: $color2;
& > div * {
color: $col_black;
&.__auteur *{
font-size: 1.4rem;
}
&.__body{
margin:1rem 0;
}
}
a{
text-decoration: underline;
color: $color1;
}
}
}
@@ -60,7 +79,11 @@
// thumbnails slides
.__slide{
.thumbnails{
max-width: 380px;
// max-width: 380px;
width: calc(100% - 30px);
a{
width: calc(100%);
}
@media screen and (min-width: 768px) {
width: calc(100% / 2 - #{$gutter1} * 2);
}