home-view-presentation.scss 1.1 KB

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