-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
80 lines (69 loc) · 1.21 KB
/
styles.css
File metadata and controls
80 lines (69 loc) · 1.21 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background-color: #ffffff;
width: 100%;
max-width: 420px;
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
h1 {
margin-bottom: 1rem;
text-align: center;
}
.input-section {
display: flex;
gap: 0.5rem;
margin-bottom: 1rem;
}
#taskInput {
flex: 1;
padding: 0.6rem 0.8rem;
border-radius: 8px;
border: 1px solid #ccc;
}
#addTask {
padding: 0.6rem 0.9rem;
border-radius: 8px;
border: none;
background-color: #2563eb;
color: white;
cursor: pointer;
}
#taskList {
list-style: none;
}
#taskList li {
padding: 0.5rem 0.8rem;
border-radius: 8px;
border: 1px solid #e5e7eb;
margin-bottom: 0.4rem;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Mobile tweaks */
@media (max-width: 480px) {
.container {
border-radius: 0;
min-height: 100vh;
}
.input-section {
flex-direction: column;
}
#addTask {
width: 100%;
}
}