-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
115 lines (99 loc) · 2.14 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
@import url("https://fonts.googleapis.com/css2?family=Chewy&family=Londrina+Shadow&family=Megrim&family=Poiret+One&family=Rampart+One&display=swap");
@font-face {
font-family: "Cafe24SsurroundAir";
src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/[email protected]/Cafe24SsurroundAir.woff")
format("woff");
font-weight: normal;
font-style: normal;
}
* {
margin: 0;
padding: 0;
font-family: "Cafe24SsurroundAir", sans-serif;
}
body {
display: flex;
justify-content: center;
min-height: 100vh;
background-color: bisque;
background: url("./img/mountain_daniel_leone.jpg") center center;
background-size: cover;
}
h1 {
color: white;
font-family: "Megrim", "Cafe24SsurroundAir", cursive;
text-align: center;
}
button {
cursor: pointer;
}
.app {
display: flex;
flex-direction: column;
min-width: 20rem;
max-width: 40rem;
height: fit-content;
max-height: 40rem;
margin-top: 5rem;
padding: 2rem;
background-color: rgba(74, 158, 255, 0.123);
border: 1px solid gainsboro;
box-shadow: 5px 5px 5px 5px rgba(255, 255, 255, 0.089);
color: white;
font-size: 16px;
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.app .todo-container {
overflow-y: auto;
}
.add-form {
width: 100%;
}
.add-form input {
width: 100%;
border: none;
border-bottom: 1px solid gainsboro;
margin: 1rem 0;
background-color: rgba(0, 0, 0, 0);
color: white;
text-align: center;
}
.add-form input:focus {
outline: 0;
}
.add-form input::placeholder {
color: rgba(204, 231, 255, 0.712);
}
ul.todo-list li {
list-style: none;
padding: 0.3rem;
cursor: pointer;
}
ul.todo-list li.checked {
color: bisque;
text-decoration: line-through;
}
ul.todo-list button {
background-color: rgba(0, 0, 0, 0);
border: none;
}
.todo-counter {
display: flex;
justify-content: space-between;
align-items: flex-end;
flex-grow: 1;
padding: 1rem 0.3rem;
}
*::-webkit-scrollbar {
width: 10px;
}
*::-webkit-scrollbar-thumb {
background-color: rgb(214, 214, 214);
}
*::-webkit-scrollbar-track {
background-color: rgba(212, 212, 212, 0.5);
}