css ressource livre
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
|
||||
.page-node-type-ressource{
|
||||
.layout-container{
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
// #block-contenudelapageprincipale{
|
||||
.layout__region--top{
|
||||
@@ -13,11 +16,11 @@
|
||||
@media screen and (min-width:1100px) {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr; /* 1/3 pour l'image, 2/3 pour le contenu */
|
||||
gap: 1rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.block-entity-fieldnodefield-images{
|
||||
width: fit-content;
|
||||
padding-right: 2rem;
|
||||
// padding-right: 2rem;
|
||||
padding-left: 25%;
|
||||
|
||||
@media screen and (min-width:1100px) {
|
||||
@@ -86,14 +89,15 @@
|
||||
.block-entity-fieldnodefield-type-de-ressource{
|
||||
color: $blue-light;
|
||||
text-transform: uppercase;
|
||||
font-weight: 800;
|
||||
font-weight: 900;
|
||||
@media (max-width: 1099px) {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodetitle{
|
||||
font-size: 2rem;
|
||||
font-size: 3rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
.field--name-title{
|
||||
@media (max-width: 550px) {
|
||||
font-size: 1.5rem;
|
||||
@@ -121,6 +125,7 @@
|
||||
.field--name-field-auteur-s-{
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
line-height: 0.8;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
@@ -132,7 +137,7 @@
|
||||
.block-entity-fieldnodefield-mots-clefs{
|
||||
.field--name-field-mots-clefs{
|
||||
display: inline-flex;
|
||||
margin-top: 2rem;
|
||||
margin-top: 0.5rem;
|
||||
.field__item{
|
||||
background: $blue-dark;
|
||||
margin-right: 1rem;
|
||||
@@ -180,7 +185,7 @@
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
position: sticky;
|
||||
top: 7rem;
|
||||
top: 13rem;
|
||||
.block-entity-fieldnodefield-textes{
|
||||
display: flex;
|
||||
width: 50%;
|
||||
@@ -277,11 +282,13 @@
|
||||
.file--mime-application-pdf{
|
||||
height: inherit;
|
||||
margin: auto;
|
||||
width: fit-content;
|
||||
::before{
|
||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||
content: url("../images/pictos/download.png");
|
||||
min-width:30px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
a{
|
||||
hyphens: auto;
|
||||
|
||||
Reference in New Issue
Block a user