_ami.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .node-id-3{
  2. background: url('../images/pictos/carre_site.mp4');
  3. background-repeat: no-repeat;
  4. background-position-y: 7rem;
  5. max-width: 100vw;
  6. background-size: contain;
  7. .layout__region--top{ //bandeau titre page static
  8. padding-bottom: 3rem;
  9. height: 30vh;
  10. .block-region-top{
  11. .block-entity-fieldnodefield-images{
  12. display: none;
  13. height: inherit;
  14. }
  15. .block-entity-fieldnodetitle{
  16. .field--name-title{
  17. font-family: 'Source Code Pro';
  18. font-size: 2rem;
  19. font-weight: 800;
  20. color: $blue-light;
  21. background-color: $white;
  22. text-transform: uppercase;
  23. }
  24. }
  25. }
  26. }
  27. .layout__region--third{ // colone de droite fichiers et ressources liées
  28. .block-region-third{
  29. .block-entity-fieldnodefield-liens{
  30. .field--name-field-liens{
  31. .field__item{
  32. background: $blue-light !important;
  33. color: $white !important;
  34. a{
  35. color: $white !important;
  36. }
  37. }
  38. }
  39. }
  40. }
  41. }
  42. .block-entity-fieldnodefield-liens{
  43. .field--name-field-liens{
  44. .field__item{
  45. background: $blue-light;
  46. color: $white;
  47. }
  48. }
  49. }
  50. .block-entity-fieldnodefield-ress{
  51. margin-top: 3rem;
  52. h2{
  53. font-size: 0.8rem;
  54. color: $black;
  55. font-weight: 900;
  56. }
  57. .node-type-ressource{
  58. display: flex;
  59. flex-direction: column;
  60. border: 2px solid $blue-light;
  61. padding: 1rem;
  62. height: fit-content;
  63. margin-bottom: 1rem;
  64. background-color: $white;
  65. &:first-of-type{
  66. border-top: 1px solid $blue-light;
  67. padding-top: 1rem;
  68. &::after{
  69. content: url("../images/pictos/noun_Arrow_3771902.svg");
  70. align-self: end;
  71. }
  72. }
  73. .field--name-title{
  74. a{
  75. color: $black;
  76. font-size: 1.4rem;
  77. font-weight: 600;
  78. }
  79. }
  80. .field--name-field-auteur-s-{
  81. font-weight: 800;
  82. p{
  83. margin: 0;
  84. }
  85. .field__label{
  86. display:none;
  87. }
  88. }
  89. .field--name-field-edition{
  90. p{
  91. margin: 0;
  92. }
  93. .field__label{
  94. display:none;
  95. }
  96. }
  97. .field--name-field-images{
  98. display: none;
  99. width: 50%;
  100. img{
  101. width: 100%;
  102. height: auto;
  103. }
  104. }
  105. }
  106. }
  107. }