_static.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // .
  2. // .paragraph--type--texte {
  3. // paragraph--type--texte
  4. // font-size: 2rem;
  5. // }
  6. .layout__region--top{
  7. .block-entity-fieldnodefield-images{
  8. img{
  9. width: 65%;
  10. object-fit: cover;
  11. height: 500px;
  12. }
  13. }
  14. .block-entity-fieldnodetitle{
  15. display: block;
  16. position: relative;
  17. float: right;
  18. top: -375px;
  19. width: 60%;
  20. .field--name-title{
  21. font-size: 4rem;
  22. font-weight: 800;
  23. color: $blue-light;
  24. background-color: $white;
  25. padding: 2rem 1rem 2rem 1rem;
  26. }
  27. }
  28. }
  29. .layout__region--first{
  30. .block-region-first{
  31. .block-entity-fieldnodefield-textes{
  32. // max-width: 70%;
  33. // margin-left: 5rem;
  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: 800;
  41. color: $blue-dark;
  42. &:focus{
  43. text-decoration: underline;
  44. }
  45. &::after{
  46. border-bottom: olivedrab;
  47. }
  48. }
  49. }
  50. }
  51. }
  52. .layout__region--second{
  53. .block-entity-fieldnodefield-textes{
  54. .field--name-field-titre{
  55. font-size: 2rem;
  56. font-weight: 800;
  57. color: $blue-dark;
  58. }
  59. .field--type-text-long{
  60. padding-right: 2rem;
  61. }
  62. }
  63. }
  64. .layout__region--third{
  65. .field--name-field-fichiers{
  66. display: flex;
  67. justify-self: right;
  68. min-height: 4rem;
  69. max-width: 70%;
  70. background: #009ee3;
  71. color: white;
  72. align-content: flex-end;
  73. align-items: center;
  74. justify-content: center;
  75. .file--mime-application-pdf{
  76. a{
  77. color: $white;
  78. font-weight: 800;
  79. }
  80. padding: 1rem;
  81. }
  82. }
  83. .block-entity-fieldnodefield-ress{
  84. h2{
  85. font-size: 1rem;
  86. color: $blue-dark;
  87. }
  88. .node-type-ressource{
  89. display: flex;
  90. border-bottom: 1px solid $blue-light;
  91. padding-bottom: 2rem;
  92. max-width: 70%;
  93. .field, a{
  94. line-height: 0.6rem;
  95. font-size: 1.5rem;
  96. color: $blue-dark;
  97. font-weight: 500;
  98. }
  99. // .field--type-image{
  100. // // max-width: 70%;
  101. // // max-height: 4rem;
  102. // // img{
  103. // // object-fit: scale-down;
  104. // // }
  105. // }
  106. }
  107. }
  108. }