-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
108 lines (90 loc) · 1.65 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
body {
font-family: Arial, sans-serif;
background-color: #f0f8ff;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background: #ffffff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
font-size: 2em;
margin-bottom: 20px;
}
form {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
}
form input, form select, form button {
padding: 10px;
margin: 5px 0;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1em;
}
form button {
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #45a049;
}
ul {
list-style-type: none;
padding: 0;
}
li {
padding: 15px;
margin: 10px 0;
background: #eee;
border: 1px solid #ddd;
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
transition: background-color 0.3s ease;
}
li:hover {
background-color: #f9f9f9;
}
.priority-low {
border-left: 10px solid #8BC34A;
}
.priority-medium {
border-left: 10px solid #FF9800;
}
.priority-high {
border-left: 10px solid #F44336;
}
.task-details {
flex-grow: 1;
margin-left: 10px;
}
.task-details span {
display: block;
}
.task-details span:first-child {
font-weight: bold;
color: #333;
}
.task-details span:nth-child(2) {
color: #FF9800;
}
.task-details span:nth-child(3) {
color: #F44336;
}
.task-details span:nth-child(4) {
color: #8BC34A;
}