#2009 ajout logo en css
This commit is contained in:
parent
5e2e498879
commit
1ca8016d32
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -462,6 +462,21 @@ if($(".page-node-type-ressource").find(".ressources-video").length > 0){
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//ressources page projet
|
||||||
|
|
||||||
|
if($(".page-node-type-projet").length > 0){
|
||||||
|
|
||||||
|
let art = $(".views-field-field-ressources-liees article");
|
||||||
|
|
||||||
|
art.each(function(){
|
||||||
|
let t = $(this).find("h2");
|
||||||
|
|
||||||
|
$(t).clone().insertAfter($(this).find(".field_image"));
|
||||||
|
$(t).remove();
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
//crop text for collection
|
//crop text for collection
|
||||||
// $(".block-region-third .views-field-description__value").addClass("hidden_text");
|
// $(".block-region-third .views-field-description__value").addClass("hidden_text");
|
||||||
// $(".block-region-third .views-field-description__value").on("click", function(){
|
// $(".block-region-third .views-field-description__value").on("click", function(){
|
||||||
|
@ -697,34 +697,73 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page-node-type-projet{
|
.page-node-type-projet{
|
||||||
|
.block-region-third .views-element-container div div{
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
.block-region-third{
|
.block-region-third{
|
||||||
#ressources-block_1{
|
#ressources-block_1{
|
||||||
// padding: 0.5rem 1rem;
|
// padding: 0.5rem 1rem;
|
||||||
.views-field-field-ressources-liees article{
|
.views-field-field-ressources-liees article{
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
color: black;
|
color: black;
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 25% auto;
|
.field-content{
|
||||||
|
ul{
|
||||||
|
li{
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.field_type_de_ressource{
|
.field_type_de_ressource{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
h2{
|
.field_auteurs{
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
grid-column: 1 / span 2;
|
padding: 0;
|
||||||
grid-row: 1;
|
}
|
||||||
|
|
||||||
|
.field_sous_titre{
|
||||||
|
padding: 0;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: italic;
|
||||||
|
// grid-column: 1 / span 2;
|
||||||
|
// grid-row: 1;
|
||||||
font-size: $font-normal;
|
font-size: $font-normal;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
a{
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.field_image{
|
||||||
|
position: relative;
|
||||||
|
padding: 0 !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
&>div{
|
&>div{
|
||||||
grid-column: 1 / span 2;
|
display: grid;
|
||||||
|
grid-template-columns: 25% auto;
|
||||||
|
align-items: center;
|
||||||
|
margin: 1rem 0;
|
||||||
|
grid-column-gap: 10px;
|
||||||
|
h2{
|
||||||
|
grid-column: 2;
|
||||||
|
margin: -.8rem 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.field_image{
|
.field_image{
|
||||||
position: relative;
|
grid-column: 1;
|
||||||
float: left;
|
}
|
||||||
width: 45%;
|
.field_sous_titre{
|
||||||
margin-right: 5%;
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
.field_auteurs{
|
||||||
|
grid-column: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// .views-field-field-image{
|
// .views-field-field-image{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user