-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
147 lines (126 loc) · 2.58 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body {
display: flex;
justify-content: center;
margin-top: 50px;
}
a {
text-decoration: none;
}
button {
border: none;
cursor: pointer;
}
main {
border: 1px solid #C4C4C4;
border-radius: 10px;
width: min-content;
position: relative;
padding: 50px;
}
main .todo {
text-align: center;
width: 95%;
}
main .todo .icons {
position: relative;
margin-bottom: 30px;
}
main .todo a:first-child img {
width: fit-content;
position: absolute;
right: 10px;
}
main .todo a:last-child img {
width: fit-content;
position: absolute;
right: 45px;
top: -2px;
}
main .todo-head {
background-color: #FFDC40;
position: absolute;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
height: 28px;
width: 100.5%;
top: -1px;
left: -1px;
}
main .todo-body h1 {
font-size: 26px;
font-weight: 900;
}
main .todo-body form {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
main .todo-body form input {
width: 300px;
padding: 10px;
height: 40px;
border-radius: 10px;
border: 1px solid #c4c4c4;
}
main .todo-body form input:focus {
outline: none;
}
main .todo-body form button {
width: max-content;
height: 42px;
color: #fff;
padding: 10px 30px;
border-radius: 71px;
position: relative;
background-color: #833AE0;
font-weight: 400;
font-size: 18px;
}
main .todo-body form button span {
border-radius: 50%;
background-color: #9953F1;
padding: 10px 17px;
position: absolute;
top: 0;
left: 0;
}
main .todo-body form button p {
margin-left: 20px;
}
main .todo-body form ul{
list-style: none;
width: 300px;
padding: 10px;
border-radius: 10px;
border: 1px solid #c4c4c4;
word-break: break-all;
}
main .todo-body form ul li{
position: relative;
margin-bottom: 10px;
margin-left: 10px;
text-align: left;
}
main .todo-body form ul li:last-child{
margin-bottom: 0;
}
main .todo-body form ul img.x-btn{
position: absolute;
right: 10px;
}
@media (max-width: 900px) {
main .todo-body form input {
width: 260px;
}
main .todo-body form ul{
width: 260px;
}
}