mixin.scss 896 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @mixin shadow{
  2. box-shadow: none;
  3. transition: 0.3s transform ease, 0.3s box-shadow ease;
  4. &:hover{
  5. transform: scale(1.05);
  6. box-shadow: 0px 0px 13px 0px $color2024;
  7. transition: 0.3s transform ease, 0.3s box-shadow ease;
  8. }
  9. }
  10. @mixin node-site {
  11. h2{
  12. order: 2;
  13. margin: 0;
  14. }
  15. .field--name-field-numero-site {
  16. order: 1;
  17. text-transform: uppercase;
  18. font-size: 2rem;
  19. }
  20. .field--name-field-adresse-site{
  21. order: 3;
  22. font-size: 1.5rem;
  23. .address{
  24. margin: 0;
  25. display: inline-flex;
  26. .postal-code{
  27. order: 2;
  28. }
  29. .locality{
  30. order: 1;
  31. text-transform: capitalize;
  32. margin-right: 0.5rem;
  33. }
  34. .country{
  35. display: none;
  36. }
  37. }
  38. }
  39. .field--name-field-architecte{
  40. order: 4;
  41. }
  42. }