_static.scss 4.1 KB

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