-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
126 lines (107 loc) · 1.91 KB
/
main.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
/* Starting css */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Roboto", sans-serif;
}
body {
margin-top: 50px;
background-color: #352f5b;
color: #fff;
}
/* Todo List CSS */
.container {
width: 800px;
margin: 0 auto;
text-align: center;
}
.container h1 {
margin-bottom: 25px;
font-size: 2.6rem;
}
.show-box {
border: 1px solid #fff;
border-radius: 5px;
margin-top: 20px;
height: 350px;
overflow-y: scroll;
}
.show-box::-webkit-scrollbar {
width: 6px;
}
/* Track */
.show-box::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
.show-box::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
.show-box::-webkit-scrollbar-thumb:hover {
background: #555;
}
.input-box {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
.input-box input {
color: #fff;
border: none;
background: rgba(0, 0, 0, 0.2);
padding: 14px 24px;
font-size: 1.4rem;
border-radius: 5px;
}
.input-box button {
font-size: 1.4rem;
padding: 14px 20px;
border: none;
border-radius: 5px;
}
ol {
width: 600px;
margin: 0 auto;
padding: 30px 20px;
display: flex;
align-items: center;
flex-direction: column;
gap: 10px;
}
ol li {
background: #423a6f;
border-radius: 20px;
color: #fff;
text-align: left;
width: 100%;
padding: 20px;
font-size: 1.4rem;
display: flex;
justify-content: space-between;
gap: 10px;
}
ol li .btn-container {
display: flex;
align-items: center;
gap: 16px;
}
ol li .btn-container button {
background: #fff;
border: none;
padding: 10px 20px;
border-radius: 20px;
cursor: pointer;
}
ol li input {
padding: 0 10px;
}
/* footer Style */
footer {
margin-top: 30px;
font-size: 1.2rem;
text-align: center;
}