-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
102 lines (88 loc) · 1.78 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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
background-color: rgb(232, 238, 238);
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 20px;
}
.input-container{
width: 100%;
max-width: 500px;
text-align: center;
padding: 20px;
}
.input-container input{
border: none;
outline: none;
padding: 12px;
margin-block: 12px;
border-radius: 4px;
font-size: 16px;
}
.input-container input[type="text"]{
width: 70%;
}
.input-container input[type="button"]{
background-color: #3da33d;
color: #fff;
font-weight: 700;
margin-left: 8px;
cursor: pointer;
padding: 12px 24px;
}
.input-container input[type="button"]:hover{
background-color: #60b160;
}
ul{
width: 70%;
max-width: 450px;
/* display: flex;
justify-content: center;
flex-direction: column;
align-items: center; */
}
ul li{
list-style-type: none;
cursor: pointer;
margin-block-end: 12px;
border-radius: 8px;
border: 0.125px solid #a19f9f;
padding: 6px 12px;
background-color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
transition: background-color 0.5s;
}
ul li:hover{
background-color: #cbcaca;
}
ul li p{
flex-grow: 1;
padding: 2px;
}
.btn{
border: none;
outline: none;
font-size: 16px;
background: none;
font-weight: 600;
cursor: pointer;
padding: 8px;
}
.deleteBtn{
color: #ff0000;
}
.editBtn{
color: #008000;
}