-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
129 lines (107 loc) · 1.74 KB
/
styles.css
File metadata and controls
129 lines (107 loc) · 1.74 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font-size: 1.6rem;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
background: #0A2D1F;
color: #fff;
}
input,
button,
textarea,
select {
color: inherit;
font-size: inherit;
font-family: inherit;
}
button {
background: transparent;
border: none;
}
main {
max-width: 600px;
margin: 0 auto;
padding: 50px;
}
.page-heading {
font-size: 2.4rem;
}
.todo-form {
display: flex;
gap: 10px;
margin-top: 30px;
}
.input,
.submit-btn {
padding: 8px 12px;
border-radius: 8px;
border: 1px solid #fff;
background: transparent;
font-weight: 600;
}
.input {
flex: 1;
}
.submit-btn {
flex-shrink: 0;
cursor: pointer;
}
.task-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 30px;
}
.task-item {
display: flex;
padding: 8px 12px;
border-radius: 8px;
border: 1px solid #ea9652;
}
.task-item.completed {
opacity: 0.6;
}
.task-item.completed .task-title {
text-decoration: line-through;
}
.task-title {
flex: 1;
}
.task-action {
display: flex;
gap: 16px;
}
.task-btn {
text-transform: uppercase;
font-size: 1.4rem;
font-weight: 600;
transition: all 450ms ease;
}
.task-btn.edit {
color: #7BB662;
}
.task-btn.done {
color: #FFD301;
}
.task-btn.delete {
color: #E03C32;
}
.task-btn:hover {
cursor: pointer;
transform: scale(1.1);
opacity: 0.7;
}
.empty-message {
font-style: italic;
text-align: center;
opacity: 0.7;
list-style: none;
}