-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
170 lines (147 loc) · 3.21 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
body {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.mein {
overflow-x: hidden;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
background-size: cover;
background-position: center;
background: linear-gradient(90deg, #c80c0c, #5803f6);
backdrop-filter: blur(100px);
}
.Todo-list h1 {
text-align: center;
margin-top: 0;
font-size: 50px;
color: #fff;
}
.Todo-list {
box-shadow: 0 54px 55px rgba(0, 0, 0, 0.25), 0 -12px 30px rgba(0, 0, 0, 0.12), 0 4px 6px rgba(0, 0, 0, 0.12), 0 12px 13px rgba(0, 0, 0, 0.17), 0 -6px 5px rgba(2, 2, 2, 0.349);
background: linear-gradient(90deg, #c80c0c, #5803f6);
padding: 25px 50px;
border-radius: 10px;
justify-content: center;
max-width: 600px;
width: 90%;
}
.input {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.input input {
background-color: rgba(255, 255, 255, 0.2);
color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
border-radius: 10px;
border: none;
outline: none;
width: 100%;
max-width: 350px;
height: 45px;
font-size: 18px;
padding: 0 15px;
}
.input input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.input button {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
border-radius: 10px;
padding: 10px 20px;
font-size: 15px;
color: #fff;
border: none;
background-color: rgba(255, 255, 255, 0.2);
margin-left: 10px;
transition: background-color 0.3s ease;
}
.input button:hover {
background-color: rgba(255, 255, 255, 0.3);
}
#btn1, #btn2 {
color: #000;
font-size: 16px;
}
.btn button {
padding: 10px;
border-radius: 10px;
border: none;
outline: none;
}
.result span {
font-size: 15px;
color: #000;
}
.result .btn {
position: relative;
}
.result ol li {
list-style: none;
font-size: 25px;
margin-top: 10px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding: 10px;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}
#ul {
width: 100%;
flex-wrap: wrap;
overflow-y: auto;
overflow-x: auto;
scroll-behavior: smooth;
padding: 10px;
max-height: 300px;
}
.result {
flex-wrap: wrap;
display: flex;
width: 100%;
overflow-y: hidden;
overflow-x: hidden;
}
@media only screen and (max-width: 550px) {
.Todo-list {
flex-wrap: wrap;
width: auto;
}
.result {
width: 100%;
flex-wrap: wrap;
}
}
@media only screen and (max-width: 480px) {
.Todo-list {
width: 90%;
}
}
@media only screen and (max-width: 400px) {
.input input {
width: 200px;
}
.result {
width: 100%;
}
}
::-webkit-scrollbar {
width: 0;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: transparent;
}