node-site.scss 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .page-node-site{
  2. .block-region-first{
  3. .block-entity-fieldnodefield-fichiers{
  4. width: 80%;
  5. margin: auto;
  6. }
  7. }
  8. .region-content{
  9. width: 80%;
  10. margin: auto;
  11. .node-type-site{
  12. margin: auto;
  13. display: flex;
  14. flex-direction: column;
  15. // display: grid;
  16. // grid-template-columns: repeat(7, 1fr);
  17. // grid-template-rows: repeat(5, 1fr) ;
  18. width: 100%;
  19. background-color: white;
  20. .field--name-field-image{
  21. order: 2;
  22. max-width: 100%;
  23. img{
  24. width: 100%;
  25. object-fit: cover;
  26. height: fit-content;
  27. }
  28. }
  29. .filtered-content{
  30. // border: solid $yellow-puca 1px;
  31. background-color: $white-button;
  32. order: 1;
  33. display: flex;
  34. flex-direction: column;
  35. padding-left: 1rem;
  36. padding-right: 1rem;
  37. h2{
  38. order: 2;
  39. margin: 0;
  40. font-size: 1.3rem;
  41. font-weight: 900;
  42. }
  43. .field--name-field-numero-site {
  44. order: 1;
  45. text-transform: uppercase;
  46. font-size: 1.5rem;
  47. }
  48. .field--name-field-adresse-site{
  49. order: 3;
  50. font-size: 1.3rem;
  51. line-height: 0.3rem;
  52. .address{
  53. margin: 0;
  54. display: inline-flex;
  55. .postal-code{
  56. order: 2;
  57. }
  58. .locality{
  59. order: 1;
  60. text-transform: capitalize;
  61. margin-right: 0.5rem;
  62. }
  63. .country{
  64. display: none;
  65. }
  66. }
  67. }
  68. .field--name-field-architecte{
  69. order: 4;
  70. padding-top: 1rem;
  71. }
  72. ul.links{
  73. order: 5;
  74. text-transform: uppercase;
  75. padding: 0;
  76. margin: 0;
  77. border: none;
  78. padding-bottom: 2rem;
  79. padding-top: 0.9rem;
  80. display: inline-flex;
  81. &::after{
  82. content:url("../../dist/images/noun-arrow-1569918-black.svg");
  83. padding-left: 0.5rem;
  84. }
  85. }
  86. }
  87. }
  88. }
  89. }