1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- .block-views-blockactus-block-1{
- background-color: white;
- padding-bottom: 3rem;
- h2{
- width: 80%;
- font-size: 2rem;
- font-weight: 900;
- margin-left: 10%;
- }
- .view-id-actus{
- width: 100%;
- margin: auto;
- .views-row{
- width: 30vw !important;
- margin-left: 1rem;
- @media (max-width: 1200px) {
- width: 50vw !important;
- }
- &:first-of-type{
- padding-left: 15%;
- @media (max-width: 1200px) {
- padding-left: 16%;
- }
- }
- .node-type-actualite{
- width: 100%;
- height: 100%;
- > .entete_actu{
- display: flex;
- flex-direction: column;
- p.field__item{
- display: none;
- }
- .image-actualite{
- width: 75%;
- height: 250px;
- right: 10%;
- position: relative;
- @media (max-width: 1200px) {
- max-height: 150px;
- }
- .field--name-field-image{
- height: 100%;
- .field__items{
- height: 100%;
- .field__item{
- width: 100%;
- height: 100%;
- img{
- width: 100%;
- height: auto;
- object-fit: cover;
- height: 100%;
- }
- }
- }
- }
- }
- .infos-content{
- height: fit-content;
- width: 100%;
- }
- .body-content{
- display: none;
- }
- }
- }
- }
- .slick-dots{
- position: relative;
- bottom: 0;
- }
- .slick-prev{
- left:35px;
- }
- .slick-next{
- left: 90vw;
- }
- @media (max-width: 1400px) {
- .slick-prev{
- left:0vw;
- }
- .slick-next{
- left: 85vw;
- }
- }
- }
- }
|