-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
72 lines (63 loc) · 1.11 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
* {
box-sizing: border-box;
}
.title {
font-size: 24px;
text-align: center;
}
.todo-list {
margin-top: 32px;
background-color: lightblue;
border-radius: 4px;
padding: 8px;
max-width: 400px;
margin: 0 auto;
}
.actions {
display: flex;
margin-bottom: 8px;
}
.btn {
height: 32px;
min-width: 94px;
border: 0;
outline: none;
cursor: pointer;
border-radius: 4px;
margin-left: 5px;
background-color: rgb(134, 185, 203);
}
.task-input {
height: 32px;
border-radius: 4px;
border: 0;
flex: 1;
}
.list {
margin: 0;
padding: 0;
list-style-type: none;
margin: 0 auto 0 0;
width: 90%;
}
.list-item {
display: flex;
align-items: center;
height: 40px;
border-radius: 4px;
background-color: rgb(238, 166, 166);
margin: 8px 0;
padding: 8px;
}
.list-item_done {
text-decoration: line-through;
background-color: rgb(96, 230, 96);
}
@media (max-width: 600px) {
section {
width: 95%;
}
button {
width: 100%; /* Кнопки занимают всю ширину */
}
}