123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- // .node-type-static {
- // display: grid;
- // grid-template-columns: 2fr 2fr 2fr 2fr 2fr;
- // }
- .field--type-entity-reference-revisions{
- .paragraph-summary{
- font-family: $font-family-default;
- font-size: 5rem;
- font-weight: 600;
- color: $black !important;
- text-transform: capitalize;
-
- span:nth-of-type(2n){
- display: block;
- font-size: 1rem;
- }
- }
- .paragraph-summary:nth-of-type(2n) {
- font-size: 2rem;
- }
-
- }
- // bandeau bleu actus
- .block-views-blockactus-blocks-pages-block-1{
- background-color: $blue-dark;
- padding: 1rem;
- .view-content{
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- .node-type-actualite{
- div:first-child{
- color: $white;
- .field--name-field-images {
- .field__item img{
- width: 200px;
- height: fit-content;
- // &::after{
- // content:"line";
- // }
- }
- }
- }
- h2{ margin:0; }
- a{ color: $white; }
- }
- }
- }
- // actu dans bandeau
- .node-type-actualite div:first-child{
- display: flex;
- flex-direction: column;
- :nth-child(1) { order: 1; }
- :nth-child(4) { order: 2; }
- :nth-child(5) { order: 3; }
- }
- // bouton voir toutes actus du bandeau bleu
- .field--type-link {
- display: block;
- width: fit-content;
- padding: 1rem;
- font-size: 1.5rem;
-
- background-color: $white;
- border: 2px solid $blue-light;
- a{
- font-size: 1rem;
- text-transform: uppercase;
- font-weight: 700;
- color: $blue-light;
- }
- a::after{
- display: inline-block;
- content: url("../../images/pictos/polygon2.svg");
- }
- }
- // boutons en savoir plus pour lien vers pages statiques
- .view-display-id-block_2{
- padding-top: 2rem;
- .node-type-static{
- width: 80%;
- margin: auto;
- div:first-child:not(.field__item):not(.field){
- display: flex;
- flex-direction: row;
- }
- padding: 1rem;
- .inline.links{
- align-self: flex-end;
- width: fit-content;
- height: fit-content;
- padding: 0.4rem 1rem;
- font-size: 0.8rem;
- margin: 0;
- background-color: $white;
- border: 2px solid $blue-light;
- list-style: none;
- a{
- text-transform: uppercase;
- font-weight: 700;
- color: $blue-light;
- // &::after{
- // content: url('../../images/pictos/noun_Arrow_3771902.svg');
- // }
- }
- }
- .field--name-field-images{
- .field__item{
- img{
- width: 15rem;
- height: auto;
- }
- }
- }
- .field--name-title{
- display: none;
- }
- .field--name-field-accroche{
- flex: 1 1 50px;
- padding-left: 1rem;
- p{
- font-size: 1.5rem;
- width: 110%;
- }
- }
- }
- }
-
|