-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (91 loc) · 1.85 KB
/
style.css
File metadata and controls
106 lines (91 loc) · 1.85 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #00bcd4, #8e24aa);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #fff;
}
.container {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
width: 350px;
overflow: hidden;
text-align: center;
}
h1 {
color: #4a4a4a;
margin-bottom: 20px;
font-size: 24px;
}
#taskInput {
width: 70%;
padding: 12px;
margin-right: 10px;
border: 1px solid #ddd;
border-radius: 20px;
font-size: 16px;
outline: none;
transition: border-color 0.3s;
}
#taskInput:focus {
border-color: #8e24aa;
}
#addButton {
width: 20%;
padding: 12px;
background-color: #8e24aa;
color: white;
border: none;
border-radius: 50px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
#addButton:hover {
background-color: #7b1fa2;
}
ul {
list-style-type: none;
padding: 0;
margin-top: 20px;
}
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
background-color: #f9f9f9;
margin: 8px 0;
border-radius: 8px;
transition: transform 0.3s ease;
color: #333; /* Zajistí, že text bude dobře čitelný */
}
li:hover {
transform: translateX(10px);
}
li.completed {
text-decoration: line-through;
color: #ccc; /* Zbarvení dokončeného úkolu */
}
button.delete {
background-color: #f44336;
border: none;
color: white;
border-radius: 50px;
padding: 5px 12px;
font-size: 14px;
cursor: pointer;
transition: background-color 0.3s;
}
button.delete:hover {
background-color: #e53935;
}