forked from sinji2102/css-study-feedback
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (77 loc) · 1.25 KB
/
Copy pathstyle.css
File metadata and controls
89 lines (77 loc) · 1.25 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
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background-color: #f0f2f5;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: white;
padding: 20px;
border-radius: 16px;
width: 320px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
h1, h2 {
text-align: center;
margin: 0;
}
h2 {
font-size: 18px;
margin-top: 8px;
color: #555;
}
p {
text-align: center;
margin: 10px 0 20px;
color: #888;
}
.task {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
padding: 8px;
border-bottom: 1px solid #eee;
}
.task input[type="checkbox"] {
transform: scale(1.2);
margin-right: 10px;
}
.task label {
flex-grow: 1;
font-size: 14px;
}
.task button {
background: none;
border: none;
cursor: pointer;
}
.task button img {
width: 20px;
height: 18px;
}
.add-task {
display: flex;
margin-top: 20px;
}
.add-task input[type="text"] {
flex: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 8px;
font-size: 14px;
}
.add-task button {
background: #4CAF50;
color: white;
border: none;
margin-left: 8px;
padding: 0 14px;
font-size: 24px;
border-radius: 50%;
cursor: pointer;
}