_static.scss 3.4 KB

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