diff --git a/public/backgound.png b/public/backgound.png new file mode 100644 index 0000000..27337c6 Binary files /dev/null and b/public/backgound.png differ diff --git a/public/index.html b/public/index.html index 04ff436..a5baa9f 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,11 @@ margin: 0 auto; padding: 20px; text-align: center; - background-color: #2c5282; /* Fond bleu */ + background-color: #2c5282; /* Couleur de secours si l'image ne charge pas */ + background-image: url('/background.png'); + background-position: center; + background-size: cover; + background-attachment: fixed; color: white; } h1 { @@ -56,6 +60,18 @@ align-items: center; justify-content: space-between; } + .contributor-info { + display: flex; + align-items: center; + gap: 10px; + } + .contributor-avatar { + width: 40px; + height: 40px; + border-radius: 50%; + object-fit: cover; + background-color: #3b557d; + } .contributor-name { font-weight: bold; color: #e3b505; @@ -65,6 +81,30 @@ font-size: 14px; margin-top: 5px; } + .contributor-date { + color: #a0aec0; + font-size: 12px; + } + .contributor-location { + color: #a0aec0; + font-size: 12px; + font-style: italic; + } + .contributor-comment { + color: #cbd5e0; + font-size: 13px; + margin-top: 5px; + font-style: italic; + line-height: 1.3; + max-width: 200px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .contributor-comment:hover { + white-space: normal; + max-width: none; + } .contributor-amount { color: #ffd500; font-weight: bold; @@ -285,7 +325,7 @@