home-view-presentation.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. .field--type-link{
  29. .field__item::after{
  30. content: url('../dist/images/noun-arrow-1569918-black.svg');
  31. }
  32. }
  33. }
  34. }
  35. }