Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
126 lines (111 loc) · 2.3 KB
/
Copy pathstyles.css
File metadata and controls
126 lines (111 loc) · 2.3 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
:root {
--bg-color: #9FAD7A;
--primary-color: #808F5E;
--accent-color: #C86756;
--secondary-color: #F4ECC7;
}
@font-face {
font-family: 'Agrave Pro';
src: url('./fonts/AgravePro.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
body {
background-color: var(--bg-color);
color: var(--primary-color);
font-family: 'Montserrat', sans-serif;
}
.container {
background-color: var(--secondary-color);
max-width: 750px;
margin: 30px auto;
padding: 20px;
border-radius: 12px;
}
#task-form {
display: flex;
align-items: center;
gap: 15px;
}
#task-input {
flex: 1;
min-width: 0;
width: 100%;
box-sizing: border-box;
padding: 10px 14px;
margin : 0;
border: 1px solid var(--primary-color);
border-radius: 15px;
background-color: #FFFFE9;
font-family: inherit;
font-size: 14px;
}
.add-button {
width: 40px;
height: 40px;
flex-shrink: 0;
border: none;
border-radius: 50%;
background-color: var(--accent-color);
color: white;
font-size: 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
#task-list {
margin-top: 20px;
list-style-type: none;
padding: 0;
}
h1{
color: var(--accent-color);
font-family: 'Agrave Pro', sans-serif;
}
.input-field {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid var(--primary-color);
border-radius: 5px;
}
button {
background-color: var(--accent-color);
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
width: auto;
}
button:hover {
background-color: var(--primary-color);
}
.completed {
text-decoration: line-through;
opacity: 0.6;
}
.task-item {
display: flex;
align-items: center;
padding: 10px;
border-bottom: 1px solid var(--primary-color);
}
.task-title {
flex: 1;
margin-left: 10px;
}
.task-item input[type="checkbox"] {
margin:0 10px 0 0;
}
.task-item button {
margin-left: 10px;
background-color: var(--accent-color);
color: white;
border: none;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
}