123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- article, .paragraph{
- h2,h3,h4,h5,h6{
- font-family: "trueno";
- font-weight: 600;
- font-size: $font-medium;
- color:black;
- margin-top: 1rem;
- margin-bottom: .3rem;
- }
- p{
- margin-bottom: .5rem;
- }
- }
- .layout-container{
- background-color: $bck-col;
- z-index: 0;
- position: relative;
- }
- .block-region-bottom .prog-ressources-link,.ressources-link{
- display: inline-block;
- margin: 0 auto;
- background: black;
- color: white;
- font-family: "trueno";
- font-weight: 500;
- padding: .3rem .7rem;
- font-size: $font-small;
- text-decoration: none;
- text-transform: uppercase;
- }
- .block-region-bottom .prog-ressources-link{
- &:hover{
- color:black;
- background: white;
- }
- }
- .block-region-first,.block-region-third{
- .prog-ressources-link{
- text-transform: uppercase;
- }
- .is-active{
- font-weight: 600;
- }
- h2{
- font-size: $font-big;
- background-color: black;
- color: white;
- padding: .1rem 1rem;
- margin-top: .3rem;
- }
- .views-field-field-intro{
- display: none;
- }
- }
- .block-region-third{
- h2{
- //margin: 1.5rem 0 .5rem 0;
- }
- .field_document{
- padding: 0.5rem 0.5rem;
- }
- .field_organisateur,.field_fichier, .field_lien,.field_ressources_liees, .views-element-container div{
- //padding: 0rem 1rem;
- div{
- text-decoration: none;
- padding: .3rem 0;
- }
- //field colletion :
- // .views-field-description__value{
- // max-height: 5rem;
- // overflow: hidden;
- // position: relative;
- // }
- // .views-field-description__value:hover{
- // max-height: none;
- // overflow: auto;
- // }
- .hidden_text{
- max-height: 5rem;
- overflow: hidden;
- position: relative;
- cursor: pointer;
- }
-
- .hidden_text:after{
- content: "";
- text-align: center;
- opacity: 1;
- position: absolute;
- top: 0;
- bottom: 0;
- left: -15px;
- right: -15px;
- box-shadow: inset 0 -2rem 1rem #eff2f9;
- }
- }
- .field_partenaires{
- background: white;
- padding: .5rem 0;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- grid-column-gap: .3rem;
- padding: 0.5rem 1rem;
- }
- }
- .block-region-first{
- background-color: black;
- color: white;
- z-index: 120;
- #node\:title{
- text-transform: uppercase;
- font-family: 'duke';
- font-size: $font-big;
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
-
- }
- .page-node-type-static{
- .layout__region{
- position: relative;
- }
- .layout__region--top{
- z-index: 0;
- position: absolute;
- top: 0;
- left: 0;
- width: 99vw;
- height: 40vh;
- background: $trame;
- box-shadow: inset 0 -5rem 8rem $bck-col;
- z-index: -1;
- }
- .block-region-third{
- position: sticky;
- top: 3rem;
- }
- .block-region-first{
- padding: 1rem;
- position: sticky;
- top: 3rem;
- @include breakpoint(small down) {
- grid-column-start: 1;
- top: 0;
- }
- .field_titre{
- font-size: $font-normal;
- font-weight: 600;
- margin-top: .5rem;
- cursor: pointer;
- &:hover{
- text-decoration: underline;
- }
- }
- }
- .block-region-first #node\:title{
- font-size: 1.3rem;
- &:hover{
- text-decoration: 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;
- // margin-top: 1rem;
- }
-
- .field_texte{
- height: auto;
- position: relative;
- h2{
- text-transform: inherit;
- }
- -webkit-transition: all 250ms ease;
- -moz-transition: all 250ms ease;
- -o-transition: all 250ms ease;
- transition: all 250ms ease;
- }
-
-
- }
- }
- .block-region-second{
- #node\:field_equipes{
- margin-top: 1.5rem;
- .field_equipes{
- .paragraph{
- .field_type_equipe{
- font-size: $font-medium;
- font-weight: 600;
- margin: 1rem 0;
- }
- .field_membres{
-
- .paragraph{
- display: grid;
- // grid-template-columns: 20% 1fr 1fr;
- grid-auto-columns: minmax(0, 20%) auto minmax(0, 1fr);
- margin-bottom: 1rem;
-
- }
- // div:not(.field_photo){
- // grid-column: 2;
- // // flex: 1 100%;
- // }
- .field_prenom{
- grid-column: 2;
- grid-row: 1;
- display: inline-block;
- font-weight: 500;
- align-self: end;
- }
- .field_nom{
- grid-column: 3;
- grid-row: 1;
- padding-left: .2rem;
- display: inline-block;
- width: auto;
- font-weight: 500;
- align-self: end;
- }
- .field_fonction{
- grid-column: 2 / span 2;
- align-self: start;
- }
- .field_photo{
- align-self: center;
- grid-row: 1 / span 2;
- margin-right: 1rem;
- img{
- // width: 100%;
- // height: 100%;
- }
- }
- }
- }
- }
- }
- #node\:field_partenaires{
-
- margin-top: 1.5rem;
- .paragraph{
- display: grid;
- // grid-template-columns: 20% 1fr 1fr;
- grid-auto-columns: minmax(0, 20%) auto;
- margin-bottom: 1rem;
- }
- .field_presentation{
- grid-column: 2;
- padding: 0 1rem;
- }
- .field_logo_partenaire{
- align-self: center;
- }
- }
- }
-
- }
- .page-node-type-actualite, .page-node-type-evenement{
-
- .block-region-first{
- background-color: black;
- color: white;
- // a:not(.prog-ressources-link,.back-actus-link){
- // text-transform: uppercase;
- // font-family: 'duke';
- // font-size: $font-big;
- // padding: .3rem .5rem;
- // text-decoration: none;
- // &:hover{
- // text-decoration: underline;
- // }
- // }
-
-
- }
- #node\:title{
- font-family: "trueno";
- font-weight: 600;
- font-size: $font-medium;
- margin-top: 1rem;
- margin-bottom: .3rem;
- }
- }
|