-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (83 loc) · 1.38 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
border-radius: 0.25em;
}
body {
background-color: gainsboro;
text-align: center;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
button {
color: white;
}
.none {
display: none;
}
.crossed {
text-decoration: line-through;
text-decoration-color: gray;
}
span.crossed {
color: gray;
}
header h2 {
padding: 0.5em 0;
border-bottom: 0.25em solid gray;
border-radius: 0;
}
.card {
width: 25em;
min-height: 20em;
height: auto;
margin: 6em auto;
padding: 2em;
background-color: white;
box-shadow: -3px -2px 14px 0px;
}
.card main {
display: flex;
flex-direction: column;
gap: 0.5em;
margin-top: 0.5em;
}
.card main input {
border: 1px solid lightgray;
padding: 0.8em;
}
.card main #addTask {
background-color: darkcyan;
border: none;
padding: 0.8em;
}
.tasks {
display: flex;
flex-direction: column;
gap: 0.5em;
}
.tasks .task {
border: 1px solid lightgray;
background-color: lavender;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5em;
}
.tasks .task span {
text-align: left;
}
.tasks .task .actions {
display: flex;
}
.tasks .task button {
padding: 0.8em;
margin: 0 0.25em;
border: none;
}
.tasks .task button.complete {
background-color: forestgreen;
}
.tasks .task button.remove {
background-color: crimson;
}