diff --git a/content/_index.md b/content/_index.md
index cba7d94..ef149e8 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -71,6 +71,8 @@ leaflet = 1
+## On est là
+
{% map() %}
[42.6998, 9.4518], // Bastia
[44.4742, 1.8296], // Cajarc
diff --git a/sass/css/base.scss b/sass/css/base.scss
index 0e01b40..cb2b8d6 100644
--- a/sass/css/base.scss
+++ b/sass/css/base.scss
@@ -30,10 +30,6 @@ html, body {
font-family: LunaSans;
}
-body {
- background: radial-gradient(circle at 100%, rgba(2, 148, 217, 0.2) 20%, white);
-}
-
main {
width: 100%;
font-size: 18px;
@@ -162,3 +158,24 @@ h3 {
height: 600px;
max-height: calc(100vh - 64px);
}
+
+@media (prefers-color-scheme: light), (prefers-color-scheme: no-preference) {
+ html {
+ background: radial-gradient(circle at 100%, rgba(2, 148, 217, 0.2) 20%, white);
+ }
+}
+
+@media (prefers-color-scheme: dark) {
+ html {
+ background-color: black;
+ color: white;
+ }
+
+ #dev-warning {
+ color: black;
+ }
+
+ .cities {
+ color: $grey2;
+ }
+}
diff --git a/sass/css/clients.scss b/sass/css/clients.scss
index 2cd3a87..0478fe5 100644
--- a/sass/css/clients.scss
+++ b/sass/css/clients.scss
@@ -59,3 +59,9 @@
color: $grey1;
float: right;
}
+
+@media (prefers-color-scheme: dark) {
+ .client_box-sign {
+ color: $grey2;
+ }
+}
diff --git a/sass/css/defs.scss b/sass/css/defs.scss
index 6a5e513..1b62b51 100644
--- a/sass/css/defs.scss
+++ b/sass/css/defs.scss
@@ -1,6 +1,7 @@
$blue: #0294d9;
$violet: #ac44ff;
$grey1: #444;
+$grey2: #bbb;
$grad1_3tr: rgba(2, 148, 217, 0.2);
$grad2_3tr: rgba(87, 108, 236, 0.2);
diff --git a/sass/css/header.scss b/sass/css/header.scss
index 62ce088..e8b8d78 100644
--- a/sass/css/header.scss
+++ b/sass/css/header.scss
@@ -37,3 +37,9 @@ header {
text-shadow: 1px 2px 1px $violet;
text-decoration: none;
}
+
+@media (prefers-color-scheme: dark) {
+ #header-menu a {
+ color: white;
+ }
+}
diff --git a/sass/css/services.scss b/sass/css/services.scss
index 9c8b70a..114151d 100644
--- a/sass/css/services.scss
+++ b/sass/css/services.scss
@@ -68,3 +68,9 @@
padding-bottom: 14px;
font-size: 24px;
}
+
+@media (prefers-color-scheme: dark) {
+ .service_box-link, .service_box-link:visited {
+ color: white;
+ }
+}
diff --git a/static/img/librezo-little-white.png b/static/img/librezo-little-white.png
new file mode 100644
index 0000000..c75fcf8
Binary files /dev/null and b/static/img/librezo-little-white.png differ
diff --git a/templates/base.html b/templates/base.html
index aaae616..797ac39 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,7 +19,14 @@
fermer