-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
59 lines (50 loc) · 1.02 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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
width: 80%;
margin: auto;
overflow: hidden;
}
header {
background: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
header h1 {
margin: 0;
}
.task-entry {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0;
}
#task-input, #priority, #due-date, #category, #add-task {
padding: 10px;
margin-right: 10px;
}
#task-list {
list-style-type: none;
padding: 0;
}
#task-list li {
background: #fff;
padding: 10px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
border-left: 5px solid #ccc;
}
#task-list li.low { border-color: green; }
#task-list li.medium { border-color: orange; }
#task-list li.high { border-color: red; }
.complete {
text-decoration: line-through;
color: gray;
}