-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
133 lines (109 loc) · 1.91 KB
/
styles.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
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');
*,
*:after,
*:before{
padding:0;
margin:0;
font-family: 'Roboto Slab', serif;
font-size: 16px;
}
:root{
--background-color:#DEE1DD;
--input-color:#2F575D;
--item-color:#28363D;
}
body{
background-color: var(--background-color);
}
/* FORM */
form{
width:fit-content;
margin:auto;
margin-top:130px;
}
form input{
display: block;
width:800px;
padding:18px 15px;
margin-bottom: 20px;
background: var(--input-color);
color:white;
box-shadow: 3px 3px 5px rgba(40, 54, 61, 0.5);
border-radius: 5px;
border:0;
}
form input::placeholder{
color:white;
opacity: .8;
}
form input:focus{
outline:0;
}
form button{
display:block;
padding:15px 60px;
border-radius: 8px;
border:0;
color:white;
background: var(--input-color);
cursor:pointer;
}
/* SECTION TO-DO LIST */
section{
width:fit-content;
margin:150px auto;
}
section h3{
font-size: 20px;
}
.list{
display:flex;
gap:10px;
flex-direction: column;
}
.item{
width:962px;
background: var(--item-color);
border-radius:5px;
padding:20px;
display:flex;
align-items: center;
color:white;
filter: drop-shadow(10px 5px 61px rgba(0, 0, 0, 0.25));
max-height: 60px;
overflow:hidden;
transition:.5s ease;
animation: 5s ease;
}
.item-info{
width: 100%;
display:flex;
align-items: center;
margin-right: 15px;
transition:.3s ease;
}
.item-info:hover{
cursor:pointer;
}
.item-info span{
padding:10px;
}
.checked{
opacity:0.5;
}
.checked::after{
position:absolute;
content: "";
width:85%;
height:3px;
background:var(--background-color);
left:50px;
}
.options{
display:flex;
justify-content: space-evenly;
gap:20px;
}
.options div:hover{
cursor:pointer;
}