mirror of
https://github.com/modelec/modelec.club.git
synced 2026-01-18 16:37:30 +01:00
update style
This commit is contained in:
117
src/App.css
117
src/App.css
@@ -5,6 +5,13 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
font-family: 'Arial', sans-serif;
|
||||
background-color: white;
|
||||
@@ -48,11 +55,10 @@
|
||||
display: flex;
|
||||
justify-content: center; /* Centrer horizontalement */
|
||||
align-items: center; /* Centrer verticalement */
|
||||
border-bottom-left-radius: 25px;
|
||||
border-bottom-right-radius: 25px; /* Arrondir les coins en bas */
|
||||
border-radius: 25px;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
|
||||
max-width: 35%;
|
||||
margin: 0 auto; /* Centrer le conteneur */
|
||||
margin: 2rem auto 0 auto; /* Centrer le conteneur */
|
||||
}
|
||||
|
||||
#logo-full-home {
|
||||
@@ -94,9 +100,7 @@
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
align-items: center;
|
||||
margin: 3em;
|
||||
margin-left: 10em;
|
||||
margin-right: 10em;
|
||||
margin: 3em 10em;
|
||||
gap: 3em;
|
||||
}
|
||||
|
||||
@@ -113,31 +117,23 @@
|
||||
.from-right-card {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
justify-content: space-between;
|
||||
gap: 2em;
|
||||
align-items: center;
|
||||
background-color: white;
|
||||
margin-left: auto;
|
||||
padding-right: 2em;
|
||||
border-bottom-left-radius: 20px;
|
||||
border-top-left-radius: 20px;
|
||||
width: 70%;
|
||||
margin-right: 4em;
|
||||
padding: 1em;
|
||||
border-radius: 20px;
|
||||
width: 60%;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.from-right-card-image {
|
||||
flex: 3;
|
||||
}
|
||||
|
||||
.from-right-card-content {
|
||||
flex: 4;
|
||||
}
|
||||
|
||||
.from-right-card img {
|
||||
width: 55%;
|
||||
width: 30%;
|
||||
height: auto;
|
||||
border-bottom-left-radius: 20px;
|
||||
border-top-left-radius: 20px;
|
||||
border-radius: 20px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
@@ -181,75 +177,65 @@
|
||||
.from-left-card {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
justify-content: space-between;
|
||||
gap: 2em;
|
||||
align-items: center;
|
||||
background-color: white;
|
||||
margin-right: auto;
|
||||
padding-right: 2em;
|
||||
border-bottom-right-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
width: 70%;
|
||||
margin-left: 4em;
|
||||
padding: 1em;
|
||||
border-radius: 20px;
|
||||
width: 60%;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.from-left-card img {
|
||||
width: 55%;
|
||||
width: 30%;
|
||||
height: auto;
|
||||
border-bottom-right-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
border-radius: 20px;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.from-left-card-image {
|
||||
flex: 3;
|
||||
}
|
||||
|
||||
.from-left-card-content {
|
||||
flex: 4;
|
||||
}
|
||||
|
||||
.from-left-card-carousel {
|
||||
margin-top: 2em;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
background-color: white;
|
||||
margin-right: auto;
|
||||
padding-right: 2em;
|
||||
border-bottom-right-radius: 20px;
|
||||
border-top-right-radius: 20px;
|
||||
width: 70%;
|
||||
margin: 2em auto 0 4em;
|
||||
padding: 1em;
|
||||
border-radius: 20px;
|
||||
width: 50%;
|
||||
overflow: hidden;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.from-left-card-carousel img {
|
||||
padding-left: 40vh;
|
||||
/*.from-left-card-carousel img {
|
||||
width: 50%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
}*/
|
||||
|
||||
.carousel-container {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
|
||||
width: 100%;
|
||||
height: 20rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.carousel-slide {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
transition: transform 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.carousel-image {
|
||||
width: 33%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.carousel-image.fade-out {
|
||||
@@ -260,19 +246,19 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.carousel-buttons {
|
||||
/*.carousel-buttons {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}*/
|
||||
|
||||
.carousel-buttons button {
|
||||
.carousel-button {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 1em;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.botton-container-home {
|
||||
@@ -323,20 +309,19 @@
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 2em 0;
|
||||
width: 100vw;
|
||||
padding-top: 2em;
|
||||
}
|
||||
|
||||
.footer {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
}
|
||||
|
||||
.footer-separator {
|
||||
width: 100vw;
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
background-color: black;
|
||||
}
|
||||
@@ -395,6 +380,7 @@
|
||||
height: 10em;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.partenaires-list-a {
|
||||
@@ -463,7 +449,6 @@
|
||||
flex-direction: column;
|
||||
gap: 1em;
|
||||
border-radius: 20px;
|
||||
padding-right: 1em;
|
||||
background-color: white;
|
||||
color: black;
|
||||
width: 50%;
|
||||
|
||||
Reference in New Issue
Block a user