-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (105 loc) · 1.94 KB
/
style.css
File metadata and controls
121 lines (105 loc) · 1.94 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
outline: none;
}
body {
background-color: #374151;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
.todo-container {
margin-top: 100px;
display: flex;
flex-direction: column;
justify-content: center;
}
.todo-container header {
font-size: 60px;
color: #687280;
text-align: center;
}
form {
margin: 20px 0;
display: flex;
justify-content: center;
}
form #todo-input {
width: 450px;
border: none;
outline: none;
padding: 10px;
background-color: #1f2937;
border-radius: 12px;
margin-right: 10px;
color: white;
font-size: 24px;
}
form .add-btn {
width: 100px;
border-radius: 12px;
border: none;
background-color: #1f2937;
cursor: pointer;
padding: 12px;
color: white;
}
.add-btn:hover {
background-color: #111827;
}
.todos {
max-width: 580px;
}
.todos .todo {
padding: 20px 30px;
border-radius: 20px;
margin-bottom: 10px;
background-color: #111827;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 24px;
height: auto;
overflow: hidden;
word-wrap: break-word;
white-space: pre-wrap;
}
.todos .todo .todo-content {
width: 400px;
border: none;
outline: none;
background-color: transparent;
border-radius: 12px;
margin-right: 10px;
color: white;
font-size: 24px;
max-width: 90%;
margin-left: 15px;
}
.completed {
text-decoration: line-through;
opacity: 0.5;
}
.todo .todo-icon {
display: flex;
justify-content: center;
align-items: center;
margin-left: auto;
gap: 15px;
}
i {
color: white;
cursor: pointer;
}
.edit {
color: #794dc6;
}
.delete {
color: #b31538;
}
.check {
color: #1c8578;
}