_static.scss 4.0 KB

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