123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- .path-node.page-node-type-static{
- .layout-container{
- overflow: unset;
- // display: flex;
- // flex-direction: column;
- // flex-flow: row wrap;
- // header{
- // flex: 0 0 100%;
- // }
- // main{
- // flex: 0 0 100%;
- .layout-content{
-
- // padding-top: 0;
- .layout__region--top{ //bandeau titre page static
- padding-bottom: 3rem;
- height: 30vh;
- @media (max-width: 810px){
- padding-bottom: 0rem;
- }
- .block-entity-fieldnodetitle{
- width: fit-content;
- margin-left: 11%;
- margin-top: 15vh;
- @media (max-width: 810px){
- margin-left: 8%;
- margin-right: 5%;
- }
- .field--name-title{
- display: inline;
- font-family: 'Source Code Pro';
- font-size: 2rem;
- font-weight: 800;
- text-transform: uppercase;
- }
- }
- // .block-entity-fieldnodefield-images{
- // display: none;
- // height: inherit;
-
- // }
- }
- // menu ancres a gauche
- .layout__region--first{ // menu ancres a gauche
- position: relative;
- .block-region-first{
- display: flex;
- justify-content: flex-end;
- position: -webkit-sticky;
- position: sticky;
- top: 10rem;
- @media (max-width: 810px){
- display: none;
- }
- .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.8rem;
- padding-right: 1rem;
- margin-top: 1rem;
- scroll-margin-top: 7em;
-
- &:hover{
- text-decoration: underline;
- }
- }
- }
- }
- }
- // paragraphe texte
- .layout__region--second{
- @media (max-width: 810px){
- flex: 0 1 80%;
- margin: auto;
- }
- @media (max-width: 479px){
- padding-top: 5rem;
- }
- // paragraphe texte
- .block-entity-fieldnodefield-textes{
- margin-top: 1rem;
- background-color: $white;
- .field--name-field-titre{
- font-size: 1.5rem;
- font-weight: 1000;
- font-family: 'Source Code Pro', monospace;
- color: $blue-dark;
- text-transform: uppercase;
- margin-top: 2rem;
- margin-bottom: 0.8rem;
- }
- h4{
- text-transform: none !important;
-
- img{
- width: 100%;
- height: auto;
- }
- }
- .field--type-text-long{
- padding-right: 2rem;
- }
- p{
- margin-top: 0;
- }
- }
-
- }
- // colone de droite fichiers et ressources liées
- .layout__region--third{
- .block-region-third{
- margin-top: 1rem;
- display: flex;
- flex-direction: column;
- width: 70%;
- // position: -webkit-sticky;
- // position: sticky;
- // top: 9rem;
- @media (max-width: 810px){
- margin: auto;
- }
- .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: 0.8rem;
- padding-top: 1rem;
- padding-bottom: 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:25px;
- height: auto;
- padding-right: 0.5rem;
- // display: inline-flex;
- // align-items: center;
- }
- 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: 2rem;
- background: $white;
- color: $blue-light;
- padding-left: 0.8rem;
- padding-top: 1rem;
- padding-bottom: 1rem;
- margin-bottom: 1rem;
-
- }
- a{
- display: inline-flex;
- // align-items: center;
- justify-items: center;
- color: $blue-light;
- font-weight: 800;
- &::before{
- content: url("../images/pictos/noun_External Link_674151.svg");
- min-width: 25px;
- height: auto;
- padding-right: 0.5rem;
- // display: inline-flex;
- // align-items: center;
- }
- svg.ext{
- display: none;
- }
- }
- }
-
- }
-
-
- .block-entity-fieldnodefield-ress{
- margin-top: 3rem;
-
- h2{
- font-size: 0.8rem;
- color: $black;
- font-weight: 900;
- }
-
- .node-type-ressource{
- border: 2px solid $blue-light;
- background-color: $white;
- // margin-left: 1rem;
- margin-bottom: 1rem ;
- padding: 1rem;
- div{
- display: flex;
- flex-direction: column;
- .field--name-field-type-de-ressource{
- order: 2;
- text-transform: uppercase;
- color: $blue-light;
- font-weight: 900;
- font-size: 0.8rem;
- }
- .field--name-title{
- order: 3;
- h2{
- margin: 0;
- a{
- color: $black;
- font-size: 1rem;
- font-weight: 900;
- font-style: italic;
- }
- }
- }
- .field--name-field-sous-titre{
- order:4;
- }
- .field--name-field-auteur-s-{
- order: 5;
- 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{
- // display: none;
- order: 1;
- width: 25%;
- img{
- width: 100%;
- height: auto;
- }
- }
- .field--name-field-date-de-parution{
- order: 6;
- .field__label{
- display: none;
- }
- }
- .field--name-field-mots-clefs{
- order: 7;
- display: flex;
- margin-top: 0.8rem;
- flex-direction: row;
- flex-wrap: wrap;
- .field__label{
- display: none;
- }
- .field__items{
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- }
- .field__item{
- padding-bottom: 0.5rem;
- margin-right: 0.5rem;
- padding-right: 0.3rem;
- font-size: 0.8rem;
-
- a{
- background: $blue-dark;
- color: $white;
- font-weight: 800;
- vertical-align: super;
- padding-left: 0.1rem;
- padding-right: 0.1rem;
- display: inline-flex;
- }
- }
- }
- ul.links.inline{
- display: none;
- }
- }
- }
-
- }
-
- }
-
-
- }
- }
-
- // }
- }
- }
-
|