home-view-sites.scss 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .home-page-layout-content {
  2. .block-views-blocksites-block-1 {
  3. .views-row{
  4. .node-type-site{
  5. width: 70%;
  6. margin: auto;
  7. display: grid;
  8. grid-template-rows: repeat(12, 1fr);
  9. grid-template-columns: repeat(12, 1fr);
  10. .image-site{
  11. order: 1;
  12. grid-row: 1/span 10;
  13. grid-column: 1/span 9;
  14. img {
  15. width: 100%;
  16. object-fit: cover;
  17. }
  18. }
  19. .filtered-content{
  20. // border: solid $yellow-puca 1px;
  21. background-color: $white-button;
  22. width: 80%;
  23. order: 2;
  24. display: flex;
  25. flex-direction: column;
  26. grid-row: 7/span 5;
  27. grid-column: 7/span 12;
  28. padding: 1rem;
  29. h2{
  30. order: 2;
  31. margin: 0;
  32. }
  33. .field--name-field-numero-site {
  34. order: 1;
  35. text-transform: uppercase;
  36. font-size: 2rem;
  37. }
  38. .field--name-field-adresse-site{
  39. order: 3;
  40. font-size: 1.5rem;
  41. .address{
  42. margin: 0;
  43. display: inline-flex;
  44. .postal-code{
  45. order: 2;
  46. }
  47. .locality{
  48. order: 1;
  49. text-transform: capitalize;
  50. margin-right: 0.5rem;
  51. }
  52. .country{
  53. display: none;
  54. }
  55. }
  56. }
  57. .field--name-field-architecte{
  58. order: 4;
  59. }
  60. }
  61. }
  62. }
  63. }
  64. .block-block-content3d4d153c-9da8-49e2-be7a-d2245f5716ee{
  65. border: solid $yellow-puca 1px;
  66. background-color: $white-button;
  67. font-weight: 800;
  68. padding: 2rem;
  69. margin-right: 1rem;
  70. width: 20%;
  71. margin-left: 8%;
  72. @media(max-width: 891px){
  73. margin-bottom: 1rem;
  74. // margin: auto;
  75. }
  76. }
  77. .block-block-contentbbaa5e2a-7f7c-498f-b08e-d1a3b36c03a8{
  78. width: fit-content;
  79. margin: auto;
  80. }
  81. }