_static.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .layout__region--top{ //bandeau titre page static
  2. padding-bottom: 3rem;
  3. height: 30vh;
  4. .block-entity-fieldnodetitle{
  5. width: fit-content;
  6. margin-left: 13%;
  7. margin-top: 15vh;
  8. }
  9. .block-entity-fieldnodefield-images{
  10. display: none;
  11. height: inherit;
  12. }
  13. }
  14. .layout__region--first{ // menu ancres a gauche
  15. .block-region-first{
  16. display: flex;
  17. justify-content: end;
  18. .block-entity-fieldnodefield-textes{
  19. display: flex;
  20. width: 50%;
  21. background-color: $white;
  22. // justify-content: flex-end;
  23. padding-right: 2rem;
  24. .field--name-field-titre{
  25. display: flex;
  26. font-size: 1rem;
  27. font-weight: 1000;
  28. color: $blue-dark;
  29. border-bottom: 1px solid $blue-light;
  30. padding-bottom: 0.5rem;
  31. padding-right: 1rem;
  32. &:hover{
  33. text-decoration: underline;
  34. }
  35. }
  36. }
  37. }
  38. }
  39. .layout__region--second{ // paragraphe texte
  40. .block-entity-fieldnodefield-textes{
  41. background-color: $white;
  42. .field--name-field-titre{
  43. font-size: 1.5rem;
  44. font-weight: 1000;
  45. font-family: 'Source Code Pro';
  46. color: $blue-dark;
  47. text-transform: uppercase;
  48. }
  49. h4{
  50. text-transform: none !important;
  51. width: 25%;
  52. img{
  53. width: 100%;
  54. height: auto;
  55. }
  56. }
  57. .field--type-text-long{
  58. padding-right: 2rem;
  59. }
  60. p{
  61. margin-top: 0;
  62. }
  63. }
  64. }
  65. .layout__region--third{ // colone de droite fichiers et ressources liées
  66. .block-entity-fieldnodefield-fichiers{
  67. height: fit-content;
  68. border: 2px solid $blue-light;
  69. width: 72%;
  70. }
  71. .field--name-field-fichiers{
  72. min-height: 4rem;
  73. // max-width: 75%;
  74. background: $white;
  75. color: $blue-light;
  76. padding-left: 1rem;
  77. padding-top: 1rem;
  78. span:nth-of-type(2){
  79. display: none;
  80. }
  81. .file--mime-application-pdf{
  82. height: inherit;
  83. margin: auto;
  84. ::before{
  85. content: url("../images/pictos/noun_Download_file_307900.svg");
  86. width: 50px;
  87. height: 53px;
  88. padding-right: 1rem;
  89. }
  90. a{
  91. display: inline-flex;
  92. align-items: center;
  93. color: $blue-light;
  94. font-weight: 800;
  95. }
  96. }
  97. }
  98. .block-entity-fieldnodefield-ress{
  99. margin-top: 5rem;
  100. h2{
  101. font-size: 1rem;
  102. color: $black;
  103. }
  104. .node-type-ressource{
  105. display: flex;
  106. border: 2px solid $blue-light;
  107. padding-left: 1rem;
  108. padding-bottom: 3rem;
  109. width: 69%;
  110. height: fit-content;
  111. margin-bottom: 1rem;
  112. background-color: $white;
  113. &:first-of-type{
  114. border-top: 1px solid $blue-light;
  115. padding-top: 1rem;
  116. }
  117. .field, a{
  118. line-height: 0.6rem;
  119. font-size: 1.5rem;
  120. color: $blue-dark;
  121. font-weight: 500;
  122. }
  123. .field--name-field-images{
  124. width: 50%;
  125. img{
  126. width: 100%;
  127. height: auto;
  128. }
  129. }
  130. }
  131. }
  132. }