_static.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. .layout__region--top{ //bandeau titre page static
  2. height: 500px;
  3. padding-bottom: 3rem;
  4. .block-region-top{
  5. height: inherit;
  6. }
  7. .block-entity-fieldnodefield-images{
  8. height: inherit;
  9. .field--name-field-images{
  10. height: inherit;
  11. .field__item{
  12. height: inherit;
  13. img{
  14. width: 65%;
  15. height: inherit;
  16. object-fit: cover;
  17. position: relative;
  18. z-index: -2;
  19. }
  20. }
  21. }
  22. }
  23. .block-entity-fieldnodetitle{
  24. display: block;
  25. position: relative;
  26. float: right;
  27. top: -420px;
  28. width: 60%;
  29. z-index: -1;
  30. .field--name-title{
  31. font-size: 4rem;
  32. font-weight: 800;
  33. color: $blue-light;
  34. background-color: $white;
  35. padding: 2rem 1rem 2rem 1rem;
  36. }
  37. }
  38. }
  39. .layout__region--first{ // menu ancres a gauche
  40. .block-region-first{
  41. width: 50%;
  42. float: right;
  43. .block-entity-fieldnodefield-textes{
  44. display: flex;
  45. justify-content: left;
  46. padding-right: 2rem;
  47. .field--name-field-titre{
  48. display: flex;
  49. font-size: 1rem;
  50. font-weight: 800;
  51. color: $blue-dark;
  52. border-bottom: 1px solid $blue-light;
  53. padding-bottom: 0.5rem;
  54. padding-top: 0.5rem;
  55. &:hover{
  56. text-decoration: underline;
  57. }
  58. // &::after{
  59. // border-bottom: olivedrab;
  60. // }
  61. }
  62. }
  63. }
  64. }
  65. .layout__region--second{ // paragraphe texte
  66. .block-entity-fieldnodefield-textes{
  67. .field--name-field-titre{
  68. font-size: 2rem;
  69. font-weight: 800;
  70. color: $blue-dark;
  71. }
  72. .field--type-text-long{
  73. padding-right: 2rem;
  74. }
  75. }
  76. }
  77. .layout__region--third{ // colone de droite fichiers et ressources liées
  78. .field--name-field-fichiers{
  79. display: flex;
  80. justify-self: right;
  81. min-height: 4rem;
  82. max-width: 70%;
  83. background: #009ee3;
  84. color: white;
  85. align-content: flex-end;
  86. align-items: center;
  87. justify-content: center;
  88. .file--mime-application-pdf{
  89. a{
  90. color: $white;
  91. font-weight: 800;
  92. }
  93. padding: 1rem;
  94. }
  95. }
  96. .block-entity-fieldnodefield-ress{
  97. h2{
  98. font-size: 1rem;
  99. color: $blue-dark;
  100. }
  101. .node-type-ressource{
  102. display: flex;
  103. border-bottom: 1px solid $blue-light;
  104. padding-bottom: 2rem;
  105. max-width: 70%;
  106. .field, a{
  107. line-height: 0.6rem;
  108. font-size: 1.5rem;
  109. color: $blue-dark;
  110. font-weight: 500;
  111. }
  112. // .field--type-image{
  113. // // max-width: 70%;
  114. // // max-height: 4rem;
  115. // // img{
  116. // // object-fit: scale-down;
  117. // // }
  118. // }
  119. }
  120. }
  121. }