rename projet template to project
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s

This commit is contained in:
isUnknown 2026-06-02 08:24:35 +02:00
parent 4ba0eea9f4
commit 2c8f67d82b
8 changed files with 34 additions and 14 deletions

View file

@ -0,0 +1,26 @@
- refactoring dans des fichiers séparés (home, index…)
- certains sélecteurs mal nommés : ex. `#slideshow` correspond à quoi ? Je vois quil y a .project-slideshow donc jimagine que cest celui de la home mais pas évident. Solution : `[data-template="home"] #slideshow` ou bien `#home-slideshow`.
```css
/* PROJECT SLIDESHOW */
.project-slideshow {
position: fixed;
right: 0;
top: 0;
/*! width: calc(50vw - var(--body-margin)); */
height: fit-content;
z-index: 0;
overflow: hidden;
box-sizing: border-box;
margin: var(--body-margin) var(--body-margin) var(--body-margin) 0;
left: calc(var(--index-width) + var(--body-margin));
text-align: right;
}
button {
background-color: transparent;
}
```
--> Dans une section PROJECT SLIDESHOW je tombe sur un élément html stylisé directement. Je comprends qu'un `background-color: transparent;`peut s'appliquer partout mais ce n'est pas du style spécifique. J'ai l'habitude de faire un fichier \_global.scss dans lequel je stylise les balises HTML non-identifiées / classées.