All checks were successful
SSH Frontend Deploy / ssh-deploy (push) Successful in 59s
Cette modification restructure l'architecture des fichiers du projet pour améliorer la maintenabilité: - JavaScript: création d'une structure en sous-dossiers - core/ pour les utilitaires et fonctions essentielles - components/ pour les composants réutilisables - libs/ pour les bibliothèques externes (jQuery) - pages/ pour les scripts spécifiques aux pages - CSS: séparation des styles en catégories - base/ pour les styles fondamentaux - components/ pour les styles des composants d'interface - pages/ pour les styles spécifiques aux pages - HTML: création d'un dossier pages/ pour les templates HTML (hors index.html) Tous les chemins dans les fichiers HTML ont été mis à jour pour refléter cette nouvelle structure. Cette réorganisation n'apporte aucune modification fonctionnelle, uniquement une amélioration structurelle.
106 lines
1.7 KiB
CSS
106 lines
1.7 KiB
CSS
.project {
|
|
height: 48vh;
|
|
width: 80%;
|
|
box-sizing: border-box;
|
|
background-color: #f8f9fa;
|
|
text-align: center;
|
|
border: 1px solid #ddd;
|
|
border-radius: 10px;
|
|
margin: 0 1vw;
|
|
backface-visibility: hidden;
|
|
display: flex;
|
|
}
|
|
|
|
.global_title {
|
|
position: absolute;
|
|
width: 99vw;
|
|
animation: glitch 3s steps(100) infinite;
|
|
color: #151515;
|
|
font-size: 10vh;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
#carousel-dots {
|
|
width: 99vw;
|
|
position: absolute;
|
|
bottom: 12vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.dot {
|
|
z-index: 30;
|
|
width: 0.8vw;
|
|
height: 0.8vw;
|
|
margin: 0 0.3vw;
|
|
background-color: #bbb;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.dot.active {
|
|
background-color: #717171;
|
|
}
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
width: 25vw;
|
|
height: 60vh;
|
|
position: absolute;
|
|
left: 36vw;
|
|
perspective: 99vw;
|
|
}
|
|
|
|
.carousel {
|
|
width: 100%;
|
|
position: absolute;
|
|
transform-style: preserve-3d;
|
|
transition: transform 1s;
|
|
}
|
|
|
|
.item {
|
|
display: block;
|
|
position: absolute;
|
|
text-align: center;
|
|
}
|
|
|
|
.item h2 {
|
|
font-size: 4vh;
|
|
color: #151515;
|
|
}
|
|
|
|
.item p {
|
|
font-size: 2.4vh;
|
|
color: #151515;
|
|
}
|
|
|
|
.item button {
|
|
font-size: 2.8vh;
|
|
}
|
|
|
|
.next, .prev {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
background-color: transparent;
|
|
font-size: 20vh;
|
|
color: rgb(57, 89, 217);
|
|
border: none;
|
|
bottom: 25vh;
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
}
|
|
.next:hover, .prev:hover {
|
|
box-shadow: 0 0 15px 0 rgba(253, 252, 252, 0.2);
|
|
transform: translateY(-4px);
|
|
}
|
|
.next { right: 10vw; }
|
|
.prev { left: 10vw; }
|
|
|
|
.project_buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|