-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
168 lines (156 loc) · 3.35 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
body{
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: rgb(185, 197, 207);
}
#header{
display: flex;
justify-content: center;
margin-top: 2rem;
margin-bottom: 0;
}
#header header{
font-size: 2rem;
font-weight: bolder;
margin-bottom: 0;
}
#head{
display: flex;
justify-content: center;
}
.main{
/* border: 1px solid; */
display: flex;
flex-direction: column;
align-items: center;
width: 80%; /* Adjust the width as needed */
max-width: 600px;
}
.main p{
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1rem;
}
.main input{
width: 88%;
height: 2rem;
border-radius: 8px;
border: 0;
font-family: Arial, Helvetica, sans-serif;
padding-bottom: 3px ;
}
#button{
display: flex;
justify-content: center;
/* align-items: center; */
}
.button{
display: flex;
justify-content: center;
/* border: 1px solid; */
width: 50%;
margin-left: 1rem;
}
.button button{
border-radius: 10px;
border: 0;
padding: 0.7rem 1.8rem;
margin-right: 1rem;
font-size: 15px;
font-weight: bold;
box-shadow: 3px 4px 6px rgba(0, 0, 0, 0.3);
transition: box-shadow 0.3s;
}
.button button:first-child{
background-color: rgb(39, 156, 68);
color: white;
}
.button button:last-child{
background-color: rgb(241, 29, 29);
color: white;
}
.button button:nth-child(2){
background-color: rgb(85, 85, 173);
color: white;
}
.button button:first-child:hover{
/* background-color: rebeccapurple; */
transform: scale(1.2);
transition: width 0.5s, height 0.5s;
transition-delay: 1s;
/* color: green; */
background-color: green;
}
.button button:hover{
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.6);
}
.button button:last-child:hover{
/* background-color: rebeccapurple; */
transform: scale(1.2);
transition: width 0.5s, height 0.5s;
transition-delay: 1s;
/* color: green; */
background-color: rgb(205, 42, 30);
}.button button:nth-child(2):hover{
/* background-color: rebeccapurple; */
transform: scale(1.2);
transition: width 0.5s, height 0.5s;
transition-delay: 1s;
/* color: green; */
background-color: rgb(30, 30, 128);
}
#add{
display: flex;
justify-content: center;
margin-top: 1rem;
}
#add button{
border-radius: 10px;
border: 0;
padding: 0.7rem 2rem ;
margin-bottom: 1rem;
font-size: 18px;
font-weight: bold;
box-shadow: 3px 4px 6px rgba(0, 0, 0, 0.3);
transition: box-shadow 0.3s;
background-color: rgb(92, 148, 148);
color: rgb(219, 214, 214);
}
hr{
width: 35%;
}
#add button:hover{
transform: scale(1.2);
transition: width 0.5s, height 0.5s;
transition-delay: 1s;
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.6);
background-color: rgb(50, 113, 92);
}
#add button:active{
background-color: rgb(31, 93, 72);
}
.todo-list{
display: flex;
flex-direction: column;
border: 0.3 solid white;
width: 35%;
box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.6);
padding-bottom: 10px;
border-radius: 20px;
}
.todo{
display: flex;
flex-direction: column;
align-items: center;
/* justify-content: center; */
margin-bottom: 2rem;
}
.todo-div{
display: flex;
justify-content: center;
}
.todo h2{
margin-top: 5px;
color: black;
}