Repository navigation
Expand file tree
/
Copy pathtest copy.html
More file actions
200 lines (175 loc) · 4.19 KB
/
Copy pathtest copy.html
File metadata and controls
200 lines (175 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task Smash 2.0 - Dark Mode</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
<style>
:root {
--bg-dark: #121212;
/* Deepest background */
--card-bg: #1e1e1e;
/* Slightly lighter card bg */
--accent: #bb86fc;
/* Purple highlight */
--text-main: #e0e0e0;
/* High contrast text */
--text-dim: #94a3b8;
/* Faded labels */
--delete-red: #cf6679;
/* Soft red for dark mode */
--edit-blue: #03dac6;
/* Cyan for edit */
--input-bg: #2d2d2d;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: 'Inter', sans-serif;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
.welcome-msg {
font-size: 0.9rem;
color: var(--text-dim);
margin-bottom: 1.5rem;
letter-spacing: 1px;
}
.container {
background: var(--card-bg);
padding: 2.5rem;
border-radius: 12px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
width: 90%;
max-width: 550px;
border: 1px solid #333;
}
h1 {
text-align: center;
margin-top: 0;
font-weight: 600;
color: var(--white);
border-bottom: 2px solid var(--accent);
display: inline-block;
padding-bottom: 5px;
width: 100%;
}
table {
width: 100%;
border-collapse: collapse;
margin: 2rem 0;
}
th {
text-align: left;
color: var(--accent);
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.1em;
padding-bottom: 15px;
border-bottom: 1px solid #333;
}
td {
padding: 15px 0;
border-bottom: 1px solid #2d2d2d;
font-size: 0.95rem;
}
/* Styling for Task IDs */
.task-val {
font-family: 'Courier New', monospace;
/* Monospace looks cool for IDs */
color: #fff;
}
/* Action Links */
.actions a {
text-decoration: none;
font-size: 0.8rem;
font-weight: 600;
margin-right: 15px;
transition: opacity 0.2s;
}
.actions a:hover {
text-decoration: underline;
opacity: 0.8;
}
.btn-delete {
color: var(--delete-red);
}
.btn-edit {
color: var(--edit-blue);
}
/* Input Area */
.input-row {
display: flex;
gap: 12px;
margin-top: 1rem;
}
input[type="text"] {
flex-grow: 1;
background: var(--input-bg);
border: 1px solid #444;
color: white;
padding: 12px;
border-radius: 6px;
outline: none;
}
input[type="text"]:focus {
border-color: var(--accent);
}
button {
background-color: var(--accent);
color: #000;
border: none;
padding: 0 20px;
border-radius: 6px;
font-weight: 700;
cursor: pointer;
transition: transform 0.1s;
}
button:active {
transform: scale(0.95);
}
</style>
</head>
<body>
<div class="welcome-msg">Welcome to the App</div>
<div class="container">
<h1>Task Smash 2.0</h1>
<table>
<thead>
<tr>
<th>Task</th>
<th>Added</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td class="task-val">123456</td>
<td style="color: var(--text-dim)">2026-03-07</td>
<td class="actions">
<a href="#" class="btn-delete">Delete</a>
<a href="#" class="btn-edit">Edit</a>
</td>
</tr>
<tr>
<td class="task-val">98765</td>
<td style="color: var(--text-dim)">2026-03-07</td>
<td class="actions">
<a href="#" class="btn-delete">Delete</a>
<a href="#" class="btn-edit">Edit</a>
</td>
</tr>
</tbody>
</table>
<div class="input-row">
<input type="text" placeholder="New Task ID...">
<button>Add Task</button>
</div>
</div>
</body>
</html>