-
Notifications
You must be signed in to change notification settings - Fork 0
/
todos.css
85 lines (73 loc) · 1.43 KB
/
todos.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
body {
font-family: 'Poiret One', cursive;
background: #000000; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #3C1537, #000000); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #3C1537, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
h1 {
background: #17D7C1;
color: white;
margin: 0;
padding: 10px 20px;
text-transform: uppercase;
font-size: 28px;
}
ul {
list-style: none;
margin: 0;
padding: 0;
font-size: 18px;
font-weight: 700;
}
li {
background: #fff;
height: 40px;
line-height: 40px;
}
li:nth-child(2n) {
background: #f7f7f7;
}
span {
background: #B11A1A;
height: 40px;
margin-right: 20px;
text-align: center;
font-size: 20px;
color: white;
width: 0;
display: inline-block;
transition: 0.2s linear;
opacity: 0;
}
li:hover span {
width: 40px;
opacity: 1;
}
input {
font-size: 18px;
color: #17D7C1;
background: #f7f7f7;
width: 100%;
padding: 13px 13px 13px 20px;
box-sizing: border-box;
border: 3px solid rgba(0,0,0,0);
display: none;
}
input:focus {
background: #fff;
border: 3px solid #17D7C1;
outline: none;
}
#container {
width: 550px;
margin: 100px auto;
background: #f7f7f7;
box-shadow: 8px 5px 5px rgba(6,6,6, .8);
}
.completed {
color: gray;
text-decoration: line-through;
}
.fa-pencil-square-o {
float: right;
}