diff --git a/build.py b/build.py
index 3f13417..4371d9d 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 / "marc.beninca.vcf")),
+ ("--read-from", str(root_input / "vcard.vcf")),
("--size", "4"),
("-t", "SVG"),
- ("--output", str(web / "img" / "marc.beninca.svg")),
+ ("--output", str(web / "img" / "vcard.svg")),
)
diff --git a/in/en/index.html b/in/en/index.html
index d304972..6bccaff 100644
--- a/in/en/index.html
+++ b/in/en/index.html
@@ -16,7 +16,7 @@
-
+
-
-
-
+
@@ -62,16 +58,16 @@
Links
-
-
+
+
 |
-33 607478434 |
+ 33 6 07 47 84 34 |
 |
-cv |
+cv marc.beninca.link |
 |
@@ -116,7 +112,7 @@
-Social
+Platforms
diff --git a/in/fr/index.html b/in/fr/index.html
index 41ef757..8e9c8bb 100644
--- a/in/fr/index.html
+++ b/in/fr/index.html
@@ -16,7 +16,7 @@
-
+
-
-
-
+
@@ -62,16 +58,16 @@
Liens
-
-
+
+
 |
-33 607478434 |
+ 33 6 07 47 84 34 |
 |
-cv |
+cv marc.beninca.link |
 |
@@ -116,7 +112,7 @@
-Social
+Plateformes
diff --git a/in/img/theme.svg b/in/img/theme.svg
deleted file mode 100644
index 64d26fd..0000000
--- a/in/img/theme.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/in/script/main.js b/in/script/main.js
index 66dc068..5f78a27 100644
--- a/in/script/main.js
+++ b/in/script/main.js
@@ -1,13 +1,3 @@
-// link
-
-const link = document.getElementById("link");
-
-link.addEventListener("click", () => {
- document.body.classList.toggle("link");
-});
-
-// theme
-
const button = document.getElementById("theme");
function theme_get() {
@@ -21,6 +11,7 @@ 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 fada8f5..f52f14a 100644
--- a/in/style/main.css
+++ b/in/style/main.css
@@ -54,7 +54,7 @@
/* main */
-#link, #theme {
+#theme {
background-color: var(--button-background);
}
#vcard {
@@ -90,11 +90,10 @@ 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;
@@ -136,11 +135,8 @@ section.banner {
}
button {
- block-size: 2em;
border-radius: .25em;
color: var(--body-text);
- margin-block: 0 auto;
- margin-inline: .25em;
padding-inline: .5em;
}
@@ -176,10 +172,6 @@ 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;
@@ -236,9 +228,7 @@ ul {
gap: 1em;
grid-template-columns: 1fr;
}
-.level {
- text-align: center;
-}
+
.title, .duration.org {
font-weight: bold;
}
diff --git a/in/marc.beninca.vcf b/in/vcard.vcf
similarity index 100%
rename from in/marc.beninca.vcf
rename to in/vcard.vcf
diff --git a/readme.md b/readme.md
index f1cd104..1dd916f 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