-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (84 loc) · 1.5 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
body {
font-size: clamp(1.3rem, calc(1.42rem+0.6vw), 1.54rem);
font-size: clamp(1.3rem, calc(1.42rem+0.6vw), 1.54rem);
display: flex;
font-family: 'Varela Round', sans-serif;
justify-content: center;
align-items: center;
/* min-height: 100vh; */
}
button{
user-select: none;
}
h1 {
margin-bottom: 20px;
}
.flex{
display: flex;
/* flex-wrap: nowrap; */
text-wrap: nowrap;
justify-content: space-between;
}
.todo-form {
display: flex;
gap: 0.6rem;
}
.delete-button{
background-color: #F85A5A;
color: #010101B8;
margin-block-start: 0.91rem;
/* max-width: 2.5rem; */
border: 1px solid #FF9697;
flex: 0 1 10%;
}
#todo-input {
flex: 1 0 80%;
border: 1px solid #ccc;
border-radius: 5px;
}
.todo-list {
list-style: none;
padding: 0;
}
li{
list-style: none;
display: flex;
gap: 4rem;
border: 1px solid #ccc;
align-items: center;
justify-content: space-between;
padding: 0.21rem 0.6rem 0.21rem 1rem;
border-radius: 0.325rem;
}
.todo-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4rem;
margin-bottom: .8rem;
border: 1px solid #ccc;
}
.theme-toggle{
width: 4rem;
height: 4rem;
border-radius: 50%;
}
.fa-sun{
/* color: yellow; */
fill: yellow;
}
@keyframes slideInLeft {
from {
transform: translate3d(-100%, 0, 0);
visibility: visible;
}
to {
transform: translate3d(0, 0, 0);
}
}
.slideInLeft {
animation: slideInLeft 3000ms ease-in;
}
.theme-toggle{
background-color: darkblue !important;
}