This commit is contained in:
armansansd 2021-10-13 19:47:58 +02:00
parent 3c484198af
commit e7e07bc170
2 changed files with 41 additions and 143 deletions

File diff suppressed because one or more lines are too long

View File

@ -501,7 +501,7 @@
.page-node-type-ressource{ .page-node-type-ressource{
&.programme-1{ &.programme-1{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-1 !important; color: $col-1 !important;
} }
.field_programme div{ .field_programme div{
@ -509,7 +509,7 @@
} }
} }
&.programme-2{ &.programme-2{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-2 !important; color: $col-2 !important;
} }
.field_programme div{ .field_programme div{
@ -518,7 +518,7 @@
} }
&.programme-3{ &.programme-3{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-eur !important; color: $col-eur !important;
} }
.field_programme div{ .field_programme div{
@ -527,7 +527,7 @@
} }
} }
&.programme-4{ &.programme-4{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-1; color: $col-1;
} }
.field_programme div{ .field_programme div{
@ -538,7 +538,7 @@
&.programme-5{ &.programme-5{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-mond !important; color: $col-mond !important;
} }
.field_programme div{ .field_programme div{
@ -547,7 +547,7 @@
} }
&.programme-6{ &.programme-6{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-ter !important; color: $col-ter !important;
} }
.field_programme div{ .field_programme div{
@ -556,7 +556,7 @@
} }
&.programme-7{ &.programme-7{
h2{ h2,.field_auteurs,.field_date_de_parution,.field_type_de_ressource{
color: $col-met !important; color: $col-met !important;
} }
.field_programme div{ .field_programme div{
@ -568,11 +568,13 @@
.block-region-second{ .block-region-second{
display: grid; display: grid;
grid-template-columns: repeat(4, 25%);
padding-bottom: 3rem; padding-bottom: 3rem;
align-items: center;
.field_programme div{ .field_programme div{
display: inline-block; display: inline-block;
// background: gray; // background: gray;
margin-bottom: 1rem;
color: white; color: white;
font-weight: 600; font-weight: 600;
padding: .3rem .5rem; padding: .3rem .5rem;
@ -586,155 +588,51 @@
margin: 0; margin: 0;
font-size: $font-large; font-size: $font-large;
line-height: 1.3; line-height: 1.3;
font-weight: 600; font-weight: 500;
font-style: italic;
margin-bottom: 1rem; margin-bottom: 1rem;
grid-column: 1 / span 2; grid-row: 3;
grid-column: 3 / span 2;
margin: 0;
} }
#node\:field_image{ #node\:field_image{
grid-row: 2;
grid-column: 1 / span 2; grid-column: 1 / span 2;
grid-row: 2 / span 4;
padding: 1rem;
} }
#node\:field_auteurs{ #node\:field_auteurs{
grid-row: 2;
grid-column: 3 / span 2;
.field_auteurs{
font-weight: 600;
font-size: $font-medium;
}
}
#node\:body{
margin-top: 2rem;
grid-column: 1 / span 4;
}
#node\:field_theme{
grid-column: 3 / span 2;
grid-row: 5;
} }
#node\:field_type_de_ressource{ #node\:field_type_de_ressource{
grid-row: 1; grid-row: 1;
grid-column: 2; grid-column: 2 ;
font-weight: 600;
} }
#node\:field_programme{ #node\:field_programme{
grid-row: 1; grid-row: 1;
grid-column: 1; grid-column: 1;
} }
#node\:field_date_de_parution{ #node\:field_date_de_parution{
grid-row: 3; grid-row: 4;
grid-column: 1 / span 2; grid-column: 3 / span 2;
font-size: $font-medium;
} }
// .body{
// font-size: $font-medium;
// height: 15rem;
// overflow: hidden;
// position: relative;
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// footer{
// position:absolute;
// bottom:0;
// left:0;
// z-index: 1;
// width: 100%;
// text-align: center;
// a{
// display: inline-block;
// margin: 0 auto;
// background: black;
// color: white;
// cursor:pointer;
// font-family: "trueno";
// font-weight: 500;
// padding: .3rem .5rem;
// font-size: $font-small;
// text-decoration: none;
// text-transform: uppercase;
// &:hover{
// color:black;
// background: white;
// }
// }
// }
// }
// .body:after{
// content: "";
// opacity: 1;
// position: absolute;
// top: 0; bottom: 0; left: -15px; right: -15px;
// box-shadow: inset $bck-col 0 -2rem 2rem;
// }
// .body_open{
// height: auto !important;
// padding: 0 0 .8rem 0;
// &:after{
// opacity: 0;
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// }
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// }
// .body_open:after{
// display: none;
// }
// .field_textes{
// .paragraph{
// // border-top: 1px solid black;
// border-bottom: 3px dotted gray;
// padding: 1rem 0;
// .field_titre{
// font-size: $font-big;
// font-weight: 600;
// text-transform: initial;
// cursor: pointer;
// display: grid;
// grid-template-columns: 95% 5%;
// align-content: center;
// // margin-top: 1rem;
// }
// .field_titre:after{
// content: '';
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// align-self: center;
// justify-self: center;
// }
// .rotate:after{
// transform: rotate(180deg);
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// }
// .field_texte{
// height: auto;
// position: relative;
// h2{
// text-transform: inherit;
// }
// p{
// margin-top: .5rem;
// }
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// }
// .crop{
// height: 0;
// overflow: hidden;
// display: none;
// -webkit-transition: all 250ms ease;
// -moz-transition: all 250ms ease;
// -o-transition: all 250ms ease;
// transition: all 250ms ease;
// }
// }
// }
} }
} }