home-view-presentation.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. .page--home{
  2. .home-page-layout-content{
  3. .block-views-blockhome-block-1{
  4. .view-display-id-block_1{
  5. width: 60%;
  6. margin: auto;
  7. padding-top: 3rem;
  8. // max-height: 300px;
  9. overflow: hidden;
  10. text-overflow: ellipsis;
  11. font-size: 1.3rem;
  12. @media(max-width: 891px){
  13. width: 80%;
  14. padding-top: 3rem;
  15. }
  16. /* Masquer tous les paragraphes après le premier */
  17. .field-content p:nth-of-type(n+2), h3, ul {
  18. display: none;
  19. }
  20. }
  21. }
  22. .block-block-content793e5016-2b96-4802-9f38-1cd3768775b5{
  23. width: fit-content;
  24. margin: auto;
  25. z-index: 99;
  26. position: relative;
  27. margin-top: 2rem;
  28. margin-bottom: 4rem;
  29. .field--type-link{
  30. .field__item::after{
  31. content: url('../dist/images/noun-arrow-1569918-black.svg');
  32. }
  33. }
  34. }
  35. }
  36. }