parallax ornements + modifs d'après kanboard

This commit is contained in:
Valentin
2023-12-20 06:48:35 +01:00
parent 34164911b4
commit 7a93f85fd3
13 changed files with 723 additions and 25 deletions

View File

@@ -605,11 +605,12 @@ a {
}
.actu_full .retour_actus {
padding-top: 3vh;
padding-left: 3vw;
}
.actu_full .retour_actus a {
font-size: 0.8rem;
font-weight: 800;
color: #038788;
padding-left: 3vw;
cursor: pointer;
}
.actu_full .article_meta {
padding-left: 3vw;
@@ -756,6 +757,7 @@ a {
right: -55vw;
top: -5vh;
z-index: 0;
transition: left 0.05s ease, top 0.05s ease;
}
.ornements_top_over > div {
position: absolute;
@@ -763,6 +765,7 @@ a {
background-size: contain;
width: 100%;
height: 100%;
transition: left 0.05s ease, top 0.05s ease;
}
.ornements_top_over > div:first-of-type {
background-image: url(../assets/formes/forme_4.png);
@@ -781,7 +784,7 @@ a {
@media (min-width: 760px) {
.ornements_top_over {
left: -40vw;
top: -10vw;
top: -16vw;
}
.ornements_top_over > div {
transform: scaleX(-1);
@@ -802,12 +805,14 @@ a {
}
.ornements_top_under {
pointer-events: none;
display: none;
position: absolute;
width: 100vw;
height: 30vh;
left: -30vw;
top: 0vw;
transition: left 0.05s ease, top 0.05s ease;
}
.ornements_top_under > div {
position: absolute;
@@ -816,6 +821,7 @@ a {
width: 100%;
height: 100%;
transform: scaleX(-1);
transition: left 0.05s ease, top 0.05s ease;
}
.ornements_top_under > div:first-of-type {
background-image: url(../assets/formes/forme_4.png);
@@ -1006,6 +1012,7 @@ a {
}
.ornements_presentation_left {
pointer-events: none;
position: absolute !important;
height: 20vh;
width: 20vw;
@@ -1055,6 +1062,7 @@ a {
}
.ornements_presentation_right {
pointer-events: none;
position: absolute !important;
height: 20vh;
width: 20vw;
@@ -1073,8 +1081,14 @@ a {
.ornements_presentation_right > div:first-of-type {
background-image: url(../assets/formes/forme_1.png);
transform: rotate(-90deg);
bottom: -3vh;
right: -6vw;
right: -15vw;
bottom: -6vh;
}
@media (min-width: 760px) {
.ornements_presentation_right > div:first-of-type {
bottom: -3vh;
right: -6vw;
}
}
.ornements_presentation_right > div:nth-of-type(2) {
background-image: url(../assets/formes/forme_2.png);
@@ -1082,6 +1096,177 @@ a {
right: -12vw;
}
.ornements_consultation_left {
pointer-events: none;
position: absolute !important;
height: 20vh;
width: 30vw;
bottom: -8vh;
left: 0;
z-index: 0;
overflow: hidden;
}
.ornements_consultation_left > div {
background-repeat: no-repeat;
background-size: contain;
position: absolute;
width: 100%;
height: 100%;
}
.ornements_consultation_left > div:first-of-type {
background-image: url(../assets/formes/forme_4.png);
transform: rotate(180deg);
width: 200%;
height: 120%;
left: -30vw;
bottom: -10vh;
}
@media (min-width: 1080px) {
.ornements_consultation_left > div:first-of-type {
transform: rotate(0deg);
bottom: unset;
top: -5vh;
left: 0;
width: 60%;
}
}
.ornements_consultation_left > div:nth-of-type(2) {
background-image: url(../assets/formes/forme_5.png);
transform: rotate(180deg);
left: -12vw;
}
@media (min-width: 1080px) {
.ornements_consultation_left > div:nth-of-type(2) {
left: -20vw;
top: -5vh;
}
}
@media (min-width: 1080px) {
.ornements_consultation_left {
top: 0;
}
}
.ornements_consultation_right {
pointer-events: none;
position: absolute !important;
height: 20vh;
width: 30vw;
bottom: -8vh;
right: 0;
z-index: 0;
overflow: hidden;
}
.ornements_consultation_right > div {
background-repeat: no-repeat;
background-size: contain;
position: absolute;
width: 100%;
height: 100%;
}
.ornements_consultation_right > div:first-of-type {
background-image: url(../assets/formes/forme_1.png);
transform: rotate(-90deg);
width: 80%;
height: 80%;
right: -8vw;
bottom: -2vh;
}
@media (min-width: 1080px) {
.ornements_consultation_right > div:first-of-type {
right: -3vw;
bottom: 6vh;
transform: rotate(180deg);
}
}
.ornements_consultation_right > div:nth-of-type(2) {
background-image: url(../assets/formes/forme_3.png);
transform: rotate(180deg);
right: -4vw;
width: 100%;
}
@media (min-width: 760px) {
.ornements_consultation_right > div:nth-of-type(2) {
width: 30%;
bottom: 3vh;
}
}
@media (min-width: 1080px) {
.ornements_consultation_right > div:nth-of-type(2) {
transform: none;
right: -4vw;
width: 60%;
}
}
@media (min-width: 1080px) {
.ornements_consultation_right {
bottom: unset;
top: 0;
right: 0;
}
}
.login, .user {
width: 100vw;
height: 50vh;
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
padding-top: 15vh;
}
.login > h2, .user > h2 {
font-family: "Barlow", sans-serif;
color: black;
font-size: 1.6rem;
text-align: center;
}
.login > div, .user > div {
height: 100%;
}
.login > div > div:not(.hidden), .user > div > div:not(.hidden) {
margin-top: 5vh !important;
display: flex;
align-items: center;
justify-content: center;
}
.login > div > div:not(.hidden) form, .user > div > div:not(.hidden) form {
font-family: "Marianne", sans-serif;
}
.login > div > div:not(.hidden) form .form-item, .user > div > div:not(.hidden) form .form-item {
margin: 1.8rem 0;
}
.login > div > div:not(.hidden) form .form-item .form-checkbox, .user > div > div:not(.hidden) form .form-item .form-checkbox {
width: 1rem;
height: 1rem;
-webkit-appearance: auto;
}
.login > div > div:not(.hidden) form .form-item .form-required, .user > div > div:not(.hidden) form .form-item .form-required {
font-weight: 800;
padding-right: 1rem;
}
.login > div > div:not(.hidden) form .form-item .description, .user > div > div:not(.hidden) form .form-item .description {
margin-top: 0.3rem;
}
.login > div > div:not(.hidden) form input, .user > div > div:not(.hidden) form input {
border: solid 1px #038788;
}
.login > div > div:not(.hidden) form .button, .user > div > div:not(.hidden) form .button {
font-family: "Marianne", sans-serif;
font-weight: 800;
border: solid 1px #038788;
background-color: white;
cursor: pointer;
}
.login > div > div:not(.hidden) form .button:hover, .user > div > div:not(.hidden) form .button:hover {
background-color: rgba(255, 255, 255, 0.6);
}
.user .contextual-region > div {
display: flex;
font-family: "Marianne", sans-serif;
}
.user .contextual-region > div > h4 {
padding-right: 0.5rem;
}
/* PAGES */
.home_introduction {
position: relative;
@@ -1171,6 +1356,7 @@ a {
}
.home_consultation {
position: relative;
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
width: 100%;
padding: 4rem 0;
@@ -1197,6 +1383,13 @@ a {
max-width: 50vw;
}
}
.home_consultation h2 + div h2, .home_consultation h2 + div h3 {
font-family: "Barlow", sans-serif;
color: black;
font-size: 1.6rem;
margin-left: 12.5vw;
max-width: 50vw;
}
.home_consultation article > div {
height: unset !important;
}
@@ -1397,7 +1590,7 @@ a {
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
height: auto;
display: grid;
grid-template-columns: 30vw 1fr;
grid-template-columns: 30vw auto 1fr;
grid-auto-rows: auto;
margin-bottom: 5vh;
}
@@ -1416,25 +1609,27 @@ a {
width: 100%;
height: auto;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(2) {
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(2),
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(3) {
font-family: "Marianne", sans-serif;
font-size: 1.3rem;
color: #038788;
font-weight: 800;
margin-bottom: 2vh;
align-self: center;
align-self: flex-start;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(3) {
display: none;
padding-left: 0.5rem;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:last-of-type {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
grid-column: 2/4;
}
@media (min-width: 760px) {
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
grid-template-columns: 10vw 1fr;
grid-template-columns: 10vw auto 1fr;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:first-of-type > div {
width: 10vw;

File diff suppressed because one or more lines are too long