background bandeau
This commit is contained in:
@@ -187,151 +187,160 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.views-row-wrapper{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
h3{
|
||||
text-transform: uppercase;
|
||||
color: rgb(9, 57, 139);
|
||||
}
|
||||
.views-row{
|
||||
width: 25%;
|
||||
flex: 0 0 25%;
|
||||
|
||||
.node-type-ressource{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid $blue-light;
|
||||
margin-left: 1rem;
|
||||
margin-bottom: 1rem ;
|
||||
padding: 1rem;
|
||||
.ext{
|
||||
color: black;
|
||||
}
|
||||
svg.ext{
|
||||
display: none;
|
||||
}
|
||||
&.type-de-ressource-Publication-issue-du-programme-EQLD{
|
||||
background-color: $background-actus;
|
||||
}
|
||||
&.type-de-ressource-Paroles-de-lauréats{
|
||||
background-color: $background-actus;
|
||||
}
|
||||
@media (max-width: 479px) {
|
||||
margin-left: 0;
|
||||
}
|
||||
&:hover{
|
||||
background-color: $black15;
|
||||
}
|
||||
|
||||
.field--name-field-type-de-ressource{
|
||||
text-transform: uppercase;
|
||||
line-height: 1.1rem;
|
||||
margin-top: 0.5rem;
|
||||
a{
|
||||
color: $blue-light;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
margin-top: 0.5rem;
|
||||
.view-type-ressource-slide{
|
||||
|
||||
h2{
|
||||
margin: 0;
|
||||
line-height: 1rem;
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1rem;
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
h3{
|
||||
text-transform: uppercase;
|
||||
a{color: rgb(9, 57, 139) !important;}
|
||||
}
|
||||
.views-row-wrapper{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.views-row{
|
||||
width: 25%;
|
||||
flex: 0 0 25%;
|
||||
|
||||
.node-type-ressource{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid $blue-light;
|
||||
margin-left: 1rem;
|
||||
margin-bottom: 1rem ;
|
||||
padding: 1rem;
|
||||
.ext{
|
||||
color: black;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
margin-top: 0.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 1.1rem;
|
||||
p{
|
||||
margin: 0;
|
||||
svg.ext{
|
||||
display: none;
|
||||
}
|
||||
&.type-de-ressource-Publication-issue-du-programme-EQLD{
|
||||
background-color: $background-actus;
|
||||
}
|
||||
&.type-de-ressource-Paroles-de-lauréats{
|
||||
background-color: $background-actus;
|
||||
}
|
||||
@media (max-width: 479px) {
|
||||
margin-left: 0;
|
||||
}
|
||||
&:hover{
|
||||
background-color: $black15;
|
||||
}
|
||||
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
.field--name-field-edition{
|
||||
margin-top: 0.5rem;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
// display: none;
|
||||
// width: 30%;
|
||||
width: fit-content;
|
||||
border: 1px solid #a3a3a3;
|
||||
height: 100px;
|
||||
.field__item{
|
||||
height: 100px;
|
||||
}
|
||||
img{
|
||||
height: 100%;
|
||||
width: auto;
|
||||
// width: 100%;
|
||||
// height: auto;
|
||||
}
|
||||
}
|
||||
.field--name-field-date-de-parution{
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.field--name-field-mots-clefs{
|
||||
display: flex;
|
||||
margin-top: 1rem;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.field__item{
|
||||
margin-right: 0.5rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
font-size: 0.7rem;
|
||||
|
||||
a{
|
||||
background: $blue-dark;
|
||||
color: $white;
|
||||
.field--name-field-type-de-ressource{
|
||||
text-transform: uppercase;
|
||||
line-height: 1.1rem;
|
||||
margin-top: 0.5rem;
|
||||
a{
|
||||
color: $blue-light;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
margin-top: 0.5rem;
|
||||
|
||||
h2{
|
||||
margin: 0;
|
||||
line-height: 1rem;
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1rem;
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
margin-top: 0.5rem;
|
||||
font-weight: 800;
|
||||
vertical-align: super;
|
||||
padding-left: 0.1rem;
|
||||
padding-right: 0.1rem;
|
||||
display: inline-flex;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
line-height: 1.1rem;
|
||||
p{
|
||||
margin: 0;
|
||||
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-sous-titre{
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
.field--name-field-edition{
|
||||
margin-top: 0.5rem;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
// display: none;
|
||||
// width: 30%;
|
||||
width: fit-content;
|
||||
border: 1px solid #a3a3a3;
|
||||
height: 100px;
|
||||
.field__item{
|
||||
height: 100px;
|
||||
}
|
||||
img{
|
||||
height: 100%;
|
||||
width: auto;
|
||||
// width: 100%;
|
||||
// height: auto;
|
||||
}
|
||||
}
|
||||
.field--name-field-date-de-parution{
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.field--name-field-mots-clefs{
|
||||
display: flex;
|
||||
margin-top: 1rem;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.field__item{
|
||||
margin-right: 0.5rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
font-size: 0.7rem;
|
||||
|
||||
a{
|
||||
background: $blue-dark;
|
||||
color: $white;
|
||||
font-weight: 800;
|
||||
vertical-align: super;
|
||||
padding-left: 0.1rem;
|
||||
padding-right: 0.1rem;
|
||||
display: inline-flex;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.links.inline{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.links.inline{
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
flex-direction: column;
|
||||
.views-row{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@media (max-width: 810px){
|
||||
flex-direction: column;
|
||||
.views-row{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.view-type-ressource-slide:has(.type-publication-issue-du-programme-eqld){
|
||||
background-color: $background-actus;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user