Skip to content

Commit b694d2e

Browse files
committed
Updated UI 1.5 Added Done Final
Signed-off-by: Someshdiwan <[email protected]>
1 parent 9d44aae commit b694d2e

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

site/assets/style.css

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -183,46 +183,22 @@ body {
183183
box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
184184
}
185185

186+
/* Dark‑Mode Toggle & Live‑Time Container */
186187
#theme-time-container {
187-
position: fixed;
188-
top: 1rem;
189-
left: 1rem;
190-
display: flex;
191-
align-items: center;
192-
gap: 0.5rem;
188+
max-width: 320px;
189+
margin: 1rem auto;
190+
padding: 0.5rem 1rem;
193191
background-color: var(--sidebar-bg);
194192
color: var(--text-color);
195-
padding: 0.5rem 1rem;
196193
border-radius: 8px;
194+
display: flex;
195+
justify-content: space-between;
196+
align-items: center;
197197
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
198-
font-size: 0.9rem;
199-
z-index: 1002;
200198
transition: background-color 0.3s, color 0.3s;
199+
font-size: 0.95rem;
201200
}
202201

203-
#theme-time-container .dark-toggle,
204-
#theme-time-container .time-toggle {
205-
background: var(--button-bg);
206-
color: var(--button-text);
207-
border: none;
208-
padding: 0.3rem 0.6rem;
209-
border-radius: 5px;
210-
cursor: pointer;
211-
font-size: 1rem;
212-
transition: background-color 0.2s;
213-
}
214-
215-
#theme-time-container .dark-toggle:hover,
216-
#theme-time-container .time-toggle:hover {
217-
background-color: var(--hover-bg);
218-
}
219-
220-
#theme-time-container #live-time {
221-
font-weight: 500;
222-
white-space: nowrap;
223-
}
224-
225-
/* Dark‑mode override */
226202
body.dark-mode #theme-time-container {
227203
background-color: var(--sidebar-bg);
228204
color: var(--text-color);

0 commit comments

Comments
 (0)