-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
139 lines (137 loc) · 2.7 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
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1, h2 {
color: #05006f;
}
h2 {
margin-top: 1.5rem;
}
html {
font-family: 'Roboto', sans-serif;
background-color: #a3f2ff;
}
body {
padding: 2.5rem;
}
.all {
margin: 0 auto;
width: 90%;
max-width: 550px;
border: 0;
border-radius: 1rem;
padding: 2rem;
text-align: center;
background-color: #c6f7ff;
box-shadow: 0 0 20px -5px #88deec,
0 0 35px 0 #7fc6d2;
}
#input-form {
margin-top: 1.5rem;
display: flex;
justify-content: center;
gap: 1rem;
align-items: center;
}
.input {
width: 100%;
outline: none;
background-color: #fbfbfb;
border: 0;
border-radius: 14px;
padding: 0.75rem;
display: flex;
flex-wrap: wrap;
height: auto;
font-size: 0.8rem;
color: #444;
}
.input::placeholder {
font-size: 0.8rem;
color: #777;
}
.submit {
padding: 0.6rem;
border: 0;
border-radius: 14px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
color: #05006f;
background: linear-gradient(230deg, rgba(140,220,255,0.6) 0%, rgba(134,238,255,0.6) 100%);
border: none;
}
.submit:hover {
background: linear-gradient(160deg, rgba(140,220,255,0.8) 0%, rgba(134,238,255,0.8) 100%);
}
.submit:active {
background: linear-gradient(160deg, rgba(140,220,255,1) 0%, rgba(134,238,255,1) 100%);
}
.submit:focus {
outline: none;
}
.list {
margin: 0 auto;
width: 100%;
max-width: 100%;
}
.input-task {
border: 0;
outline: none;
background-color: transparent;
width: 100%;
color: #444;
}
.task {
display: flex;
background-color: #fcfcfc;
padding: 0.75rem;
margin-top: 1.125rem;
border-radius: 14px;
}
.buttons {
display: flex;
flex-direction: row;
gap: 1rem;
}
.edit, .delete {
cursor: pointer;
font-size: 14px;
font-weight: 600;
color: #bbb;
border: 0;
background-color: transparent;
}
.delete {
color: #aaa;
}
.edit:hover {
color: #3ce431;
}
.delete:hover {
color: #e45a5a;
}
.edit:active, .delete:active {
opacity: 0.5;
}
.edit:focus, .delete:focus {
outline: none;
}
.save {
cursor: pointer;
font-size: 14px;
font-weight: 600;
color: #1b13dd;
border: 0;
background-color: transparent;
}
.save:hover {
color: #07009d;
}
.save:active {
opacity: 0.6;
}