css node-type-ressource dans page projet
This commit is contained in:
@@ -343,13 +343,30 @@
|
||||
span:nth-of-type(2){
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file--image{
|
||||
height: inherit;
|
||||
margin: auto;
|
||||
::before{
|
||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||
min-width:30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
a{
|
||||
hyphens: auto;
|
||||
display: inline-flex;
|
||||
// align-items: center;
|
||||
color: $blue-light;
|
||||
font-weight: 800;
|
||||
// max-width: 80px ;
|
||||
}
|
||||
}
|
||||
.file--mime-application-pdf{
|
||||
height: inherit;
|
||||
margin: auto;
|
||||
::before{
|
||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||
min-width:15px;
|
||||
min-width:30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@@ -382,12 +399,12 @@
|
||||
}
|
||||
a{
|
||||
display: inline-flex;
|
||||
// align-items: center;
|
||||
align-items: center;
|
||||
color: $blue-light;
|
||||
font-weight: 800;
|
||||
&::before{
|
||||
content: url("../images/pictos/noun_External Link_674151.svg");
|
||||
min-width: 15px;
|
||||
min-width: 30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
@@ -418,49 +435,96 @@
|
||||
height: fit-content;
|
||||
margin-bottom: 1rem;
|
||||
background-color: $white;
|
||||
&:first-of-type{
|
||||
border-top: 1px solid $blue-light;
|
||||
padding-top: 1rem;
|
||||
&::after{
|
||||
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
align-self: flex-end;
|
||||
// &:first-of-type{
|
||||
// border-top: 1px solid $blue-light;
|
||||
// padding-top: 1rem;
|
||||
// &::after{
|
||||
// content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
// align-self: flex-end;
|
||||
// }
|
||||
// }
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.field--name-title{
|
||||
order: 3;
|
||||
h2{
|
||||
margin: 0;
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1rem;
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
|
||||
.field--name-field-sous-titre{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.field--name-field-type-de-ressource{
|
||||
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
font-weight: 800;
|
||||
p{
|
||||
margin: 0;
|
||||
.field--name-field-type-de-ressource{
|
||||
order: 2;
|
||||
text-transform: uppercase;
|
||||
color: $blue-light;
|
||||
font-weight: 900;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
.field--name-field-auteur-s-{
|
||||
order: 5;
|
||||
font-weight: 800;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-field-edition{
|
||||
p{
|
||||
margin: 0;
|
||||
.field--name-field-edition{
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
.field--name-field-images{
|
||||
// display: none;
|
||||
order: 1;
|
||||
width: 25%;
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
width: 50%;
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
.field--name-field-mots-clefs{
|
||||
order: 6;
|
||||
display: flex;
|
||||
margin-top: 2rem;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.field__item{
|
||||
|
||||
margin-right: 0.5rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
font-size: 0.8rem;
|
||||
|
||||
a{
|
||||
background: $blue-dark;
|
||||
color: $white;
|
||||
font-weight: 800;
|
||||
vertical-align: super;
|
||||
padding-left: 0.1rem;
|
||||
padding-right: 0.1rem;
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.links.inline{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user