-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
84 lines (75 loc) · 1.31 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
* {
box-sizing: border-box;
}
body {
background-image: url("./images/Clear.jpg");
background-size: cover;
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
min-height: 100vh;
}
h1 {
color: white;
text-shadow: 2px 2px gray;
opacity: 80%;
}
input {
opacity: 80%;
}
.todo-container {
max-width: 100%;
width: 400px;
}
#todo-input {
background-color: lightyellow;
border: none;
display: block;
font-size: 2rem;
padding: 0.5rem 2rem 0.5rem 0.5rem;
width: 100%;
}
#todo-list {
background-color: lightyellow;
list-style-type: none;
margin: 0;
padding: 0;
}
#todo-list {
border-top: 1px solid rgb(242, 242, 242);
user-select: none;
}
.complete {
color: rgb(155, 155, 155);
text-decoration: line-through;
}
li button {
background-color: mintcream;
width: 1.5rem;
height: 1.5rem;
margin: 0.5rem;
border: 2px solid black;
border-radius: 8px;
cursor: pointer;
}
li button:active {
border: 2px solid gray;
}
.delete-btn-wrapper {
margin-top: 1rem;
}
.delete-btn-wrapper button {
border: none;
border-radius: 5px;
font-weight: bold;
background-color: rgb(251, 250, 249);
padding: 0.2rem 1rem;
cursor: pointer;
box-shadow: 3px 3px gray;
}
.delete-btn-wrapper button :active{
box-shadow: none;
margin-left: 3px;
margin-top: 3px;
}