summaryrefslogtreecommitdiff
path: root/graphs/js/todoList/style.css
blob: ebdd8d770a82a0016432c31387f4f59925e6a719 (plain)
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
body {
    background-color: #f2f2f2;
    font-family: Arial, sans-serif;
}

h1 {
    text-align: center;
    margin-top: 20px;
}

div {
    display: flex;
    justify-content: center;
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}

input[type="text"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    width: 70%;
}

#todoList {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    list-style-type: decimal;
}

.todoItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    width: 80%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}

.todoText {
    flex-grow: 1;
    margin-right: 10px;
    padding-left: 10px;
}

button {
    padding: 5px 10px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #e53935;
}