-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstyle.css
84 lines (71 loc) · 1.28 KB
/
style.css
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
/* 자유롭게 디자인 해 주세요! */
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(to right, #d8bfd8, #ffb6c1);
}
.container {
background: white;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 300px;
}
header {
font-size: 24px;
margin-bottom: 20px;
text-align: center;
}
.input-container {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
input[type="text"] {
flex-grow: 1;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.todo-list-container, .done-list-container {
margin-top: 20px;
}
ul {
list-style-type: none;
}
li {
display: flex;
justify-content: space-evenly;
align-items: baseline;
padding: 10px;
border-bottom: 1px solid #ccc;
margin-right: 40px;
}
li .delete-btn {
cursor: pointer;
color: red;
}
h2 {
font-size: 18px;
margin-bottom: 10px;
}
/* 완료된 항목 텍스트에 대한 스타일 */
.done-item-text {
color: gray;
text-decoration: line-through;
}
/* 삭제 버튼의 스타일 */
.delete-btn {
color: red;
cursor: pointer;
}