_static.scss 3.6 KB

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