design reportage photo

This commit is contained in:
Ouidade Soussi Chiadmi 2024-06-04 11:47:35 +02:00
parent 105533fb2d
commit 8f0132dfbc
4 changed files with 60 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -577,6 +577,8 @@ if($(".programme-878").length > 0){
}); });
////////// disable click droit souris
jQuery(document).ready(function () { jQuery(document).ready(function () {
//Disable cut copy paste //Disable cut copy paste
@ -589,10 +591,11 @@ jQuery(document).ready(function () {
//Disable mouse right click //Disable mouse right click
jQuery("body").on("contextmenu",function(e){ jQuery("img").on("contextmenu",function(e){
return false; return false;
}); });
}); });

View File

@ -873,14 +873,60 @@
margin: 0rem 0 1rem 0; margin: 0rem 0 1rem 0;
} }
} }
}
/// spec ressource reportage photo
.page-node-type-ressource{
.ressources-reportage-photographique{ .ressources-reportage-photographique{
.block-region-second{
display: flex;
flex-direction: column;
#node\:field_image{ #node\:field_image{
display: none; display: none;
} }
#node\:field_programme{
order: 1;
}
#node\:title{
order: 2;
margin-bottom: 1rem;
}
#node\:field_diaporama{
order: 3;
margin-bottom: 1rem;
img{
max-width: 800px;
max-height: 800px;
object-fit: contain;
margin: auto;
}
}
#node\:field_type_de_ressource{ #node\:field_type_de_ressource{
padding: 0; padding: 0;
order: 4;
}
#node\:field_auteurs{
order: 5;
}
#node\:field_sous_titre{
order: 6;
}
#node\:field_date_de_parution{
order: 8;
}
#node\:field_collections{
order: 7;
}
#node\:body{
order: 10;
margin-top: 1rem;
}
#node\:field_theme{
display: none;
order: 9;
}
}
} }
} }
}