_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. img{
  52. width: 100%;
  53. height: auto;
  54. }
  55. }
  56. .field--type-text-long{
  57. padding-right: 2rem;
  58. }
  59. p{
  60. margin-top: 0;
  61. }
  62. }
  63. }
  64. .layout__region--third{ // colone de droite fichiers et ressources liées
  65. .block-entity-fieldnodefield-fichiers{
  66. height: fit-content;
  67. border: 2px solid $blue-light;
  68. width: 72%;
  69. }
  70. .field--name-field-fichiers{
  71. min-height: 4rem;
  72. // max-width: 75%;
  73. background: $white;
  74. color: $blue-light;
  75. padding-left: 1rem;
  76. padding-top: 1rem;
  77. span:nth-of-type(2){
  78. display: none;
  79. }
  80. .file--mime-application-pdf{
  81. height: inherit;
  82. margin: auto;
  83. ::before{
  84. content: url("../images/pictos/noun_Download_file_307900.svg");
  85. width: 50px;
  86. height: 53px;
  87. padding-right: 1rem;
  88. }
  89. a{
  90. display: inline-flex;
  91. align-items: center;
  92. color: $blue-light;
  93. font-weight: 800;
  94. }
  95. }
  96. }
  97. .block-entity-fieldnodefield-ress{
  98. margin-top: 5rem;
  99. h2{
  100. font-size: 1rem;
  101. color: $black;
  102. }
  103. .node-type-ressource{
  104. display: flex;
  105. border: 2px solid $blue-light;
  106. padding-left: 1rem;
  107. padding-bottom: 3rem;
  108. width: 69%;
  109. height: fit-content;
  110. margin-bottom: 1rem;
  111. background-color: $white;
  112. &:first-of-type{
  113. border-top: 1px solid $blue-light;
  114. padding-top: 1rem;
  115. }
  116. .field, a{
  117. line-height: 0.6rem;
  118. font-size: 1.5rem;
  119. color: $blue-dark;
  120. font-weight: 500;
  121. }
  122. .field--name-field-images{
  123. width: 50%;
  124. img{
  125. width: 100%;
  126. height: auto;
  127. }
  128. }
  129. }
  130. }
  131. }