-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (109 loc) · 2.73 KB
/
style.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
*,
*::before,
*::after {
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: "Public Sans";
}
:root {
font-size: 62.5%;
--border-color: #ccd5ae;
--background-color: #e9edc9;
--background-color-light: #fefae0;
}
/* public-sans-regular - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: "Public Sans";
font-style: normal;
font-weight: 400;
src: url("fonts/public-sans-v15-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* public-sans-500 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: "Public Sans";
font-style: normal;
font-weight: 500;
src: url("fonts/public-sans-v15-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* public-sans-700 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: "Public Sans";
font-style: normal;
font-weight: 700;
src: url("fonts/public-sans-v15-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
main {
max-width: min(768px, calc(100% - 2rem));
margin: 10rem auto;
}
h1 {
font-size: 2rem;
font-weight: 700;
}
.todo-box {
border: 1px solid var(--border-color);
border-radius: 1rem;
padding: 2rem;
margin: 2rem 0rem;
background-color: var(--background-color);
}
.todo-box li {
list-style: none;
font-size: 1.6rem;
padding: 0.5rem 0rem;
}
.todo-item {
display: flex;
gap: 1rem;
align-items: center;
}
.todo-delete {
padding: 0.8rem;
border-radius: 3rem;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
}
.todo-delete:hover {
background-color: var(--background-color-light);
}
.input {
display: flex;
padding: 2rem 0rem 0rem;
gap: 1rem;
}
.input input {
font-size: 1.6rem;
padding: 1rem 1.5rem;
border: 1px solid var(--border-color);
border-radius: 1rem;
width: 100%;
background-color: var(--background-color-light);
outline: none;
}
.input input:focus {
outline: 1px solid var(--border-color);
}
.input button {
font-size: 1.6rem;
font-weight: 500;
padding: 1rem 2.5rem;
border-radius: 1rem;
border: 1px solid var(--border-color);
background-color: var(--background-color-light);
cursor: pointer;
}
.input button:active {
background-color: var(--background-color);
outline: 1px solid var(--border-color);
}
@media screen and (max-width: 640px) {
main {
margin: 2rem auto;
}
}