_static.scss 3.7 KB

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