46 lines
1.1 KiB
SCSS
46 lines
1.1 KiB
SCSS
.page-node-site{
|
|
.node-type-ressource{
|
|
|
|
display: grid;
|
|
grid-template-columns: repeat(4, auto);
|
|
grid-template-rows: repeat(2, auto);
|
|
padding-top: 3rem;
|
|
|
|
.image-ressource{
|
|
grid-row: 1;
|
|
grid-column: 1 /span 2;
|
|
margin-right: 2rem;
|
|
|
|
img{
|
|
height: 400px;
|
|
width: auto;
|
|
}
|
|
}
|
|
.infos-content{
|
|
grid-row: 1;
|
|
grid-column: 3 /span 4;
|
|
|
|
.field--name-field-type-de-ressource{
|
|
text-transform: uppercase;
|
|
font-size: 1.5rem;
|
|
}
|
|
.field--name-field-sous-titre{
|
|
font-size: 2rem;
|
|
}
|
|
.field--name-field-auteur{
|
|
font-weight: 800;
|
|
font-size: 1.4rem;
|
|
}
|
|
}
|
|
.body-content {
|
|
grid-row: 2;
|
|
grid-column: 1 /span 3;
|
|
width: 100%;
|
|
margin-top: 2rem;
|
|
.field--name-field-fichiers{
|
|
width: fit-content;
|
|
}
|
|
|
|
}
|
|
}
|
|
} |