-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
122 lines (101 loc) · 1.93 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
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
font-family: 'Nunito', sans-serif;
}
::-webkit-scrollbar {
width: 3px;
}
::-webkit-scrollbar-track {
background: #f9f6f6;
}
::-webkit-scrollbar-thumb {
background: #f7755d;
}
::-webkit-scrollbar-thumb:hover {
background: #fca36f;
}
body {
background-color: #a15d4f;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
#app {
background-color: #f9f6f6;
width: 20rem;
height: 36rem;
border-radius: 25px;
padding: 1.5rem 0.75rem 1.5rem 1.5rem;
display: flex;
flex-direction: column;
gap: 1.2rem;
box-shadow: 0px 10px 40px 10px rgba(0, 0, 0, 0.2);
}
#items {
overflow-y: auto;
overflow-x: hidden;
padding-right: 0.75rem;
}
#items textarea {
border: none;
background-color: #f9f6f6;
outline: none;
resize: none;
height: 2rem;
overflow: hidden;
}
#items > form > div > div {
border-bottom: 1px solid #e2dfe0;
display: flex;
padding: 1rem 0;
align-items: center;
}
#items > form > div > div > span {
cursor: pointer;
}
#items > form > div > div:nth-child(1) {
border-top: 1px sold #e2dfe0;
}
.itm-data {
width: 100%;
display: flex;
flex-direction: column;
}
.itm-data > textarea:nth-child(1) {
font-size: 1.1rem;
font-weight: bold;
}
.itm-data > textarea:nth-child(2) {
color: #7e7e7e;
font-size: 0.9rem;
}
#to-do {
width: 100%;
}
#items > form > h1 {
margin: 1.2rem 0 0.8rem 0;
}
#done {
width: 100%;
}
.up-to-date-img {
width: 70%;
display: flex;
margin: 2rem auto;
opacity: 0.7;
}
.up-to-date-txt {
color: #f7755d;
text-align: center;
margin-bottom: 2rem;
}
@media only screen and (max-width: 600px) {
#app {
width: 100%;
height: 100%;
border-radius: 0;
}
}