`;
container.appendChild(div);
@@ -192,10 +197,15 @@ function renderHero() {
container.innerHTML = '';
heroImages.forEach((img, i) => {
const div = document.createElement('div');
- div.className = 'photo';
+ div.className = 'photo flex-item flex-column';
div.innerHTML = `
-
+
+
+
`;
container.appendChild(div);
});
diff --git a/src/webui/style/style.css b/src/webui/style/style.css
index d749c98..61413a0 100644
--- a/src/webui/style/style.css
+++ b/src/webui/style/style.css
@@ -1,12 +1,13 @@
body {
- font-family: Arial, sans-serif;
+ font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
margin: 20px;
- background-color: #f9f9f9;
- color: #333;
+ background:radial-gradient(ellipse at bottom center, #002a30, #000000bd), radial-gradient(ellipse at top center, #0558a8, #000000fa);
+ color: #FBFBFB;
+ min-height: 100vh;
}
h1, h2 {
- color: #222;
+ color: #FBFBFB;
}
.toolbar {
@@ -43,13 +44,16 @@ h1, h2 {
gap: 15px;
}
+#gallery {
+ margin-top: 30px;
+}
+
.photo {
- background-color: white;
- border: 1px solid #ddd;
+ background-color: rgba(58, 62, 65, 0.26);
border-radius: 6px;
padding: 10px;
text-align: center;
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.photo img {
@@ -61,19 +65,21 @@ h1, h2 {
.photo input[type="text"] {
width: 100%;
padding: 4px 6px;
- margin-bottom: 6px;
- border: 1px solid #ccc;
- border-radius: 4px;
+ border-radius: 30px;
+ color: rgb(221, 221, 221);
+
}
.photo button {
- padding: 4px 8px;
- border: none;
- background-color: #f44336;
- color: white;
- border-radius: 4px;
- cursor: pointer;
- transition: background-color 0.2s;
+ padding: 4px;
+ border: none;
+ background-color:rgb(121 26 19);
+ color: white;
+ border-radius: 30px;
+ cursor: pointer;
+ transition: background-color 0.2s;
+ margin-top: 10px;
+ width:100%;
}
.photo button:hover {
@@ -130,15 +136,12 @@ h1, h2 {
/* Tags */
.tag-input {
- display: flex;
- flex-wrap: wrap;
- gap: 4px;
- border: 1px solid #ccc;
- padding: 4px;
- border-radius: 4px;
- position: relative; /* ensures dropdown positions correctly */
- background-color: white;
- z-index: 1;
+ display: flex;
+ flex-wrap: wrap;
+ gap: 4px;
+ padding: 4px;
+ position: relative;
+ z-index: 1;
}
.tag-input input {
@@ -146,12 +149,14 @@ h1, h2 {
outline: none;
flex: 1;
min-width: 60px;
+ background-color: #1f2223;
+ border: 1px solid #585858;
}
.tag {
- background-color: #eee;
- padding: 2px 6px;
- border-radius: 3px;
+ background-color: #074053;
+ padding: 0.2em 0.5em;
+ border-radius: 15px;
display: flex;
align-items: center;
}
@@ -167,8 +172,7 @@ h1, h2 {
top: 100%;
left: 0;
right: 0;
- background: white;
- border: 1px solid #ccc;
+ background: #181a1b;
border-top: none;
list-style: none;
margin: 0;
@@ -186,14 +190,31 @@ h1, h2 {
}
.tag-input ul.suggestions li:hover {
- background-color: #f0f0f0;
+ background-color: #007782;
}
.suggestions li.selected {
- background-color: #007bff;
+ background-color: #007782;
color: white;
cursor: pointer;
}
.suggestions li {
cursor: pointer;
+}
+
+.flex-item {
+ display: flex;
+}
+
+.flex-column {
+ flex-direction: column;
+}
+
+.flex-full {
+ flex: 1;
+}
+
+.flex-end {
+ align-items: flex-end;
+ width: 100%
}
\ No newline at end of file