123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- .path-node.page-node-type-actualite{
- .layout--threecol-25-50-25{
- // display: grid;
- // grid-template-rows: repeat(6, auto);
-
- .layout__region--top{
- // grid-row: 1 / span 2;
-
- background-color: $background-actus;
- height: 40vh;
- padding-right: 1rem;
- .block-region-top{
- // position: relative;
- display: grid;
- grid-template-columns: 1fr repeat(8, 1fr) 1fr;
- padding-top: 2rem;
-
- .block-entity-fieldnodefield-actu-type{
-
- grid-column: 2;
- }
-
- .block-entity-fieldnodetitle{
- grid-column: 2 /span 7;
- margin: 0;
- .field--name-title{
- font-family: "Source Code Pro";
- font-size: 3rem;
- font-weight: 500;
- }
- }
- .block-entity-fieldnodefield-date{
- grid-column: 2;
- text-transform: uppercase;
- color: $blue-dark;
- font-size: 1.2rem;
- font-weight: 800;
-
- }
- .block-entity-fieldnodefield-images{
- grid-column-start: 5;
- grid-column-end: 9;
- img{
- padding-top: 2rem;
- width: 600px;
- // height: auto;
- max-height: 360px;
- object-fit: cover;
- }
-
- // position: relative;
- // bottom: -50%;
-
- }
-
- }
- }
- .layout__region--first{
- display: flex;
- justify-content: end;
- margin-top: 18rem;
- .block-entity-fieldnodefield-textes{
- display: flex;
- width: 50%;
- background-color: $white;
- padding-right: 2rem;
-
- .field--name-field-titre{
- display: flex;
- font-size: 1rem;
- font-weight: 1000;
- color: $blue-dark;
- border-bottom: 1px solid $blue-light;
- padding-bottom: 0.5rem;
- padding-right: 1rem;
-
- &:hover{
- text-decoration: underline;
- }
- }
- }
- }
- .layout__region--second{
- // grid-row: 3;
- flex: 0 1 50%;
- margin-top: 18rem;
- .block-region-second{
- width: 90%;
- .block-entity-fieldnodefield-textes{
-
- background-color: $white;
- .field--name-field-titre{
- font-size: 1.5rem;
- font-weight: 1000;
- font-family: 'Source Code Pro';
- color: $blue-dark;
- text-transform: uppercase;
- }
- h4{
- text-transform: none !important;
-
- img{
- width: 100%;
- height: auto;
- }
- }
- .field--type-text-long{
- padding-right: 2rem;
- }
- p{
- margin-top: 0;
- }
- }
-
- .block-entity-fieldnodebody{
-
- .panel-body{
- #outputtext{
- overflow-y: visible !important;
- }
- }
- }
- }
- }
-
- .layout__region--third{
- // grid-row: 4;
- margin-top: 18rem;
- .block-region-third{
- display: flex;
- flex-direction: column;
- width: 65%;
- .block-entity-fieldnodefield-fichiers{
- height: fit-content;
- border: 2px solid $blue-light;
- background-color: $white;
-
- }
- .field--name-field-fichiers{
- min-height: 4rem;
- background: $white;
- color: $blue-light;
- padding-left: 1rem;
- padding-top: 1rem;
- margin-bottom: 1rem;
-
- span:nth-of-type(2){
- display: none;
- }
-
- .file--mime-application-pdf{
- height: inherit;
- margin: auto;
- ::before{
- content: url("../images/pictos/noun_Download_file_307900.svg");
- min-width:50px;
- height: auto;
- padding-right: 1rem;
- }
- a{
- hyphens: auto;
- display: inline-flex;
- align-items: center;
- color: $blue-light;
- font-weight: 800;
- // max-width: 80px ;
- }
- }
-
- }
- .block-entity-fieldnodefield-liens{
- .field--name-field-liens{
- .field__item{
- margin: auto;
- height: fit-content;
- border: 2px solid $blue-light;
- min-height: 4rem;
- background: $white;
- color: $blue-light;
- padding-left: 1rem;
- padding-top: 1rem;
- margin-bottom: 1rem;
- }
- a{
- display: inline-flex;
- align-items: center;
- color: $blue-light;
- font-weight: 800;
- &::before{
- content: url("../images/pictos/noun_External Link_674151.svg");
- min-width: 50px;
- height: auto;
- padding-right: 1rem;
- }
- svg.ext{
- display: none;
- }
- }
- }
-
- }
-
-
- .block-entity-fieldnodefield-ress{
- margin-top: 3rem;
-
- h2{
- font-size: 0.8rem;
- color: $black;
- font-weight: 900;
- }
-
- .node-type-ressource{
- display: flex;
- flex-direction: column;
- border: 2px solid $blue-light;
- padding: 1rem;
-
- height: fit-content;
- margin-bottom: 1rem;
- background-color: $white;
- &:first-of-type{
- border-top: 1px solid $blue-light;
- padding-top: 1rem;
- &::after{
- content: url("../images/pictos/noun_Arrow_3771902.svg");
- align-self: end;
- }
- }
- .field--name-title{
- a{
- color: $black;
- font-size: 1.4rem;
- font-weight: 600;
-
- }
- }
- .field--name-field-auteur-s-{
- font-weight: 800;
- p{
- margin: 0;
- }
- .field__label{
- display:none;
- }
- }
- .field--name-field-edition{
- p{
- margin: 0;
- }
- .field__label{
- display:none;
- }
- }
- .field--name-field-images{
- width: 50%;
- img{
- width: 100%;
- height: auto;
- }
- }
- }
- }
-
- }
-
-
- }
- }
-
-
- }
-
|