-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (91 loc) · 1.75 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main {
min-width: 70%;
max-width: 90%;
max-height: 300px;
padding: 20px 10px;
background-color: #ddd;
border-radius: 9px;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
-ms-border-radius: 9px;
-o-border-radius: 9px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
overflow-x: hidden;
overflow-y: scroll;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
}
.main::-webkit-scrollbar {
width: 0.5rem;
}
.main::-webkit-scrollbar-track {
background: gray;
}
.main::-webkit-scrollbar-thumb {
background: red;
}
.main input {
width: 80%;
border: none;
outline: none;
padding: 10px;
}
.main > button {
width: 19%;
padding: 10px;
border-radius: 9px;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
-ms-border-radius: 9px;
-o-border-radius: 9px;
color: white;
background-color: red;
cursor: pointer;
}
.main input,
.main > button {
height: 40%;
margin-top: 10px;
border: none;
outline: none;
}
.task {
width: 99%;
padding: 10px;
background-color: #eee;
border-radius: 9px;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
-ms-border-radius: 9px;
-o-border-radius: 9px;
margin: 5px 0;
display: flex;
justify-content: space-between;
}
.task > button {
border-radius: 9px;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
-ms-border-radius: 9px;
-o-border-radius: 9px;
color: white;
text-align: center;
padding: 5px;
background-color: red;
border: none;
outline: none;
cursor: pointer;
}