diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..373f5f3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +snapshots/ diff --git a/assets/sections/competences.css b/assets/sections/competences.css new file mode 100644 index 0000000..8b9c8bb --- /dev/null +++ b/assets/sections/competences.css @@ -0,0 +1,3 @@ +/* css/sections/competences.css + * TODO: styles de la section "competences" à implémenter. + */ diff --git a/assets/sections/experience.css b/assets/sections/experience.css new file mode 100644 index 0000000..c3a3bfb --- /dev/null +++ b/assets/sections/experience.css @@ -0,0 +1,3 @@ +/* css/sections/experience.css + * TODO: styles de la section "experience" à implémenter. + */ diff --git a/assets/sections/formation.css b/assets/sections/formation.css new file mode 100644 index 0000000..c9c7d1b --- /dev/null +++ b/assets/sections/formation.css @@ -0,0 +1,3 @@ +/* css/sections/formation.css + * TODO: styles de la section "formation" à implémenter. + */ diff --git a/assets/sections/hobbies.css b/assets/sections/hobbies.css new file mode 100644 index 0000000..e9615f1 --- /dev/null +++ b/assets/sections/hobbies.css @@ -0,0 +1,3 @@ +/* css/sections/hobbies.css + * TODO: styles de la section "hobbies" à implémenter. + */ diff --git a/assets/sections/langues.css b/assets/sections/langues.css new file mode 100644 index 0000000..f568405 --- /dev/null +++ b/assets/sections/langues.css @@ -0,0 +1,3 @@ +/* css/sections/langues.css + * TODO: styles de la section "langues" à implémenter. + */ diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..00ce034 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,138 @@ +/* =========================== + Reset & base +=========================== */ +*, *::before, *::after { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + background: #0f0f0f; + color: #e0e0e0; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif; + padding: 20px; +} + +/* =========================== + Layout +=========================== */ +.container { + max-width: 520px; + width: 100%; +} + +/* =========================== + Header +=========================== */ +header { + text-align: center; + margin-bottom: 32px; +} + +h1 { + font-size: 2.2rem; + font-weight: 700; + color: #e94560; + margin-bottom: 10px; +} + +header p { + color: #a0a0b0; + font-size: 0.95rem; +} + +/* =========================== + Card +=========================== */ +.card { + background: #16213e; + border: 1px solid #2a2a4a; + border-radius: 12px; + padding: 32px; + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); +} + +/* =========================== + Form +=========================== */ +.form-group { + margin-bottom: 20px; +} + +label { + display: block; + font-size: 0.85rem; + color: #a0a0b0; + margin-bottom: 6px; + font-weight: 500; + letter-spacing: 0.03em; +} + +input { + width: 100%; + padding: 11px 14px; + background: #1a1a2e; + border: 1px solid #2a2a4a; + border-radius: 6px; + color: #e0e0e0; + font-size: 0.95rem; + outline: none; + transition: border-color 0.2s ease, box-shadow 0.2s ease; +} + +input::placeholder { + color: #4a4a6a; +} + +input:focus { + border-color: #e94560; + box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.15); +} + +/* =========================== + Button +=========================== */ +.btn-generate { + width: 100%; + background: #e94560; + color: #fff; + border: none; + padding: 13px; + border-radius: 6px; + font-size: 1rem; + font-weight: 600; + cursor: pointer; + margin-top: 8px; + transition: background 0.2s ease; +} + +.btn-generate:hover { + background: #f05a73; +} + +/* =========================== + Messages +=========================== */ +.success-message { + display: none; + color: #4caf50; + text-align: center; + padding-top: 16px; + font-size: 0.95rem; +} + +/* =========================== + Footer +=========================== */ +footer { + text-align: center; + margin-top: 28px; + font-size: 0.8rem; + color: #4a4a6a; +} diff --git a/index.html b/index.html index f9c0c29..1a9b9d0 100644 --- a/index.html +++ b/index.html @@ -4,122 +4,7 @@