-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo-style.css
110 lines (99 loc) · 2 KB
/
todo-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
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
body{
height: 100%;
background-image: linear-gradient(147deg, #000000 0%, #2c3e50 74%);
background-attachment: fixed;
}
.main-heading{
color: coral;
text-align: center;
font-size: 4rem;
font-family: cursive;
}
.to-do-input-container{
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.user-input{
width: 50%;
height: 40px;
outline: none;
border-radius: 0.5rem;
padding: 0.5rem 1rem;
background-color: inherit;
color: #fff;
font-size: larger;
}
/* add task button */
.add-task{
background-color: coral;
height: 60px;
width: 60px;
border-radius: 1.5rem;
outline: none;
border:none;
margin: 1%;
cursor: pointer;
}
.add-task:hover{
background-color: rgb(20, 22, 17);
color: #fff;
}
.task-container{
width: 80%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
margin: 5% auto;
}
.tasks{
margin:0.5rem;
}
.task-input {
width: fit-content;
background-color: inherit;
outline: none;
border: 2px solid coral;
border-radius: 3rem;
padding: 0.5rem 1rem;
font-size: 1rem;
color: #fff;
}
.edit-task, .delete-task{
height: 30px;
width: 70px;
background-color: coral;
font-size: large;
border-radius: 2rem;
border: none;
outline: none;
margin-left:0.5rem;
cursor: pointer;
color: #dbffb8;
}
.edit-task:hover{
color: black;
background-color: burlywood;
}
.delete-task:hover{
color: #ff0000;
background-color: #000000;
}
.task-check {
zoom: 2;
position: relative;
top: 0.30rem;
}
input[type=checkbox]:checked + .task-input {
text-decoration: line-through;
font-style: italic;
}
#counter{
text-align: center;
font-size: 2rem;
color: #fff;
font-family: monospace ;
}