-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
134 lines (118 loc) · 2.36 KB
/
styles.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
* {
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
color: rgb(34, 56, 67);
}
.container {
width: 100%;
background-color: rgb(216, 180, 160);
min-height: 100vh;
padding: 10px;
}
.card {
margin: 100px auto 100px;
max-width: 500px;
min-height: 100px;
padding: 40px 30px;
background-color: rgb(239, 241, 243);
border-radius: 20px;
text-align: center;
}
#add-box {
text-indent: 10px;
outline: none;
border: none;
width: 70%;
height: 40px;
border-radius: 25px;
background-color: rgba(255, 255, 255, 0.9);
font-size: 20px;
font-weight: 400;
transition: width 0.3s ease;
color: rgb(34, 56, 67);
padding: 12px;
}
#add-box:focus {
background-color: rgba(255, 255, 255, 0.95);
}
h1 {
color: rgb(34, 56, 67);
font-weight: 900;
margin-bottom: 10px;
}
.checklist {
width: 60px;
height: 35px;
}
.search {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 25px;
}
#add-todo {
width: 25%;
height: 40px;
border-radius: 25px;
background-color: rgb(215, 122, 97);
border: none;
font-size: 20px;
font-weight: 500;
color: rgb(34, 56, 67);
cursor: pointer;
user-select: none;
}
#add-todo:hover {
background-color: rgb(238, 147, 122);
}
#list {
max-width: 500px;
list-style-type: none;
text-align: left;
background-color: rgb(239, 241, 243);
}
#list li {
margin-bottom: 5px;
font-size: 20px;
font-weight: 400;
padding: 15px;
cursor: pointer;
user-select: none;
position: relative;
/* background-color: rgb(219, 211, 216); */
border-radius: 5px;
color: rgb(34, 56, 67);
background-color: rgb(239, 241, 243);
white-space: pre-wrap; /* This line makes the text wrap */
word-break: break-word;
}
#list li:last-child {
margin-bottom: 0;
}
.checked {
color: #555;
text-decoration: line-through;
}
#list li span {
position: absolute;
padding-left: 10px;
padding-right: 18px;
right: 0;
top: 5px;
width: 1px;
height: 40px;
font-size: 22px;
color: rgb(215, 122, 97);
line-height: 40px;
text-align: center;
}
#list li span:hover {
color: rgb(238, 147, 122);
}