-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
146 lines (131 loc) · 2.8 KB
/
main.css
File metadata and controls
146 lines (131 loc) · 2.8 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Inter", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #ffafbd; /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#ffc3a0,
#ffafbd
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#ffc3a0,
#ffafbd
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.card {
top: 60px;
position: absolute;
-webkit-backdrop-filter: blur(10px); /* Safari 9+ */
backdrop-filter: blur(10px); /* Chrome and Opera */
background-color: rgba(255, 255, 255, 0.3);
display: flex;
align-items: center;
flex-direction: column;
gap: 1rem;
padding: 3rem;
border-radius: 2rem;
}
h1 {
color: #f76074;
}
h2 {
display: none;
color: rgba(0, 0, 0, 0.7);
font-size: 1.2rem;
animation: fadein ease-in-out 0.3s;
}
#task-form {
display: flex;
flex-direction: row;
}
.container {
display: flex;
flex-direction: column;
gap: 1rem;
}
.to-dos {
display: flex;
flex-direction: column;
gap: 1rem;
}
.input-wrap {
display: flex;
transition: 0.3s ease-in-out;
}
.input-wrap:hover {
box-shadow: 0 0 0 calc(3px + 0px) rgba(247, 118, 135, 0.25);
border-radius: 1rem;
}
input {
font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";
font-size: 1.1rem;
width: 100%;
padding: 1rem;
background: #fdf7f8;
outline: none;
border: 2px solid #f77687;
font-weight: 500;
transition: all 0.2s ease-in-out;
will-change: transform;
border-top-right-radius: 1rem 1rem;
border-bottom-right-radius: 1rem 1rem;
}
.btn {
font-family: "Inter var", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
"Noto Color Emoji";
outline: none;
cursor: pointer;
background-color: #f77687;
font-size: 1.2rem;
font-weight: 600;
color: white;
transition: all 0.2s ease-in-out;
will-change: transform;
padding-left: 1rem;
padding-right: 1rem;
border: 0;
border-top-left-radius: 1rem 1rem;
border-bottom-left-radius: 1rem 1rem;
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.paragraph-styling {
display: flex;
padding: 1rem;
border-radius: 1rem;
font-size: 1.1rem;
font-weight: 500;
border: 2px solid #f77687;
background: #fdf7f8;
transition: 0.3s ease-in-out;
animation: fadein ease-in-out 0.3s;
user-select: none;
}
.paragraph-styling:active {
animation: fadein ease-in-out 0.3s;
}
.paragraph-styling:hover {
box-shadow: 0 0 0 calc(3px + 0px) rgba(247, 118, 135, 0.25);
border-radius: 1rem;
cursor: pointer;
}