diff --git a/src/static_files.rs b/src/static_files.rs index 9154e21..226e523 100644 --- a/src/static_files.rs +++ b/src/static_files.rs @@ -11,6 +11,7 @@ static STATIC_FILES: &[(&str, &[u8])] = &[ "LinBiolinum_R.otf", include_bytes!("../static/LinBiolinum_R.otf"), ), + ("background.jpg", include_bytes!("../static/background.jpg")), ]; pub fn init_static_files(dir: &Path) { diff --git a/static/background.jpg b/static/background.jpg new file mode 100644 index 0000000..ae46f81 Binary files /dev/null and b/static/background.jpg differ diff --git a/static/style1.css b/static/style1.css index 136261c..2e71c2e 100644 --- a/static/style1.css +++ b/static/style1.css @@ -17,6 +17,10 @@ html, body { font-size: 110%; } +body { + background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url("/static/background.jpg"); +} + h1, h2, h3, h4 { font-family: "Karma"; } @@ -48,6 +52,10 @@ h1, h2, h3, h4 { padding: 4px; } +.page { + background-color: rgba(255,255,255,0.95); +} + @media screen and (min-width: 801px) { .center { width: 800px; diff --git a/templates/admin.html b/templates/admin.html index 07e9cf8..b270276 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -7,7 +7,7 @@ -
+

Administration – ĞMarché

@@ -55,7 +55,8 @@

Toutes les questions techniques ont leur place sur le forum.

Code source sous licence GNU AGPL v3. 🦀 Écrit en Rust. Images de Attilax.
- CopyLeft 2020 Pascal Engélibert

+ CopyLeft 2020 Pascal Engélibert
+ Image de fond : Claudia Peters, FreeImages.com

AccueilVerrouiller

diff --git a/templates/admin_login.html b/templates/admin_login.html index 5ec3e2c..5226dc8 100644 --- a/templates/admin_login.html +++ b/templates/admin_login.html @@ -7,7 +7,7 @@ -
+

Administration – ĞMarché

@@ -36,7 +36,8 @@

Toutes les questions techniques ont leur place sur le forum.

Code source sous licence GNU AGPL v3. 🦀 Écrit en Rust. Images de Attilax.
- CopyLeft 2020 Pascal Engélibert

+ CopyLeft 2020 Pascal Engélibert
+ Image de fond : Claudia Peters, FreeImages.com

Accueil

diff --git a/templates/index.html b/templates/index.html index aa7f10d..71b21a6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@ -
+

ĞMarché

@@ -84,7 +84,8 @@

Toutes les questions techniques ont leur place sur le forum.

Code source sous licence GNU AGPL v3. 🦀 Écrit en Rust. Images de Attilax.
- CopyLeft 2020 Pascal Engélibert

+ CopyLeft 2020 Pascal Engélibert
+ Image de fond : Claudia Peters, FreeImages.com

Administration