From 32ea6d6cf40c640bab4bf094bfbf72a2f4d0d8f3 Mon Sep 17 00:00:00 2001
From: asus
Date: Sun, 2 Jun 2024 12:24:53 +0200
Subject: [PATCH] mv cv in its own section
---
index.html | 42 ++++++++++++++++++++++++++++------------
styles/elements/cv.css | 37 ++++-------------------------------
styles/elements/hero.css | 2 +-
styles/sections.css | 1 +
4 files changed, 36 insertions(+), 46 deletions(-)
diff --git a/index.html b/index.html
index 69bdce7..0fce4c5 100644
--- a/index.html
+++ b/index.html
@@ -48,6 +48,8 @@
+
+
@@ -94,17 +96,33 @@
-
-
-
- voir le CV
- see the CV
-
-
- cacher le CV
- hide the CV
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
télécharger en pdf
download as pdf
@@ -201,7 +219,7 @@
Co-management of volunteers in a refugee camp, UTOPIA 56, Grande-Synthe, France, 2016
-
+
diff --git a/styles/elements/cv.css b/styles/elements/cv.css
index 532ecf8..e8ffec8 100644
--- a/styles/elements/cv.css
+++ b/styles/elements/cv.css
@@ -1,26 +1,11 @@
-.cv {
- width: auto;
- max-width: 900px;
-}
-
.cv {
display: flex;
+ flex-direction: column;
+ width: auto;
+ max-width: 900px;
+ margin-bottom: 100px;
text-align: left;
}
-.cv summary {
- position: relative;
- list-style-position: outside;
- list-style-type: "▸ ";
- font-size: 1.8rem;
- margin: auto;
- width: fit-content;
-}
-.cv summary .open {
- display: none;
-}
-.cv summary .close {
- display: inline;
-}
.cv .cv_download {
display: inline-block;
@@ -28,17 +13,3 @@
margin-top: 30px;
text-align: center;
}
-
-.cv[open] summary {
- list-style-type: "▾ ";
-}
-.cv[open] summary .open {
- display: inline;
-}
-.cv[open] summary .close {
- display: none;
-}
-
-.cv > *:last-child {
- margin-bottom: 100px;
-}
diff --git a/styles/elements/hero.css b/styles/elements/hero.css
index b6185b5..bcacdad 100644
--- a/styles/elements/hero.css
+++ b/styles/elements/hero.css
@@ -8,7 +8,7 @@
*
grid-template-rows: 1fr auto 1fr;
*/
- grid-template-rows: auto auto 1fr;
+ grid-template-rows: 1fr 1fr auto;
}
#hero .subtitle {
text-align: center;
diff --git a/styles/sections.css b/styles/sections.css
index afbd7cd..3e1de37 100644
--- a/styles/sections.css
+++ b/styles/sections.css
@@ -1,5 +1,6 @@
section {
display: grid;
+ position: relative;
margin: 0px;
width: 100vw;
grid-template-columns: auto auto auto;