-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (91 loc) · 1.42 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
height: 100vh;
background: #03dfff;
background: linear-gradient(139deg,#03ddffcb 0%,#ff0381b6 90%);
}
.container{
position: relative;
max-width: 800px;
padding: 10px;
margin: 50px auto;
}
.addTask{
width: 100%;
display: flex;
padding: 10px 0;
}
.addTask > input[type="text"]{
width: 90%;
color: #333;
border:none;
border-bottom: 2px solid #666;
background: none;
padding: 10px;
font-size: 22px;
outline: none;
}
.addTask button{
margin: 0 10px;
background: #222;
color: #fff;
font-size: 18px;
text-transform: uppercase;
padding: 10px;
border: none;
outline: none;
border-radius: 5px;
cursor: pointer;
}
.notCompleted, .Completed{
margin: 5px 0;
padding: 20px;
}
h3{
font-size: 28px;
text-transform: uppercase;
text-align: center;
color: #fff;
}
ol{
list-style: none;
counter-reset: my-counter;
}
ol li{
width: 100%;
padding: 18px;
margin: 5px 0;
background: #e96969bb;
font-size: 22px;
counter-increment: my-counter;
}
ol.Completed li{
background: #00ff62;
}
ol li::before{
content: counter(my-counter);
background: #231381;
width: 2rem;
height: 2rem;
border-radius: 50%;
display: inline-block;
line-height: 2rem;
text-align: center;
color: #fff;
margin-right: 0.5rem;
}
li button{
float: right;
padding: 5px;
font-size: 28px;
line-height: 28px;
margin-right: 15px;
background: none;
border: none;
outline: none;
cursor: pointer;
}