-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (124 loc) · 2.48 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
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
*{
margin: 0;
padding: 0;
font-family: poppins;
box-sizing: border-box;
font-weight: 500;
/* color: white; */
}
.container{
width: 100%;
min-height: 100vh;
background: hsla(355, 74%, 62%, 1);
background: linear-gradient(0deg, hsla(355, 74%, 62%, 1) 0%, hsla(0, 0%, 3%, 1) 100%);
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
/* position: fixed; */
}
.todo{
width: 100%;
min-height: 40rem;
background-color: white;
margin: 10rem;
border-radius: 0.8rem;
/* display: flex; */
/* justify-content: center; */
/* align-items: center; */
color: rgb(239, 105, 116);
position: relative;
padding: 20px;
}
.todo h2{
font-size: 1.5rem;
margin-top: 0.5rem;
margin-left: 1rem;
user-select: none;
}
.todo h2 i{
padding-left: 1rem;
color: brown
}
.task{
display: flex;
align-items: center;
justify-content: space-between;
background-color: rgb(230, 227, 227);
border-radius: 1.5rem;
padding: 1rem;
margin: 1rem 0;
}
input{
border: none;
flex: 1;
outline: none;
background-color: transparent;
padding: 0.5rem;
}
button{
border: none;
outline: none;
padding: 1rem 2rem;
border-radius: 2rem;
background-color: tomato;
color: white;
font-size: 1rem;
cursor: pointer;
}
button:hover{
background-color: orangered;
}
ul{
padding: 0;
}
ul li{
list-style: none;
font-size: 1.1rem;
padding: 0.8rem 0.5rem 0.5rem 2.5rem;
cursor: pointer;
user-select: none;
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
margin-right: 1rem;
}
ul li::before{
content: '';
position: absolute;
height: 0.9rem;
width: 0.9rem;
border:1px solid black;
border-radius: 50%;
left: 0.5rem; /* Adjust left position */
top: 50%; /* Center vertically */
transform: translateY(-50%);
}
ul li.check{
color: #555;
text-decoration: line-through;
}
ul li.check::before{
background-color: black;
}
ul li span{
font-size: 2rem;
border-radius: 30%;
}
ul li span:hover{
background-color:#edeef0;
}
@media(max-width:800px){
.container{
padding: 10px;
}
.todo{
width: 100%;
max-width: 25rem;
min-height: 20rem;
}
button{
padding-right:2rem;
}
}