intégration du design il manque que les images de fond
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
.actu_full {
|
||||
@include beige_gradient();
|
||||
font-family: "Marianne", sans-serif;
|
||||
padding-top: 3vh;
|
||||
width: 100vw;
|
||||
div {
|
||||
@include main_text_content();
|
||||
}
|
||||
.retour_actus {
|
||||
padding-top: 3vh;
|
||||
font-size: $sm_font_size;
|
||||
font-weight: 800;
|
||||
color: $teal;
|
||||
@@ -21,18 +18,20 @@
|
||||
}
|
||||
}
|
||||
h2 {
|
||||
@include main_title();
|
||||
padding-top: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
h2 + div {
|
||||
padding: $x_margin;
|
||||
position: relative;
|
||||
padding: 0 $x_margin;
|
||||
.visually-hidden {
|
||||
width: 0% !important;
|
||||
}
|
||||
div:first-of-type {
|
||||
margin-top: -10px;
|
||||
.sous_titre > div > div {
|
||||
font-size: $l_font_size;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
div:nth-of-type(2) {
|
||||
> div:nth-of-type(2) {
|
||||
> div {
|
||||
width: 100%;
|
||||
margin-bottom: 40px;
|
||||
@@ -44,10 +43,40 @@
|
||||
}
|
||||
}
|
||||
|
||||
.liens_fixed {
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
h3, h4, h5, h6 {
|
||||
@include sous_titre();
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.liens_fixed > div > div:nth-of-type(2), .file_fixed > div > div > div {
|
||||
padding: 0 $x_margin;
|
||||
text-align: right;
|
||||
margin: 2rem 0;
|
||||
@include fluo_button();
|
||||
a {
|
||||
display: inline-block;
|
||||
max-width: calc(25vw - $x_margin * 2);
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-bottom: 0 !important;
|
||||
margin: 0;
|
||||
padding: 0 $x_margin;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 10vh;
|
||||
> div {
|
||||
height: 3vh;
|
||||
}
|
||||
}
|
||||
}
|
||||
.file_fixed span:last-of-type {
|
||||
display: none;
|
||||
}
|
||||
}
|
@@ -2,8 +2,7 @@
|
||||
article {
|
||||
> div:first-of-type {
|
||||
width: 100%;
|
||||
max-height: 30vh;
|
||||
height: auto;
|
||||
height: 30vh;
|
||||
overflow: hidden;
|
||||
padding-left: $x_margin;
|
||||
padding-right: $x_margin;
|
||||
@@ -13,6 +12,9 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
height: 20vh;
|
||||
}
|
||||
}
|
||||
|
||||
.preview_meta {
|
||||
@@ -33,8 +35,11 @@
|
||||
|
||||
.preview_sous_titre {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $m_font_size;
|
||||
padding: 2px $x_margin;
|
||||
font-size: $l_font_size;
|
||||
padding: 5px $x_margin;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
@@ -6,7 +6,7 @@
|
||||
width: 100%;
|
||||
> div:first-of-type { // container du lien image
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
height: 30vh !important;
|
||||
overflow-y: hidden;
|
||||
padding: 0 !important;
|
||||
> div {
|
||||
@@ -20,7 +20,62 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
.preview_meta {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
> div:last-of-type {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
h2, .preview_sous_titre {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
border-bottom: solid 1px $teal;
|
||||
> div:first-of-type {
|
||||
width: calc(50% + 6.25vw);
|
||||
}
|
||||
> div:last-of-type {
|
||||
width: calc(50% - 6.25vw);
|
||||
padding-bottom: 4rem;
|
||||
> div, > h2 {
|
||||
padding-left: $x_margin;
|
||||
}
|
||||
> div:first-of-type {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
> div:last-of-type {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.slick-arrow {
|
||||
display: none !important;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border-radius: 1.5rem;
|
||||
border: solid 1px $teal;
|
||||
top: unset;
|
||||
bottom: 5%;
|
||||
background-color: rgba(255, 255, 255, 0.4) !important;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.slick-arrow:hover {
|
||||
background-color: rgba(255, 255, 255, 0.8) !important;
|
||||
}
|
||||
.slick-arrow::before {
|
||||
color: $teal;
|
||||
font-family: 'Marianne', sans-serif;
|
||||
display: block;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
#carousel_dots {
|
||||
position: relative;
|
||||
@@ -35,11 +90,46 @@
|
||||
color: rgba(0.9, 0.9, 0.9, 1);
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-top: 8vh;
|
||||
margin-left: 12.5vw;
|
||||
}
|
||||
}
|
||||
footer {
|
||||
@include fluo_button();
|
||||
text-align: center;
|
||||
margin-top: 4rem;
|
||||
margin-bottom: 4rem;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-top: -2vh;
|
||||
position: absolute;
|
||||
right: 12.5vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0 12.5vw;
|
||||
.slick-prev, .slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
.slick-prev {
|
||||
left: -5rem;
|
||||
}
|
||||
.slick-next {
|
||||
right: -5rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
padding: 0;
|
||||
padding-right: 12.5vw;
|
||||
padding-bottom: 10vh;
|
||||
.slick-prev, .slick-next {
|
||||
bottom: 20%;
|
||||
}
|
||||
.slick-prev {
|
||||
display: none !important;
|
||||
}
|
||||
.slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
}
|
@@ -161,7 +161,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
ul {
|
||||
ul:not(.social-media-links--platforms) {
|
||||
display: none;
|
||||
height: auto;
|
||||
max-height: 0vh;
|
||||
@@ -173,14 +173,19 @@
|
||||
width: 100vw;
|
||||
z-index: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
> li {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 6px 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
a {
|
||||
max-width: 60vw;
|
||||
> a {
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
color: white;
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-weight: 800;
|
||||
@@ -188,22 +193,57 @@
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
a:hover {
|
||||
> a:hover {
|
||||
background-color: white;
|
||||
color: $dark_green;
|
||||
}
|
||||
a.is-active {
|
||||
> a.is-active {
|
||||
background-color: white;
|
||||
color: $dark_green;
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
max-width: 30vw;
|
||||
}
|
||||
#socials-in-menu-wrapper {
|
||||
display: flex;
|
||||
width: auto;
|
||||
li {
|
||||
width: auto;
|
||||
padding: 0 1rem;
|
||||
margin-top: 1rem;
|
||||
a {
|
||||
span {
|
||||
color: white;
|
||||
}
|
||||
svg {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
li.visible {
|
||||
> li.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
> li:nth-of-type(1),
|
||||
> li:nth-of-type(2),
|
||||
> li:nth-of-type(6) {
|
||||
border-bottom: solid 1px white;
|
||||
padding: 12px 0;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 25vw;
|
||||
right: 0;
|
||||
left: auto;
|
||||
li {
|
||||
width: calc(100% - $x_margin * 2);
|
||||
a {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.active {
|
||||
|
Reference in New Issue
Block a user