diff --git a/build.py b/build.py
index 4371d9d..3f13417 100755
--- a/build.py
+++ b/build.py
@@ -29,8 +29,8 @@ if __name__ == "__main__":
("--foreground", "000000FF"),
("--level", "L"),
("--margin", "1"),
- ("--read-from", str(root_input / "vcard.vcf")),
+ ("--read-from", str(root_input / "marc.beninca.vcf")),
("--size", "4"),
("-t", "SVG"),
- ("--output", str(web / "img" / "vcard.svg")),
+ ("--output", str(web / "img" / "marc.beninca.svg")),
)
diff --git a/in/en/index.html b/in/en/index.html
index 6bccaff..d304972 100644
--- a/in/en/index.html
+++ b/in/en/index.html
@@ -16,7 +16,7 @@
-
+
-
+
+
+
@@ -58,16 +62,16 @@
Links
-
-
+
+
 |
- 33 6 07 47 84 34 |
+33 607478434 |
 |
-cv marc.beninca.link |
+cv |
 |
@@ -112,7 +116,7 @@
-Platforms
+Social
diff --git a/in/fr/index.html b/in/fr/index.html
index 8e9c8bb..41ef757 100644
--- a/in/fr/index.html
+++ b/in/fr/index.html
@@ -16,7 +16,7 @@
-
+
-
+
+
+
@@ -58,16 +62,16 @@
Liens
-
-
+
+
 |
- 33 6 07 47 84 34 |
+33 607478434 |
 |
-cv marc.beninca.link |
+cv |
 |
@@ -112,7 +116,7 @@
-Plateformes
+Social
diff --git a/in/img/theme.svg b/in/img/theme.svg
new file mode 100644
index 0000000..64d26fd
--- /dev/null
+++ b/in/img/theme.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/in/vcard.vcf b/in/marc.beninca.vcf
similarity index 100%
rename from in/vcard.vcf
rename to in/marc.beninca.vcf
diff --git a/in/script/main.js b/in/script/main.js
index 5f78a27..66dc068 100644
--- a/in/script/main.js
+++ b/in/script/main.js
@@ -1,3 +1,13 @@
+// link
+
+const link = document.getElementById("link");
+
+link.addEventListener("click", () => {
+ document.body.classList.toggle("link");
+});
+
+// theme
+
const button = document.getElementById("theme");
function theme_get() {
@@ -11,7 +21,6 @@ function theme_load() {
}
function theme_set(theme) {
document.documentElement.setAttribute("data-theme", theme);
- button.innerHTML = theme;
theme_write(theme);
}
function theme_swap(theme) {
diff --git a/in/style/main.css b/in/style/main.css
index f52f14a..fada8f5 100644
--- a/in/style/main.css
+++ b/in/style/main.css
@@ -54,7 +54,7 @@
/* main */
-#theme {
+#link, #theme {
background-color: var(--button-background);
}
#vcard {
@@ -90,10 +90,11 @@ h2, h3, header {
border-top: var(--border-on);
}
+.link a:not(:has(img)),
+.link button.link {
+ background: var(--anchor-gradient);
+}
a:not(:has(img)) {
- @media screen {
- background: var(--anchor-gradient);
- }
color: inherit;
padding: 0 .25em;
text-decoration: none;
@@ -135,8 +136,11 @@ section.banner {
}
button {
+ block-size: 2em;
border-radius: .25em;
color: var(--body-text);
+ margin-block: 0 auto;
+ margin-inline: .25em;
padding-inline: .5em;
}
@@ -172,6 +176,10 @@ img.inline {
block-size: 1.5em;
vertical-align: middle;
}
+a.logo {
+ block-size: 2em;
+ margin-block: 0 auto;
+}
img.logo {
block-size: 100%;
margin-inline: auto;
@@ -228,7 +236,9 @@ ul {
gap: 1em;
grid-template-columns: 1fr;
}
-
+.level {
+ text-align: center;
+}
.title, .duration.org {
font-weight: bold;
}
diff --git a/readme.md b/readme.md
index 1dd916f..f1cd104 100644
--- a/readme.md
+++ b/readme.md
@@ -69,5 +69,5 @@ Dernier tiers moins vu
* Nexus
* PDFtk
* uWSGI
-* add a button for links hinting
* move descriptions inside ul tag
+* add button to switch languages